Skip to main content

squirrelmail

SquirrelMail with Lighttpd

Prerequisites

Lighttpd Configuration

Edit your lighttpd.conf and add an alias for your Squirrelmail install:

alias.url = (
"/webmail" => "/var/websites/webmail/squirrelmail",
)

SquirrelMail with Apache

Posted in

Apache Configuration

  • Directory on an existing webserver
    Edit /usr/local/apache2/conf/httpd.conf to give access to Squirrelmail at http://<yourserver>/squirrelmail:
    Alias /squirrelmail /var/websites/mail/htdocs
    <Directory /var/websites/mail/htdocs>
      Options Indexes
      AllowOverride none
      DirectoryIndex index.php
      Order allow,deny
      allow from all
    </Directory>

  • Virtual Host setup

Updating Squirrelmail

Posted in

Updating SquirrelMail
Move the current install:

cd /var/websites/mail/htdocs
mv squirrelmail squirrelmail.bak

Move the new version into your web root:
mv /extra/src/squirrelmail-<version> squirrelmail

Change the permissions in the new install:
chown -R nobody:nobody squirrelmail

qmailadmin_login

Rather than having to remember the long URL, your users can access qmailadmin through SquirrelMail with the qmailadmin_login plugin.

Installation
Download the plugin:

cd /var/websites/webmail/squirrelmail/plugins
wget http://www.squirrelmail.org/plugins/qmailadmin_login-1.1-1.4.3.tar.gz
tar zxvf qmailadmin_login-1.1-1.4.3.tar.gz

Enable it in the Squirrelmail config:
/var/websites/webmail/squirrelmail/config/conf.pl

The login to qmailadmin can be found in Squirrelmail as Account Administration in the Options menu.

SquirrelMail

SquirrelMail is a standards-based webmail package written in PHP. 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.

Prerequisites

  • Web server
  • PHP 4.1.0 or higher
    For better performance, it is recommended that PHP be compiled with gettext support (--with-gettext)
    If you are going to use an LDAP addressbook, PHP needs to be compiled for LDAP (--with-ldap)
  • IMAP server which supports IMAP 4 rev 1.

Installation

Syndicate content