/*  UberLinux.org - Procedures - SquirrelMail */

Welcome to storm.uberlinux.org
Linux Mandrake release 7.0 (Air)
Kernel 2.2.14-15mdksecure on an i586


>Squirrelmail Web Based Email v1.4.8  www.squirrelmail.org

Kudos to the SquirrelMail development team. I am very pleased with this program. SquirrelMail is a standards-based webmail package written in PHP4. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install. SquirrelMail has all the functionality you would want from an email client, including strong MIME support, address books, and folder manipulation. This procedure outlines the installation and configuration of Squirelmail v1.4.8.

I followed the step by step QuickAndDirty and had everything installed in a matter of minutes with no issues. One note on this concerning the DocumentRoot install folder. I have 2 virtual domains I have set up in /www/uberlinux and /www/yeepa. I installed SquirrelMail in the uberlinux folder for mail at that domain. I did not research to see if there was a global way to handle mail across multiple domains or if SquirrelMail must be installed for each domain. If anyone has that information please email me.

The SquirrelMail configurations are pretty straight forward mail entries. Here is what I setup running the perl conf.pl command.

Server Settings


1. Domain                         :uberlinux.homelinux.org
2. Invert Time                   :false
3. Sendmail or SMTP      :SMTP

A. Update IMAP Settings     :uberlinux.homelinux.org:143 (other)
B. Update SMTP Settings    :smtp.central.cox.net:25          # my isp blocks outbound Port 25 traffic not routed through their server

The most common problem I have seen in forums is the use of IMAP. I looked into using CourierIMAP but it is designed for use with Maildirs. Since I do not have a large numbers of clients I had setup my Postfix mail server to run /var/spool/mail so Courier would not be a solution for me. I also looked into Cyrus   but it is intended to be run on sealed servers so I could not use that either. In the end I elected to go with IMAP4rev1 v12.264 which came bundled in my Linux software. I had to install IMAP since I did not when I setup my server. After installation I had to make a couple changes.

In the /etc/inetd.conf I had to uncomment the line:
imap      stream   tcp            nowait   root            /usr/sbin/tcpd    imapd

Use kill -hup inetdpid to reset inetd.

I added in /etc/hosts.allow.

Finally, If you are behind a router, make sure to open IMAP Port 143 to connections. I ran the ln -s squirrelmail-1.4.3a squirrelmail command in the uberlinux folder and entered www.uberlinux.org/squirrelmail in my web browser and there it was. Logged in, customized a bit and began mailing! One thing I did notice was that if I read mail through squirrelmail then I try to get that message in Outlook it doesn't show up. I will post a fix if I find one.

Last login: Thu July 17 16:06:33 from uberlinux.org
Hello. Welcome to Storm!
[chris@storm chris]$

home/    procedures/    stories/    archive/    links/    portfolio/    about/

Last Updated 11/05/2011

Copyright 2003-2011 uberlinux.org