Dbmail 2.2.1 review

by rbytes.net on

Dbmail is the name of a group of programs that enable the possiblilty of storing and retrieving mail messages from a database

License: GPL (GNU General Public License)
File size: 828K
Developer: Dbmail Team
0 stars award from rbytes.net

Dbmail is the name of a group of programs that enable the possiblilty of storing and retrieving mail messages from a database. Currently PostgreSQL and MySQL can be used as database backends.

The upcoming version 2.2 that is under development also supports SQLite, an embedded SQL database system, and ldap for storing userdata. Development and support of dbmail is done by IC&S and NFG, two Dutch companies specializing in Linux development and support.

Here are some key features of "Dbmail":

Dbmail is as scalable as the database system that is used for the mail storage. In theory millions of accounts can be managed using dbmail. One could, for example, run 4 different servers with the pop3 daemon each connecting to the same database (cluster) server.


Dbmail is based upon a database. Dbmail can be managed by changing settings in the database (f.e. using PHP/Perl/SQL), without needing shell access.


Dbmail uses very efficient, database specific queries for retrieving mail information. This is much faster then parsing a filesystem.


Dbmail has got nothing to do with the filesystem or interaction with other programs in the Unix environment which need special permissions. Dbmail is as secure as the database it's based upon.


Changes on a Dbmail system (adding of users, changing passwords etc.) are effective immediately.

How does it work?

DBMail is made up of several components. A normal MTA (Postfix, SendMail, QMail, Exim) is used for accepting messages. The MTA hands the messages over to dbmail-smtp, using a pipe interface, or dbmail-lmtpd, using LMTP (Local Mail Transport Protocol). These programs take care of delivering the message into the database. Messages can be retreived from the database using dbmail-pop3d, using the POP3 protocol, and dbmail-imapd, using the IMAP4Rev1 protocol.

The whole email is stored in the database. That includes attachments. The DBMail programs do not have to touch the filesystem to retreive or insert emails. User information is also stored in the database, so users do not need an account on the machines DBMail is running on.

What's New in This Release:
· Loadable database, authentication, and Sieve sorting modules were added.
· The SQLite database is supported.
· Server side IMAP sorting and searching was highly optimized.
· Performance was dramatically improved all around.
· Version 2.2.0 had a small but serious bug in handling non-blocking sockets, so 2.2.1 fixes this.

Dbmail 2.2.1 search tags