SquirrelMail HOWTO

Install SquirrelMail:

aptitude install squirrelmail

Configure SquirrelMail:

squirrelmail-configure

If you configure a dedicated vhost for SquirrlMail (perhaps with SSL enabled) be sure to add the following:

        ##########################
        # SQUIRRELMAIL DIRECTORY #
        ##########################
        <Directory /usr/share/squirrelmail>
          Options Indexes FollowSymLinks
          <IfModule mod_php4.c>
            php_flag register_globals off
          </IfModule>
          <IfModule mod_php5.c>
            php_flag register_globals off
          </IfModule>
          <IfModule mod_dir.c>
            DirectoryIndex index.php
          </IfModule>

          # access to configtest is limited by default to prevent information leak
          <Files configtest.php>
            order deny,allow
            deny from all
            allow from 127.0.0.1
          </Files>
        </Directory>