Sieve Plugins for Squirrelmail

Avelsieve or Sieve Mail Filters Plugin for SquirrelMail is a ​Squirrelmail ​plugin for creating ​Sieve scripts on a Sieve-compliant mail server.

Download the latest source:

cd /extra/src
wget http://email.uoa.gr/download/squirrelmail/avelsieve/avelsieve-1.9.9.tar.gz
tar zxf avelsieve-1.9.9.tar.gz

Move the plugin to the SquirrelMail plugin folder:

mv avelsieve /var/websites/mail/htdocs/squirrelmail/plugins/
chown -R nobody:nobody /var/websites/mail/htdocs/squirrelmail/plugins/avelsieve

Copy the sample config file:

cd /var/websites/mail/htdocs/squirrelmail/plugins/avelsieve/config
cp config_sample.php config.php

SquirrelMail with Lighttpd


Lighttpd Configuration

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

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

SquirrelMail with Apache

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
  • Virtual Host setup


Updating Squirrelmail

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



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

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:


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


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.


  • 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.


Subscribe to RSS - squirrelmail

Recent Updates

  • 1 year 1 month ago
  • 1 year 1 month ago
  • 1 year 1 month ago
    php 8.x
  • 1 year 1 month ago
  • 1 year 1 month ago
    Drop Centos 5/6 stuff