SquirrelMail is an open source standards-based webmail package written in PHP. When installed, SquirrelMail is ready out of the box. All it needs is an installed web server like Apache, SMTP server like Postfix, and IMAP server like Dovecot.

Installing SquirrelMail

yum install squirrelmail1. Install squirrelmail using the command below.
sudo apt-get install squirrelmail
squirrelmail configure apache2. Add SquirrelMail into Apache using the commands below.
sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail
sudo a2ensite squirrelmail
sudo service apache2 restart
Apache ServerName3. If you encounter an error regarding apache being not able to determine the server’s fully qualified domain name, then use the command below to fix it.
echo ServerName $HOSTNAME | sudo tee /etc/apache2/conf.d/servername
SquirrelMail Configuration4. Launch the SquirrelMail Configuration utility using the command below.
sudo squirrelmail-configure
SquirrelMail Configuration5. Type in D and press Enter to select the Set pre-defined settings for specific IMAP servers menu. Type in dovecot and press Enter. Save your changes when you are done.
NoteI recommend installing the Retrieve User Data plugin so the user’s name will appear whenever he or she sends an email in SquirrelMail.
SquirrelMail Login6. Launch your browser and type in http://mail.acme.local/squirrelmail. Replace mail.acme.local with your own server name. Type in a valid username and password and click Login.
SquirrelMail Inbox7. That’s it, it’s working.
NoteIf you encounter any problems, check the log file at /var/log/mail.log.

Related Pages


Visit the forum to ask for help or to give a comment.

Posted on 9/18/2011 and last updated on 9/18/2011
Filed under SquirrelMail , Ubuntu 10.04