- A working hMailServer installation
A working web server with support for PHP 4 -- Being derived from the stable branch of SquirrelMail, this script is not compatible with PHP 5. See SquirrelMailRequirements for more info. -- PHP 5 is now supported -- see below...
- /config/config.php -- line 110 needs to be changed.
IMAP folders have been configured for Microsoft Outlook and Outlook Express users. Deleted Items, Sent Items and Drafts will be automatically created when a user logs into SM for the first time. See lines 281-325 for more information. Mozilla Thunderbird users will probably prefer a different configuration.
/data/default_pref has been customized -- if you don't like it, the original is located at /data/default_pref.orig (the attributes set in /data/default_pref are copied to all new users the first time they log into SM).
/data/login_alias.pref can allow customized usernames. This is especially useful if you want to eliminate the "@domain.com" during the login process. An example has been commented out in the file.
/locale/timezones.cfg -- Due to a bug in SquirrelMail, an alternate /locale/timezones.cfg has been added. The original is located at /locale/timezones.cfg.orig
/plugins -- the following plugins are included:
hmailserver_changepass [from hMS v3.4.1-B86]
hmailserver_vacation [from hMS v3.4.1-B86]
html_mail (updated with SM 1.4.5 release)
In hindsight, I probably should have originally included this in the notes:
hMS Plugins -- as noted above, this script comes with the Vacation Message and Change Password plug-ins pre-installed. They are from version 3.4.1-B86. They should be backwards-compatible with prior versions of hMS to an extent, but if you're running a newer version, especially v4, it is recommend that you 'refresh' all hMS plug-ins after installing this mod. Simply copy ../hMailServer/Addons/Squirrelmail Plugins/* on top of the existing directories and files in ../plugins/ -- don't forget to repeat this step whenever you upgrade hMS.
Added "Requirements" section...
I am pleased to announce that the Alternate SM Mod has been updated. Based on SquirrelMail 1.4.5, it is highly recommend that you replace your current version with this update, for many vulnerabilites have been addressed; and the fact that this release supports PHP 5 makes it superior to the prior package.
SMTP AUTH is now enabled by default.
The HTML Mail plug-in has been added and is preconfigured to work out of the box.
Vacation Message and Change Password plug-ins have been taken from hMailServer version 4.0-B125. As always, it is recommended that you refresh these plug-ins.
As before, you will need to modify line 110 in /config/config.php for new installs
Since there are vulnerabilites in the older version, I will no longer make it available. The new version of this mod can be downloaded from the same place(s) as the original in 7-Zip (1,078,715 bytes) or Zip (2,399,841 bytes) format. Here are the MD5 checksums:
- f42c2fcbfcc703b98affce346b8655fa *hms_squirrelmail.7z
Now the this package is enjoying more widespread use, it has come to my attention that some users have been automatically logged out when composing a message. This will apparently only happen if it takes longer than 10 minutes to compose a message. I'm not sure if it's a bug in the plug-in or not, but I think it shouldn't be happening during composition. You can either disable the "timeout_user" plug-in by commenting out the plug-in itself in /config/config.php or you can adjust its settings in /plugins/timeout_user/config.php. I will either disable it or change the timeout to 30 minutes in the next version. Let me know what you think.