SF.net SVN: postfixadmin:[827] branches/postfixadmin-2.3
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2010-05-17 22:04:26
|
Revision: 827 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=827&view=rev Author: christian_boltz Date: 2010-05-17 22:04:17 +0000 (Mon, 17 May 2010) Log Message: ----------- more merging from trunk: - r800, r806, r821 - Squirrelmail Plugin (without the Zend framework) - remove old squirrelmail plugin - r817, r825 - ADDITIONS/cyrus Modified Paths: -------------- branches/postfixadmin-2.3/CHANGELOG.TXT Added Paths: ----------- branches/postfixadmin-2.3/ADDITIONS/cyrus/ branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/functions.inc.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/index.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/build.sh branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/po/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/po/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_changepass.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_forward.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_vacation.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/setup.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/version Removed Paths: ------------- branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf branches/postfixadmin-2.3/ADDITIONS/postfixadmin-0.3-1.4.tar.gz branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/functions.inc.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/index.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/build.sh branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/cs_CZ/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/da_DK/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/de_DE/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/hu_HU/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/it_IT/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/nl_NL/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pl_PL/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.mo branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/locale/pt_BR/LC_MESSAGES/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/po/ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/po/postfixadmin.po branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_changepass.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_forward.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/postfixadmin_vacation.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/setup.php branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/version Property Changed: ---------------- branches/postfixadmin-2.3/ Property changes on: branches/postfixadmin-2.3 ___________________________________________________________________ Added: svn:mergeinfo + /trunk:800,806,811,817,821,825 Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog =================================================================== --- trunk/ADDITIONS/cyrus/Changelog 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog 2010-05-17 22:04:17 UTC (rev 827) @@ -1,8 +0,0 @@ - -Version 0.1 -- 26/10/2009 ---------------------------- - - * Public Release. - * Postcreation, Postdeletion and Postedit hooks. - - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog (from rev 817, trunk/ADDITIONS/cyrus/Changelog) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/Changelog 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,8 @@ + +Version 0.1 -- 26/10/2009 +--------------------------- + + * Public Release. + * Postcreation, Postdeletion and Postedit hooks. + + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt =================================================================== --- trunk/ADDITIONS/cyrus/README-ES.txt 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -1,7 +0,0 @@ - -Configuración -------------- - - - Edita el fichero cyrus.conf y modifica las variables $cyrus_*. El usuario debe tener permisos sobre todas las cuentas. - - Edita los ficheros cyrus-*.pl y cambia la ruta de cyrus.conf (linea require '/path/to/cyrus.conf';) - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt (from rev 817, trunk/ADDITIONS/cyrus/README-ES.txt) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/README-ES.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,7 @@ + +Configuración +------------- + + - Edita el fichero cyrus.conf y modifica las variables $cyrus_*. El usuario debe tener permisos sobre todas las cuentas. + - Edita los ficheros cyrus-*.pl y cambia la ruta de cyrus.conf (linea require '/path/to/cyrus.conf';) + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt =================================================================== --- trunk/ADDITIONS/cyrus/README.txt 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -1,7 +0,0 @@ - -Configuration -------------- - - - Edit cyrus.conf and set $cyrus_* variables correctly. User must have permission over all accounts. - - Edit cyrus-*.pl and change path to cyrus.conf (require '/path/to/cyrus.conf'; line) - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt (from rev 817, trunk/ADDITIONS/cyrus/README.txt) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/README.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,7 @@ + +Configuration +------------- + + - Edit cyrus.conf and set $cyrus_* variables correctly. User must have permission over all accounts. + - Edit cyrus-*.pl and change path to cyrus.conf (require '/path/to/cyrus.conf'; line) + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl =================================================================== --- trunk/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -1,36 +0,0 @@ -#!/usr/bin/perl - -# Cyrus Mailbox creation -# -# Iñaki Rodriguez (iro...@vi... / iro...@ac...) -# -# LICENSE -# This source file is subject to the GPL license that is bundled with -# this package in the file LICENSE.TXT. -# -# (26/10/2009) - -use Cyrus::IMAP::Admin; -require '/var/www/postfixadmin/ADDITIONS/cyrus/cyrus.conf'; -use strict; -use vars qw($cyrus_user $cyrus_password $cyrus_host); - -my %opts; - -my $mailbox = mailbox_name($ARGV[0]); - -my $client = Cyrus::IMAP::Admin->new($cyrus_host); -die_on_error($client); - -$opts{-user} = $cyrus_user; -$opts{-password} = $cyrus_password; - -$client->authenticate(%opts); -die_on_error($client); - -$client->create($mailbox); -die_on_error($client); - -$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); -die_on_error($client); - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl (from rev 817, trunk/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postcreation.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,36 @@ +#!/usr/bin/perl + +# Cyrus Mailbox creation +# +# Iñaki Rodriguez (iro...@vi... / iro...@ac...) +# +# LICENSE +# This source file is subject to the GPL license that is bundled with +# this package in the file LICENSE.TXT. +# +# (26/10/2009) + +use Cyrus::IMAP::Admin; +require '/etc/mail/postfixadmin/cyrus.conf'; +use strict; +use vars qw($cyrus_user $cyrus_password $cyrus_host); + +my %opts; + +my $mailbox = mailbox_name($ARGV[0]); + +my $client = Cyrus::IMAP::Admin->new($cyrus_host); +die_on_error($client); + +$opts{-user} = $cyrus_user; +$opts{-password} = $cyrus_password; + +$client->authenticate(%opts); +die_on_error($client); + +$client->create($mailbox); +die_on_error($client); + +$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); +die_on_error($client); + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl =================================================================== --- trunk/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -1,37 +0,0 @@ -#!/usr/bin/perl - -# Cyrus Mailbox deletion -# -# Iñaki Rodriguez (iro...@vi... / iro...@ac...) -# -# LICENSE -# This source file is subject to the GPL license that is bundled with -# this package in the file LICENSE.TXT. -# -# (26/10/2009) - -use Cyrus::IMAP::Admin; -require '/var/www/postfixadmin/ADDITIONS/cyrus/cyrus.conf'; -use strict; -use vars qw($cyrus_user $cyrus_password $cyrus_host); - -my %opts; - - -my $mailbox = mailbox_name($ARGV[0]); - -my $client = Cyrus::IMAP::Admin->new($cyrus_host); -die_on_error($client); - -$opts{-user} = $cyrus_user; -$opts{-password} = $cyrus_password; - -$client->authenticate(%opts); -die_on_error($client); - -$client->setacl($mailbox,$cyrus_user => 'all'); -die_on_error($client); - -$client->deletemailbox($mailbox); -die_on_error($client); - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl (from rev 817, trunk/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postdelete.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,36 @@ +#!/usr/bin/perl + +# Cyrus Mailbox deletion +# +# Iñaki Rodriguez (iro...@vi... / iro...@ac...) +# +# LICENSE +# This source file is subject to the GPL license that is bundled with +# this package in the file LICENSE.TXT. +# +# (26/10/2009) + +use Cyrus::IMAP::Admin; +require '/etc/mail/postfixadmin/cyrus.conf'; +use strict; +use vars qw($cyrus_user $cyrus_password $cyrus_host); + +my %opts; + +my $mailbox = mailbox_name($ARGV[0]); + +my $client = Cyrus::IMAP::Admin->new($cyrus_host); +die_on_error($client); + +$opts{-user} = $cyrus_user; +$opts{-password} = $cyrus_password; + +$client->authenticate(%opts); +die_on_error($client); + +$client->setacl($mailbox,$cyrus_user => 'all'); +die_on_error($client); + +$client->deletemailbox($mailbox); +die_on_error($client); + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl =================================================================== --- trunk/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -1,34 +0,0 @@ -#!/usr/bin/perl - -# Cyrus Mailbox edition -# -# Iñaki Rodriguez (iro...@vi... / iro...@ac...) -# -# LICENSE -# This source file is subject to the GPL license that is bundled with -# this package in the file LICENSE.TXT. -# -# (26/10/2009) - -use Cyrus::IMAP::Admin; -require '/var/www/postfixadmin/ADDITIONS/cyrus/cyrus.conf'; -use strict; -use vars qw($cyrus_user $cyrus_password $cyrus_host); - -my %opts; - - -my $mailbox = mailbox_name($ARGV[0]); - -my $client = Cyrus::IMAP::Admin->new($cyrus_host); -die_on_error($client); - -$opts{-user} = $cyrus_user; -$opts{-password} = $cyrus_password; - -$client->authenticate(%opts); -die_on_error($client); - -$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); -die_on_error($client); - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl (from rev 817, trunk/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus-mailbox-postedit.pl 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,33 @@ +#!/usr/bin/perl + +# Cyrus Mailbox edition +# +# Iñaki Rodriguez (iro...@vi... / iro...@ac...) +# +# LICENSE +# This source file is subject to the GPL license that is bundled with +# this package in the file LICENSE.TXT. +# +# (26/10/2009) + +use Cyrus::IMAP::Admin; +require '/etc/mail/postfixadmin/cyrus.conf'; +use strict; +use vars qw($cyrus_user $cyrus_password $cyrus_host); + +my %opts; + +my $mailbox = mailbox_name($ARGV[0]); + +my $client = Cyrus::IMAP::Admin->new($cyrus_host); +die_on_error($client); + +$opts{-user} = $cyrus_user; +$opts{-password} = $cyrus_password; + +$client->authenticate(%opts); +die_on_error($client); + +$client->setquota($mailbox,'STORAGE',scalar $ARGV[3]) if ($ARGV[3] > 0); +die_on_error($client); + Deleted: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf =================================================================== --- trunk/ADDITIONS/cyrus/cyrus.conf 2010-03-24 14:07:20 UTC (rev 817) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf 2010-05-17 22:04:17 UTC (rev 827) @@ -1,31 +0,0 @@ -#!/usr/bin/perl - -# Config - -$cyrus_user = 'cyrus'; -$cyrus_password = 'cyruspass'; -$cyrus_host = 'localhost'; - -# unixhierarchysep => 1 (yes) / 0 (no) -$unixhierarchysep = 1; - -# Common routines - -sub mailbox_name { - my $mailbox = shift; - - if($unixhierarchysep) { - $mailbox = 'user/'.$ARGV[0]; - } else { - $mailbox = 'user.'.$ARGV[0]; - } - - return $mailbox; -} - -sub die_on_error { - my $cyradm = shift; - if($cyradm->error) { die $cyradm->error; } -} -1; - Copied: branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf (from rev 817, trunk/ADDITIONS/cyrus/cyrus.conf) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/cyrus/cyrus.conf 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +# Config + +$cyrus_user = 'cyrus'; +$cyrus_password = 'cyruspass'; +$cyrus_host = 'localhost'; + +# unixhierarchysep => 1 (yes) / 0 (no) +$unixhierarchysep = 1; + +# Common routines + +sub mailbox_name { + my $mailbox = shift; + + if($unixhierarchysep) { + $mailbox = 'user/'.$ARGV[0]; + } else { + $mailbox = 'user.'.$ARGV[0]; + } + + return $mailbox; +} + +sub die_on_error { + my $cyradm = shift; + if($cyradm->error) { die $cyradm->error; } +} +1; + Deleted: branches/postfixadmin-2.3/ADDITIONS/postfixadmin-0.3-1.4.tar.gz =================================================================== (Binary files differ) Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/INSTALL 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL 2010-05-17 22:04:17 UTC (rev 827) @@ -1,37 +0,0 @@ -Installing the postfixadmin Plugin -====================================== - -Requirements: -============= - - - PHP 5.2.x with php5-xmlrpc installed (if available; it should be available by default anyway) - - http access to a local/remote postfixadmin interface - - -Installation : -============== - -- Check out this code (svn co http://squirrelmail-postfixadmin.palepurple.co.uk/svn/trunk postfixadmin) - into the Squirrelmail plugins directory. - -- Edit config.php and specify the remote URL for the Postfixadmin XmlRpc service. There isn't much more to change. - -- Edit the remote Postfixadmin's XmlRpc service config file and ensure 'xmlrpc_enable' is set to boolean true. - -- Enable the plugin through 'squirrelmail-configure' or 'config/conf.pl'. - Choose option 8 and move the plugin from the "Available Plugins" - category to the "Installed Plugins" category. Save and exit. - - -Security : -========== - -- The XmlRpc client needs to get the user's mailbox password before it will be able to connect to the - XmlRpc server (postfixadmin). The plugin prompts the user for their mailbox password, and caches it in their session - ($_SESSION['password']). This password is then sent once on every page load to the remote XmlRpc server. - -- You should consider doing any of the following : - - - Using https if the server and client are on seperate servers. This will probably require a signed certificate etc, and may require changes to the Zend_XmlRpc_Client's HttpClient. - - Using something like stunnel to encrypt traffic between server(s). - Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/INSTALL) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/INSTALL 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,37 @@ +Installing the postfixadmin Plugin +====================================== + +Requirements: +============= + + - PHP 5.2.x with php5-xmlrpc installed (if available; it should be available by default anyway) + - http access to a local/remote postfixadmin interface + + +Installation : +============== + +- Check out this code (svn co http://squirrelmail-postfixadmin.palepurple.co.uk/svn/trunk postfixadmin) + into the Squirrelmail plugins directory. + +- Edit config.php and specify the remote URL for the Postfixadmin XmlRpc service. There isn't much more to change. + +- Edit the remote Postfixadmin's XmlRpc service config file and ensure 'xmlrpc_enable' is set to boolean true. + +- Enable the plugin through 'squirrelmail-configure' or 'config/conf.pl'. + Choose option 8 and move the plugin from the "Available Plugins" + category to the "Installed Plugins" category. Save and exit. + + +Security : +========== + +- The XmlRpc client needs to get the user's mailbox password before it will be able to connect to the + XmlRpc server (postfixadmin). The plugin prompts the user for their mailbox password, and caches it in their session + ($_SESSION['password']). This password is then sent once on every page load to the remote XmlRpc server. + +- You should consider doing any of the following : + + - Using https if the server and client are on seperate servers. This will probably require a signed certificate etc, and may require changes to the Zend_XmlRpc_Client's HttpClient. + - Using something like stunnel to encrypt traffic between server(s). + Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/LICENSE.txt 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -1,40 +0,0 @@ - -2007/03/29 : - Before I (David Goodwin) customised this plugin, it contained the following within all - files as a header. - - /**************************************************************************************** - - Author ......... Florian Kimmerl - Contact ........ in...@sp... - Home Site ...... http://www.spacekoeln.de/ - Program ........ postfixadmin - Purpose ........ Allows you to change your postfixadmin settings within squirrelmail - - ************************************************************************************* - - The Original Code is Postfix Admin. - The Initial Developer of the Original Code is Mischa Peters . - Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. - All Rights Reserved. - Contributor(s): - This project includes work by Mischa Peters and others that is: - Copyright (c) 2002,2003,2004 Mischa Peters - All rights reserved. - - ****************************************************************************************/ - - - Contacting the author provided no success, so I took over maintainership. - - Please note: - - 1) Changes made by myself (David Goodwin) will be licensed under the GPL - 2) PostfixAdmin has itself been relicensed under the GPL; however this took place _after_ - this plugin was written. - 3) Squirrelmail itself is released under http://squirrelmail.org/wiki/SquirrelMailGPL (GPL) - - -The GNU public license can be found online at : - - http://www.gnu.org/licenses/gpl.txt Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/LICENSE.txt) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/LICENSE.txt 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,40 @@ + +2007/03/29 : + Before I (David Goodwin) customised this plugin, it contained the following within all + files as a header. + + /**************************************************************************************** + + Author ......... Florian Kimmerl + Contact ........ in...@sp... + Home Site ...... http://www.spacekoeln.de/ + Program ........ postfixadmin + Purpose ........ Allows you to change your postfixadmin settings within squirrelmail + + ************************************************************************************* + + The Original Code is Postfix Admin. + The Initial Developer of the Original Code is Mischa Peters . + Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. + All Rights Reserved. + Contributor(s): + This project includes work by Mischa Peters and others that is: + Copyright (c) 2002,2003,2004 Mischa Peters + All rights reserved. + + ****************************************************************************************/ + + + Contacting the author provided no success, so I took over maintainership. + + Please note: + + 1) Changes made by myself (David Goodwin) will be licensed under the GPL + 2) PostfixAdmin has itself been relicensed under the GPL; however this took place _after_ + this plugin was written. + 3) Squirrelmail itself is released under http://squirrelmail.org/wiki/SquirrelMailGPL (GPL) + + +The GNU public license can be found online at : + + http://www.gnu.org/licenses/gpl.txt Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/README 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README 2010-05-17 22:04:17 UTC (rev 827) @@ -1,70 +0,0 @@ -Squirrelmail Plugin Postfixadmin -******************************** - -The Postfixadmin SquirrelMail plugin let users change their virtual alias, -vacation status/message and password if you are using the great postfixadmin -tool from http://high5.net/postfixadmin - -Version 0.4.3 2007/08/14 - -Postfixadmin - Postfixadmin+MySQL/PgSQL plugin for Squirrelmail - - -Author: Florian Kimmerl <in...@sp...> -Author: Sam Brookes <sam at pale purple.co.uk> - - Initial conversion to MDB2 - - Fix SQL Injections etc -Author: David Goodwin <david at pale purple.co.uk> - - Subsequent tidyup + testing etc -Author: Krzysztof 'Mad Max' Laska - <madmax at riders.pl> - - Polish Translation. - - - -The Initial Developer of the Original postfixadmin Code is Mischa Peters. -Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. -All Rights Reserved. - -REQUIREMENTS - -o SquirrelMail 1.4x - -o A working Mail-System "Virtual Domains and Users with postfix+Courier-IMAP+MySQL" (or PostgreSQL) See http://high5.net/howto/ - -o POSTFIXADMIN version 2.2.0 or higher. See http://sf.net/projects/postfixadmin - -o This plugin only uses the postfixadmin database - -o Pear MDB2 database abstraction layer - see http://pear.php.net - -o PHP installation with register globals TURNED OFF (huraren on IRC reports that the MDB2 driver isn't happy with it turned on) - -INSTALLATION - -See the included file INSTALL - -BUGS - -o Probably vulnerable to cross site scripting, certainly when setting the vacation message. - -o There may be some remaining SQL injection holes. - -TODO - --Code Cleanup --Tranlation - - -TRANSLATIONS - -Translations are welcome! Send the *.po-File to: da...@NO... - - -ACKNOWLEDGMENTS - -Thanks to the SquirrelMail team for building such a great app and -for all the work they do to keep it running. - -Thanks to high5.net for writing the great Postfixadmin tool - - Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/README) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/README 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,70 @@ +Squirrelmail Plugin Postfixadmin +******************************** + +The Postfixadmin SquirrelMail plugin let users change their virtual alias, +vacation status/message and password if you are using the great postfixadmin +tool from http://high5.net/postfixadmin + +Version 0.4.3 2007/08/14 + +Postfixadmin - Postfixadmin+MySQL/PgSQL plugin for Squirrelmail + + +Author: Florian Kimmerl <in...@sp...> +Author: Sam Brookes <sam at pale purple.co.uk> + - Initial conversion to MDB2 + - Fix SQL Injections etc +Author: David Goodwin <david at pale purple.co.uk> + - Subsequent tidyup + testing etc +Author: Krzysztof 'Mad Max' Laska - <madmax at riders.pl> + - Polish Translation. + + + +The Initial Developer of the Original postfixadmin Code is Mischa Peters. +Portions created by Mischa Peters are Copyright (c) 2002, 2003, 2004. +All Rights Reserved. + +REQUIREMENTS + +o SquirrelMail 1.4x + +o A working Mail-System "Virtual Domains and Users with postfix+Courier-IMAP+MySQL" (or PostgreSQL) See http://high5.net/howto/ + +o POSTFIXADMIN version 2.2.0 or higher. See http://sf.net/projects/postfixadmin + +o This plugin only uses the postfixadmin database + +o Pear MDB2 database abstraction layer - see http://pear.php.net + +o PHP installation with register globals TURNED OFF (huraren on IRC reports that the MDB2 driver isn't happy with it turned on) + +INSTALLATION + +See the included file INSTALL + +BUGS + +o Probably vulnerable to cross site scripting, certainly when setting the vacation message. + +o There may be some remaining SQL injection holes. + +TODO + +-Code Cleanup +-Tranlation + + +TRANSLATIONS + +Translations are welcome! Send the *.po-File to: da...@NO... + + +ACKNOWLEDGMENTS + +Thanks to the SquirrelMail team for building such a great app and +for all the work they do to keep it running. + +Thanks to high5.net for writing the great Postfixadmin tool + + Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/common.php 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php 2010-05-17 22:04:17 UTC (rev 827) @@ -1,39 +0,0 @@ -<?php -// vim:ts=4:sw=4:et -ini_set('include_path', get_include_path() . ':' . dirname(__FILE__)); -chdir(".."); - - -if (!defined('SM_PATH')) -{ - define('SM_PATH','../'); -} -include_once(SM_PATH . 'plugins/postfixadmin/config.php'); -include_once(SM_PATH . 'plugins/postfixadmin/functions.inc.php'); -include_if_exists(SM_PATH . 'include/validate.php'); -if (file_exists(SM_PATH . 'include/validate.php')) -{ - include_once(SM_PATH . 'include/validate.php'); -} -else { - include_if_exists(SM_PATH . 'src/validate.php'); -} -include_once(SM_PATH . 'functions/page_header.php'); -include_once(SM_PATH . 'functions/display_messages.php'); -include_once(SM_PATH . 'functions/imap.php'); -include_if_exists(SM_PATH . 'functions/array.php'); -if (file_exists(SM_PATH . 'src/load_prefs.php')) -{ - include_once(SM_PATH . 'src/load_prefs.php'); -} -else { - include_if_exists(SM_PATH . 'include/load_prefs.php'); -} -// overwrite squirrelmail's content type to utf8... -header("Content-Type: text/html; charset=utf8"); - - -//global $VACCONFMESSAGE; -bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); -textdomain('postfixadmin'); - Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/common.php) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/common.php 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,39 @@ +<?php +// vim:ts=4:sw=4:et +ini_set('include_path', get_include_path() . ':' . dirname(__FILE__)); +chdir(".."); + + +if (!defined('SM_PATH')) +{ + define('SM_PATH','../'); +} +include_once(SM_PATH . 'plugins/postfixadmin/config.php'); +include_once(SM_PATH . 'plugins/postfixadmin/functions.inc.php'); +include_if_exists(SM_PATH . 'include/validate.php'); +if (file_exists(SM_PATH . 'include/validate.php')) +{ + include_once(SM_PATH . 'include/validate.php'); +} +else { + include_if_exists(SM_PATH . 'src/validate.php'); +} +include_once(SM_PATH . 'functions/page_header.php'); +include_once(SM_PATH . 'functions/display_messages.php'); +include_once(SM_PATH . 'functions/imap.php'); +include_if_exists(SM_PATH . 'functions/array.php'); +if (file_exists(SM_PATH . 'src/load_prefs.php')) +{ + include_once(SM_PATH . 'src/load_prefs.php'); +} +else { + include_if_exists(SM_PATH . 'include/load_prefs.php'); +} +// overwrite squirrelmail's content type to utf8... +header("Content-Type: text/html; charset=utf8"); + + +//global $VACCONFMESSAGE; +bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); +textdomain('postfixadmin'); + Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/config.php.sample 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample 2010-05-17 22:04:17 UTC (rev 827) @@ -1,22 +0,0 @@ -<?php - -$CONF = array(); -$CONF['xmlrpc_url'] = 'http://postfixadmin.local/postfixadmin/xmlrpc.php'; - -// Virtual Vacation -// If you use virtual vacation for you mailbox users set this to 'true'. -// NOTE: Make sure that you install the vacation module!! - -//$AllowVacation = true; // true or false -global $AllowVacation; -$AllowVacation = true; - -// Change Password -// Enables user to change the POP3/IMAP Password. -//$AllowChangePass = true; // true or false -global $AllowChangePass; -$AllowChangePass = true; - -// Minimum password length - set to Zero to not care, otherwise the number of -// characters a password must be longer than. -$CONF['min_password_length'] = 5; Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/config.php.sample) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/config.php.sample 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,22 @@ +<?php + +$CONF = array(); +$CONF['xmlrpc_url'] = 'http://postfixadmin.local/postfixadmin/xmlrpc.php'; + +// Virtual Vacation +// If you use virtual vacation for you mailbox users set this to 'true'. +// NOTE: Make sure that you install the vacation module!! + +//$AllowVacation = true; // true or false +global $AllowVacation; +$AllowVacation = true; + +// Change Password +// Enables user to change the POP3/IMAP Password. +//$AllowChangePass = true; // true or false +global $AllowChangePass; +$AllowChangePass = true; + +// Minimum password length - set to Zero to not care, otherwise the number of +// characters a password must be longer than. +$CONF['min_password_length'] = 5; Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/README.Debian 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian 2010-05-17 22:04:17 UTC (rev 827) @@ -1,20 +0,0 @@ -Squirrelmail PostfixAdmin Plugin for Debian -=========================================== - -After installing the package, you will need to : - -1) Edit the config.inc.php file to point to the PostfixAdmin server. - -2) Ensure the xmlrpc interface is available and enabled on the Postfixadmin server - -3) Run the squirrelmail-configure script. - -Where to get help -================= - -See http://squirrelmail-postfixadmin.palepurple.co.uk - -Try also : david [at] pale purple dot co dot uk - -Or #postfixadmin on irc.freenode.net might be a good bet. - Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/README.Debian) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/README.Debian 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,20 @@ +Squirrelmail PostfixAdmin Plugin for Debian +=========================================== + +After installing the package, you will need to : + +1) Edit the config.inc.php file to point to the PostfixAdmin server. + +2) Ensure the xmlrpc interface is available and enabled on the Postfixadmin server + +3) Run the squirrelmail-configure script. + +Where to get help +================= + +See http://squirrelmail-postfixadmin.palepurple.co.uk + +Try also : david [at] pale purple dot co dot uk + +Or #postfixadmin on irc.freenode.net might be a good bet. + Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/changelog 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog 2010-05-17 22:04:17 UTC (rev 827) @@ -1,27 +0,0 @@ -squirrelmail-postfixadmin (2.3.0) stable; urgency=low - - * Using XMLRPC backend (no SQL here) - - -- David Goodwin <dav...@pa...> Mon, 01 Feb 2010 09:56:00 +0000 - -squirrelmail-postfixadmin (2.2.0) stable; urgency=low - - * Changed DB backend to use prepared statements - * Changed vacation handling to match that of Postfixadmin (vacation.active - etc) - * Changed vacation page to support UTF8 - - -- David Goodwin <dav...@pa...> Wed, 20 Aug 2008 15:25:00 +0000 - -squirrelmail-postfixadmin (2.1.1-1) stable; urgency=low - - * Add NL language support - * Better db error logging (e.g. if wrong mdb2 driver specified etc) - - -- David Goodwin <dav...@pa...> Wed, 12 Dec 2007 16:00:00 +0000 - -squirrelmail-postfixadmin (2.1.0-1) stable; urgency=low - - * Initial release. - - -- David Goodwin <dav...@pa...> Thu, 8 Nov 2007 20:00:00 +0000 Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/changelog) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/changelog 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,27 @@ +squirrelmail-postfixadmin (2.3.0) stable; urgency=low + + * Using XMLRPC backend (no SQL here) + + -- David Goodwin <dav...@pa...> Mon, 01 Feb 2010 09:56:00 +0000 + +squirrelmail-postfixadmin (2.2.0) stable; urgency=low + + * Changed DB backend to use prepared statements + * Changed vacation handling to match that of Postfixadmin (vacation.active + etc) + * Changed vacation page to support UTF8 + + -- David Goodwin <dav...@pa...> Wed, 20 Aug 2008 15:25:00 +0000 + +squirrelmail-postfixadmin (2.1.1-1) stable; urgency=low + + * Add NL language support + * Better db error logging (e.g. if wrong mdb2 driver specified etc) + + -- David Goodwin <dav...@pa...> Wed, 12 Dec 2007 16:00:00 +0000 + +squirrelmail-postfixadmin (2.1.0-1) stable; urgency=low + + * Initial release. + + -- David Goodwin <dav...@pa...> Thu, 8 Nov 2007 20:00:00 +0000 Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/conffiles 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles 2010-05-17 22:04:17 UTC (rev 827) @@ -1 +0,0 @@ -/etc/squirrelmail/plugins/postfixadmin-config.php Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/conffiles) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/conffiles 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1 @@ +/etc/squirrelmail/plugins/postfixadmin-config.php Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/control 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control 2010-05-17 22:04:17 UTC (rev 827) @@ -1,19 +0,0 @@ -Source: squirrelmail-postfixadmin -Section: mail -Priority: optional -Maintainer: David Goodwin <dav...@pa...> -Standards-Version: 3.6.1 - -Package: squirrelmail-postfixadmin -Architecture: all -Depends: squirrelmail, php-pear -Suggests: postfixadmin -Description: Plugin for Squirrelmail to integrate with Postfixadmin - Postfixadmin is a web based interface for managing mail domains - and users. This package integrates Squirrelmail with it. - Users can change their password, forwarding and vacation settings - from within Squirrelmail when this package is installed, and - enabled through the ./squirrelmail-configure command. - . - For further information see - http://squirrelmail-postfixadmin.palepurple.co.uk Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/control) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/control 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,19 @@ +Source: squirrelmail-postfixadmin +Section: mail +Priority: optional +Maintainer: David Goodwin <dav...@pa...> +Standards-Version: 3.6.1 + +Package: squirrelmail-postfixadmin +Architecture: all +Depends: squirrelmail, php-pear +Suggests: postfixadmin +Description: Plugin for Squirrelmail to integrate with Postfixadmin + Postfixadmin is a web based interface for managing mail domains + and users. This package integrates Squirrelmail with it. + Users can change their password, forwarding and vacation settings + from within Squirrelmail when this package is installed, and + enabled through the ./squirrelmail-configure command. + . + For further information see + http://squirrelmail-postfixadmin.palepurple.co.uk Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/copyright 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright 2010-05-17 22:04:17 UTC (rev 827) @@ -1,11 +0,0 @@ -This package was debianized by David Goodwin <da...@pa...> -2007/11/08 - -It was downloaded from: http://squirremail-postfixadmin.palepurple.co.uk - -Upstream Author(s): n/a - -Copyright: - Copyright (C) 2007+ by David Goodwin <da...@pa...> - -License: GPL v2+ Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/copyright) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/copyright 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,11 @@ +This package was debianized by David Goodwin <da...@pa...> +2007/11/08 + +It was downloaded from: http://squirremail-postfixadmin.palepurple.co.uk + +Upstream Author(s): n/a + +Copyright: + Copyright (C) 2007+ by David Goodwin <da...@pa...> + +License: GPL v2+ Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/docs 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs 2010-05-17 22:04:17 UTC (rev 827) @@ -1,4 +0,0 @@ -LICENSE.txt -README -INSTALL -debian/README.Debian Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/docs) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/docs 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,4 @@ +LICENSE.txt +README +INSTALL +debian/README.Debian Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/files 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files 2010-05-17 22:04:17 UTC (rev 827) @@ -1 +0,0 @@ -squirrelmail-postfixadmin_2.2.0_all.deb mail optional Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/files) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/files 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1 @@ +squirrelmail-postfixadmin_2.2.0_all.deb mail optional Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs 2010-05-17 22:04:17 UTC (rev 827) @@ -1,3 +0,0 @@ -usr/share/squirrelmail/plugins/postfixadmin -usr/share/doc/squirrelmail-postfixadmin -etc/squirrelmail/plugins Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postfixadmin-squirrelmail.dirs 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,3 @@ +usr/share/squirrelmail/plugins/postfixadmin +usr/share/doc/squirrelmail-postfixadmin +etc/squirrelmail/plugins Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/postinst 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst 2010-05-17 22:04:17 UTC (rev 827) @@ -1,5 +0,0 @@ -#!/bin/sh - -echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -echo "WARNING: You need to read /usr/share/doc/squirrelmail-postfixadmin/README.Debian!" -echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/postinst) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/postinst 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" +echo "WARNING: You need to read /usr/share/doc/squirrelmail-postfixadmin/README.Debian!" +echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/debian/rules 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules 2010-05-17 22:04:17 UTC (rev 827) @@ -1,56 +0,0 @@ -#!/usr/bin/make -f -# debian/rules makefile for squirrelmail - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -build: build-stamp -build-stamp: - dh_testdir - -clean: - dh_testdir - dh_testroot - dh_clean - -install: build - $(checkdir) - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - dh_install - mkdir -p debian/tmp/usr/share/squirrelmail/plugins/postfixadmin - cp -a *.php version debian/tmp/usr/share/squirrelmail/plugins/postfixadmin - cp -a locale debian/tmp/usr/share/squirrelmail/plugins/postfixadmin - cp -a po debian/tmp/usr/share/squirrelmail/plugins/postfixadmin - mkdir -p debian/tmp/etc/squirrelmail/plugins/ - cp -a *.sample debian/tmp/etc/squirrelmail/plugins/postfixadmin-config.php - mkdir -p debian/tmp/DEBIAN - cp debian/postinst debian/tmp/DEBIAN/postinst - chmod 555 debian/tmp/DEBIAN/postinst - ln -s /etc/squirrelmail/plugins/postfixadmin-config.php debian/tmp/usr/share/squirrelmail/plugins/postfixadmin/config.php - find debian/tmp -name .svn | xargs -r rm -r - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installdebconf - dh_installdocs -X.svn - dh_installexamples - dh_installman - dh_installcron - dh_link - dh_compress - dh_fixperms -X/var - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -binary-arch: - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install Copied: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules (from rev 800, trunk/ADDITIONS/squirrelmail-plugin/debian/rules) =================================================================== --- branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules (rev 0) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/debian/rules 2010-05-17 22:04:17 UTC (rev 827) @@ -0,0 +1,56 @@ +#!/usr/bin/make -f +# debian/rules makefile for squirrelmail + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + $(checkdir) + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + mkdir -p debian/tmp/usr/share/squirrelmail/plugins/postfixadmin + cp -a *.php version debian/tmp/usr/share/squirrelmail/plugins/postfixadmin + cp -a locale debian/tmp/usr/share/squirrelmail/plugins/postfixadmin + cp -a po debian/tmp/usr/share/squirrelmail/plugins/postfixadmin + mkdir -p debian/tmp/etc/squirrelmail/plugins/ + cp -a *.sample debian/tmp/etc/squirrelmail/plugins/postfixadmin-config.php + mkdir -p debian/tmp/DEBIAN + cp debian/postinst debian/tmp/DEBIAN/postinst + chmod 555 debian/tmp/DEBIAN/postinst + ln -s /etc/squirrelmail/plugins/postfixadmin-config.php debian/tmp/usr/share/squirrelmail/plugins/postfixadmin/config.php + find debian/tmp -name .svn | xargs -r rm -r + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdebconf + dh_installdocs -X.svn + dh_installexamples + dh_installman + dh_installcron + dh_link + dh_compress + dh_fixperms -X/var + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install Deleted: branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/functions.inc.php =================================================================== --- trunk/ADDITIONS/squirrelmail-plugin/functions.inc.php 2010-02-10 22:49:21 UTC (rev 800) +++ branches/postfixadmin-2.3/ADDITIONS/squirrelmail-plugin/functions.inc.php 2010-05-17 22:04:17 UTC (rev 827) @@ -1,101 +0,0 @@ -<?php -/** - * Postfixadmin (http://postfixadmin.sf.net) integration with Squirrelmail. - * See http://squirrelmail-postfixadmin.palepurple.co.uk - * @author David Goodwin and many others - */ - - -function do_header() { - global $color; - displayPageHeader($color, 'None'); -} - -function do_footer() { - echo "</body></html>"; -} - -function _display_password_form() { - bindtextdomain('postfixadmin', SM_PATH . 'plugins/postfixadmin/locale'); - textdomain('postfixadmin'); - do_header('Postfixadmin Squirrelmail - Login'); - echo _('The PostfixAdmin plugin needs your current mailbox password'); - echo "<form action='' method='post'>"; - echo _('Password for'); - echo " " . $_SESSION['username'] . " :"; - echo "<input type='password' name='password' value=''>"; - echo "<input type='submit' value='" . _('Submit') . "'></form>"; - do_footer(); -} - -/** - * This returns a Zend_XmlRpc_Client instance - unless we can't log you in... - */ -function get_xmlrpc() { - global $CONF; - require_once('Zend/XmlRpc/Client.php'); - $client = new Zend_XmlRpc_Client($CONF['xmlrpc_url']); - $http_client = $client->getHttpClient(); - $http_client->setCookieJar(); - - $login_object ... [truncated message content] |