mua related (pop, imap, webmail, etc) home : internet : mail : toaster : FAQ : mua related (pop, imap, webmail, etc) : squirrelmail sqwebmail

Squirrelmail - web site

Squirrelmail is a very attractive and usable web mail client. It's very configurable and there's tons of plug-ins available to customize it like crazy. A couple of my favorite plugins are the SpamAssassin per-user prefs and quota plugins. Squirrelmail is highly recommended.

How do I configure squirrelmail?

  • cd /usr/local/www/squirrelmail
  • ./configure

How do I use Squirrelmail SQL preferences?

Set install_squirrelmail_sql in toaster-watcher.conf and run -s squirrelmail. That will install Squirrelmail (if necessary) and configure the MySQL database and tables. The only other thing required is to add the path to pear-DB to php.ini. Edit /usr/local/etc/php.ini and set:

  • include_path = ".:/usr/local/share/pear"

How do I get squirrelmail authentication logging to work?

Squirrelmail doesn't log anything by default. You need to fix this by installing the logging plugin available from The author of that plugin very gratiously added support for syslog logging (per our email exchange) as of version 1.4. I make the following change to the setup.php file:

  • [matt@cadillac] % diff setup.php setup.php.dist
  • 32c32
  • < $sl_syslog_priority = 22; // Default is LOG_INFO
  • ---
  • > $sl_syslog_priority = LOG_INFO; // Default LOG_INFO

and voila, webmail logins are now logged via syslog.mail.

Last modified on 4/28/05.