ECM Mail Server System for OSX Server 10.2.8* (Jaguar Only)

SqWebMail 3.6.2

This package contains the SqWebMail webmail CGI. It is substantially faster then SquirrelMail and can be installed in addition to, side by side. This CGI is used by the CourierIMAP mail server to provide webmail access to local mailboxes. SqWebMail is provided here as a separate package that can be used with other mail servers as well.

Download SqWebMail 3.6.2 and install the package. (Build instruction)

open -e /private/etc/httpd/httpd.conf

add the following line to wherever the aliases are:

Alias /sqwebmail_images/ "/usr/share/sqwebmail/images/"

sudo apachectl graceful restart

If you already installed courierIMAP from the ECM package, you can just copy the configuration file with this command:

cp /usr/local/lib/courier-imap/etc/authmysqlrc /usr/share/sqwebmail

Restart your computer and point your browser to any of your domains:

http://your.com/cgi-bin/sqwebmail

Starting and stopping manually:

/usr/share/sqwebmail/libexec/sqwebmail/sqwebmaild start
/usr/share/sqwebmail/libexec/authlib/authdaemond start
/usr/share/sqwebmail/libexec/authlib/authdaemond stop
/usr/share/sqwebmail/libexec/sqwebmail/sqwebmaild stop

If you want to add calendar capabilities, just create this file:

echo "local" >/usr/share/sqwebmail/calendarmode

/usr/share/sqwebmail/nochangingfrom - if this file exists (it can be a 0-length dummy file), SqWebMail will not allow the From: header to be changed, it will always have its default value.

/usr/share/sqwebmail/usexsender - if this file exists (it can be a 0-length dummy file), SqWebMail will attach an X-Sender: header to all outgoing messages. This can be used in the event you would like to be able to modify the From: header, yet also be able to track sent mail to the original account. Although your mail server should records the id of the sending user in the headers of outgoing messages, this is not possible when you have many virtual accounts that share the same system userid.

/usr/share/sqwebmail/noimages - if this file exists then no images or icons will be used. The generated interface will be a text-only interface.

You MUST add a periodic cron job to run the cleancache.pl script in order to delete stale cache records from the cache directory. (/usr/share/sqwebmail/cleancache.pl)

The files are installed to /usr/share/sqwebmail. You can customize many html files or through the style sheet at /usr/share/sqwebmail/images/sqwebmail.css.


—by George Szekely