If you are using Linux system accounts as your mail accounts, you can install the change_passwd plugin to enable SquirrelMail to provide a password change utility using the background service poppassd to reliably and securely change a user’s password.
Install the SquirrelMail Change Password Plugin
should be installed on the same server where dovecot is installed. And if it is not on the same server as SquirrelMail, then open the poppassd port 106.
2. Connect to your SquirrelMail server and note down its version.
4. Extract the downloaded files and put them into the /usr/share/squirrelmail/plugins
The SquirrelMail Change Password and Compatibility archives has to be extracted directly into the SquirrelMail plugin directory to enable Linux to apply the proper SELinux Context into the files. See the SquirrelMail RetrieveUserData plugin
if you need help on how to do it.
5. From a Terminal window, type in /usr/share/squirrelmail/config/conf.pl
and press Enter
. This will launch the SquirrelMail Configuration
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.
6. Type in 8 and press Enter
to list the Plugins
7. Install the change_passwd
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.
8. If your version of SquirrelMail is not 1.4.13 and higher or 1.5.1 and higher, you need to patch your SquirrelMail source. Go to /usr/share/squirrelmail/plugins/compatibility
and apply the compatibility patch by typing in the commands below.
patch -p0 < patches/compatibility_patch-1.4.8.diff
with your SquirrelMail version.
9. In the /usr/share/squirrelmail/plugins/change_passwd
directory, copy the file config.php.sample
and save it as config.php
. Edit config.php
and review the default settings.
Below are settings in config.php you may wish to change
- $minimumPasswordLength - Minimum length of the password.
- $changePasswdInLogin - Change password from the login form.
Test the SquirrelMail Change Password
1. Login to SquirrelMail and go to the Options page. You should see the new Change Password
2. Click the Change Password
link to view the new Change Password page.
If you encounter a blank page, check the log file at /var/log/httpd/error_log
Visit the forum to ask for help or to give a comment.
Posted on 7/19/2009 and last updated on 4/22/2011
Filed under SquirrelMail