Installing SquirrelMail

SquirrelMail is a popular PHP-based webmail interface with MIME support, address books and folder management.

Installing the software

Download the latest SquirrelMail package from the SquirrelMail Download Page, and unpack it into your preferred, web-accessible location. Also, you must create the SquirrelMail data directories (we'll use $HOME/.squirrelmail):

  $ cd ~/www/mydomain.ext
  $ tar -xzf squirrelmail-webmail-*.tar.gz
  $ mv squirrelmail-webmail-* mymail
  $ mkdir -m 700 ~/.squirrelmail
  $ mkdir ~/.squirrelmail/data
  $ mkdir ~/.squirrelmail/attach

SquirrelMail provides a nice menu-based configuration script:

  $ ./configure

Configure at least the following parameters:

  • Server Settings / Domain: mydomain.ext
  • Server Settings / Sendmail or SMTP: Sendmail
  • Server Settings / IMAP Settings / IMAP Server:
  • Server Settings / IMAP Settings / IMAP Server:
  • General Options / Data Directory: /home/yourname/.squirrelmail/data
  • General Options / Data Directory: /home/yourname/.squirrelmail/attach

Substitute mydomain.ext for your domain name, yourname for your username, and for your actual mail server address. Use "Q" to exit and save the configuration.

Testing the installation

You can now browse to http://mydomain.ext/mymail (or, preferably https://mydomain.ext/mymail if you have SSL service), log in either as yourself or any mailbox account you have configured on the server.

© 2024 CubeSoft Communications
All Rights Reserved.