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
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
1. Download the squirrelmail-postfixadmin plugin.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
2. Double click the downloaded file to launch the Archive Manager.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
3. Click the Extract button to launch the Extract window.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
4. Change the destination folder by clicking on Desktop. In the popup menu, select Other….
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
5. Click the notepad button and in the Location field type in /usr/share/squirrelmail/plugins/ and click Open.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
6. Click the Extract button to start extracting.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
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.
Clik here to view.

Configure the SquirrelMail Postfix Admin Plugin
Image may be NSFW.
Clik here to view.
If you are not actually using Postfix Admin, make sure you have configured the domain in SquirrelMail.
Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
1. From a Terminal window, type in /usr/share/squirrelmail/config/conf.pl and press Enter. This will launch the SquirrelMail Configuration utility.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
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.
Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
2. Type in 8 and press Enter to list the Plugins submenu.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
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.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
4. Type in the command below to install the required dependency for this plugin.
Clik here to view.

Clik here to view.

yum install php-pear-MDB2-Driver-mysql
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Clik here to view.

Clik here to view.

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']
Image may be NSFW.
Clik here to view.
The settings $AllowForwarding and $AllowChangePass can be set to true only if you are using Postfix Admin to manage your Postfix mail server.
Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
6. Login to SquirrelMail and click Options, you should now see the new Auto Response section.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
7. Congratulations, it works.
Clik here to view.

Clik here to view.

Image may be NSFW.
Clik here to view.
The plugin only sets the vacation message of the user, Postfix has to be configured to handle vacation messages.
Clik here to view.
