DBMail IMAP and POP3 server
From Wikipedia, the free encyclopedia
| DBMail IMAP and POP3 server | |
|---|---|
| Developed by | NFG Net Facilities Group and others |
| Latest release | 2.2.10 / 2008-03-24 |
| Preview release | 2.3.2 / 2008-02-09 |
| OS | Cross-platform |
| Genre | Mail Delivery Agent |
| License | GNU General Public License |
| Website | http://www.dbmail.org/ |
The DBMail IMAP and POP3 is a fast, scalable IMAP4 and POP3 server that stores all email and users in a Postgresql, MySQL or SQLite database.
Contents |
[edit] 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 DBMail for message delivery using either a pipe interface, or LMTP (Local Mail Transport Protocol). DBMail then takes care of delivering the message into the database. Messages can be retrieved from the database by any common Mail User Agent using the POP3 protocol or IMAP4 protocol.
[edit] Features
[edit] Database driven
The whole email is stored in the database, including attachments. The DBMail programs do not have to touch the filesystem to retrieve or insert emails. User information is also stored in the database (or in LDAP), so users do not need an account on the machines DBMail is running on.
DBMail currently supports:
[edit] LDAP integration
DBMail features full LDAP integration for both user authentication (login/password validation) and for user configuration (mail addresses and mail forwarding). Active Directory is supported.
LDAP is the industry standard for unified user management and authentication, spanning multiple application domains across multiple sites. By integrating DBmail with LDAP, email user and alias management can be performed easily and transparently from within the chosen LDAP user management environment.
[edit] Sieve filtering
The DBMail server supports server-side mail filtering through the implementation of a mail filtering language called Sieve, derived from the Cyrus IMAP implementation. Users can set up and manage complex filtering rules to sort email into folders.
[edit] Advantages
The database driven design gives the server large advantages in scalability, manageability, speed, security and flexibility.
- Scalability
- 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.
- Manageability
- 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 Administrator (DBMA), the independently developed Web front end for DBMail, provides a scalable, menu-driven interface for administering e-mail; user accounts; global configs; sending & fetching email and more.
- Speed
- Dbmail uses very efficient, database specific queries for retrieving mail information. This is much faster than parsing a filesystem. On PostgreSQL, there should be a further benefit where message bodies are transparently compressed and stored in a side table, with various performance improvements, via the TOAST feature.
- Security
- 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.
- Flexibility.
- Changes on a Dbmail system (adding of users, changing passwords etc.) are effective immediately.
[edit] History
DBMail was originally developed by IC&S. Early 2005, NFG took over the project.

