I have created a distribution of Squirrelmail and upgraded it to the latest stable version of Squirrelmail currently, SquirrelMail version 1.4.3-RC1.
If you are using Cpanel's version of Squirrelmail, you will notice they are STILL using an old, outdated and vulnarable version of Squirrelmail. :rolleyes: Their version is 1.4.0.
This is version 1.4.3-RC1.
This release contains a number of bug fixes, minor user interface tweaks, and some XSS fixes.
By following this howto, you can update your version of Cpanel's Squirrelmail to the latest version. I have removed the restrictions imposted by Cpanel and that is the inability of being able to add Plugins.
With this version, you may install as many plugins as you wish. Once you install my modified version visit http://www.squirrelmail.org/ and install all the plugins you want!.
In addition my modified version adds the following;
* Ability to add as many plugins as you want. Make sure those plugins are compatible with 1.4.3.
* Includes plugin ASKUSERINFO and modified by me that forces users to enter their Username and Reply-TO-Email address if they haven't.
* Completely replaces Cpanels version of Squirrelmail and allows your users to run the latest (STABLE RELEASE).
* Works with or without open_basedir protection.
* Works exactly that same as the older version but gives you the latest version.
* Does not disturb your users existing data files.
The installation takes 10min.
SSH2 to your server. You are using SSH2 aren't you?
Copy and paste the following commands to your command line then press enter.
cd /usr/local/cpanel/base/3rdparty
mv squirrelmail squirrelmail_cpanels_version
wget http://cvf.net/modded_cpanel-sqmail-1.4.3-RC1.tar
tar -xvf modded_cpanel-sqmail-1.4.3-RC1.tar
Installation is now complete.
Load Squirrelmail from the control panel. Make sure its enabled via the tweaks option in WHM if you want to use it. Make sure the initial login is 1.4.3-RC1 when logging into Squirrelmail.
To add plugins, download the plugin to /usr/local/cpanel/base/3rdparty/squirrelmail/plugins and configure it according to the docs.
To install a plugin for use with Squirrelmail, cd /usr/local/cpanel/base/3rdparty/squirrelmail and run ./configure to add the new plugin to Squirrelmail.
Save, load, test then rejoice!
To prevent Cpanel updates from ruining your installation:
cd /usr/local/cpanel/base/3rdparty
chattr +i squirrelmail
If something gets screwed up and you want to revert back to the old Cpanel version, not likely, simply;
rm -rf squirrelmail
mv squirrelmail_cpanels_version squirrelmail
-EOF