Please Note:

As of 04/04/2010, Tequila has found a new home at Loomsday Ltd.


Administration toolset for a Postfix mailserver: TEQUILA

Tool Equipment for Lazy Admins (people like me)

Some impressions for your imagination.... (english version, 2.2.12)

User account setup User webmail program (NeoMail)
Mail account management Mail aliases/lists management
Mail domain management Special account handling
Tequila administration Mail system status (queue, stats)

Supported Mail Server Combinations

Tequila is a toolset for administration tasks on a Postfix mail server.

The Tequila suite is written in the Perl programming language. It comes with its own, built-in web server, which handles all communication with the client browsers (completely SSL encrypted and transparently GZip-compressed).

Currently, Tequila supports three types of mail server software combinations:

  • Postfix & Vm-pop3d
  • Postfix & Cyrus-IMAP/SASL
  • Postfix & Courier-IMAP & OpenLDAP


Tequila allows you to perform the following tasks:

  • Create, edit and remove virtual mail domains.
  • Create/edit/remove mail accounts (POP3 and IMAP).
  • Create/edit/remove aliases to mail accounts and mail distribution lists.
  •  Virtual domain administration can be delegated to several domain admins.
  • Local domain admins may be confined to work within their own domains only.
  • Users can configure their automatic mail forwarding and out-of-the-office notifications when they are on leave.
  • Out-of-the-office / forwarding services can turn themselves on and off if required.
  • Email account passwords can be modified by the users themselves.
  • Users can choose their preferred language from the list of available choices.
  • Separate languages can be in use at the same time by the Tequila admin, the domain admins and the various users.
  • Tequila's on-screen messages can be translated online - no programming skills required.
  • SASL accounts/passwords are kept in sync with the Tequila accounts (SASL version 2).
  • Special mail accounts may be created to run arbitrary embedded backend scripts on incoming emails. Tequila ships with a "detachmail" script, which can split off specified attachments by name and transfer the recoded files to a ftp server. This also includes sending automatic status notifications to the sender and to a circle of ftp server admins.


  • Perl (

    Should be obviously (and already present on most systems).

  • Postfix (

    Postfix is a Mail Transport Agent (like Sendmail, Exim, Qmail and others).

    It has some nice, clean features for virtual domain declaration and is very flexible in managing different virtual domain files.
It is required that you use one of the following mailserver software combinations (either POP3 or IMAP) to deliver the emails to the mail account holders on your server:
      VM-Pop3d is a POP3 daemon, which can be used as a replacement for
      "qpopper" or similar programs. Use this little daemon and throw away your
      unix user accounts, which are nessesary for "normal" POP3 daemons.

      Instead, extract your old pop3 user accounts from the /etc/passwd file
      and store them under a virtual domain directory structure for use of

      Very easy to install/maintain if you simply need some (hundreds) pop3
      accounts, e.g. in your company.
This combination works in a fashion that postfix hands over incoming emails to cyrus-imap, which then stores the email in a maildir-style
directory. Cyrus then uses the SASL library to identify incoming requests
to access emails stored in these directories.

This is one of the possibilities to set up an IMAP based mail server, but one that is definitely more complex than a POP3 server variant.

With this combination it is possible to configure postfix to store incoming emails in a maildir-style directory tree, which is also used by the courier server to access these emails by the users. All relevant data for all parties is stored in a LDAP directory (accounts, aliases, passwords, etc.), which allows very fast access and can be also used by any other application, too.

This is a very interesting variant if you want to implement an IMAP mail
server, but is comes along with the disadvantage of the hardly to understand storage concept LDAP. Recommended only for experienced mail/system administrators!


  • Tequila, stable version 2.2.x (DOWNLOAD)

    For details regarding the Tequila evolution and the features of the Tequila 2.0 release, please see the file History and Changes.

    Or read the current and most comprehensive available documentation, here: Tequila Dokumentation. However, special questions may be covered separately in the document directory '~/docs' in the latest Tequila archive.

Don't hesitate to send email to the address below if you have further questions, wishes or ideas.