The SquirrelMail Postfix Admin Plugin will allow your users to change their Vacation, Password and Forwarding settings if you are using Postfix Admin to administer your Postfix mail server. If you are not using Postfix Admin, you can still install and use it along with this plugin to use its vacation notification feature.
Install the SquirrelMail Postfix Admin Plugin

1. Download the squirrelmail-postfixadmin plugin.
5. Click the notepad button and in the Location field type in /usr/share/squirrelmail/plugins/ and click Open.
The SquirrelMail PostfixAdmin archive has to be extracted directly into the SquirrelMail plugin directory to enable Linux to apply the proper SELinux Context into the files.Configure the SquirrelMail Postfix Admin Plugin
If you are not actually using Postfix Admin, make sure you have configured the domain in SquirrelMail.
1. From a Terminal window, type in /usr/share/squirrelmail/config/conf.pl and press Enter. This will launch the SquirrelMail Configuration utility.
If your Terminal window has a white background, make sure that the colors are off by looking for the command Turn color on. If the command is Turn color off, type in C and press Enter to turn the colors off. This will ensure that you will be able to read all of the text.
3. Install the postfixadmin plugin by typing in the number corresponding to it and press Enter. When you are done, type in q and press Enter to quit then type in y and press Enter to save your changes.
4. Type in the command below to install the required dependency for this plugin.
yum install php-pear-MDB2-Driver-mysql


5. In the /usr/share/squirrelmail/plugins/postfixadmin directory, copy the file config.php.sample and save it as config.php. Edit config.php and set the items below to the same values as your PostfixAdmin configuration.
$CONF['database_host'] $CONF['database_user'] $CONF['database_password'] $CONF['database_name']
The settings $AllowForwarding and $AllowChangePass can be set to true only if you are using Postfix Admin to manage your Postfix mail server.
The plugin only sets the vacation message of the user, Postfix has to be configured to handle vacation messages.Visit the forum to ask for help or to give a comment.
***
Posted on 7/11/2009 and last updated on 8/11/2011
Filed under SquirrelMail







August 27th, 2009 at 1:15 pm
Dear sir,
when i click the autoresponse it shows the following errror for this what can i do? could you help me?
ERROR: Invalid query: MDB2 Error: connect failed
connect: [Error message: Access denied for user 'postfix'@'asiaalloys.autoshellcbe.com' (using password: YES)] [Native code: 1045] [Native message: Access denied for user
'postfix'@'asiaalloys.autoshellcbe.com' (using password: YES)] – SQL : SELECT * FROM vacation WHERE email=? AND active = ?
August 27th, 2009 at 3:26 pm
Hi saravanakumar,
Make sure to specify the correct user name and password to your MySQL server.
August 31st, 2009 at 4:31 pm
Dear sir,
When i change the user password it shows “You didn’t supply your current password!”, but I’m sure that I’ve typed the correct password, please help me.
August 31st, 2009 at 4:54 pm
Nervermind sir, when I change the encrypt type in …/plugins/postfixadmin/config.php line 16, it work fine now.