Adding a Squirrelmail plugin is relatively simple. This sample installs the "change_sqlpass" plugin (which requires the "compat" (or compatibility) plugin. First copy the necessary plugins to the server you are installing them onto. A command like:
Depending on how it's installed, you need to assume the correct user to configure the plugin.
On Ubuntu, you need to change to the following directory:
Then execute the following command:
Detemine which version of SquirrelMail you are running (looking at the login page will help). I'm using Ubuntu version 1.4.10a, so I patch using v1.4. Now I can install compatibility using the following command:
# cd /usr/share/squirrelmail/plugins/compatibility/ # patch -p0 < patches/compatibility_patch-1.4.10.diff
After this, configure SquirrelMail.
Go to #8 (Plugins) and install change_sqlpass. (NOTE: I also need to update the plugins/change_sqlpass/config.php file with the appropriate parameters to allow it to update the database.)