DBMail is an open-source project that enables storage of mail messages in a relational database.
Currently MySQL, PostgreSQL and SQLite can be used as storage backends.
Commercial development and support is also available.
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-deliver, using a pipe interface, or to dbmail-lmtpd, using LMTP (Local Mail Transport Protocol).
These programs take care of injecting the message into the database. Messages can be retreived from the database using dbmail-pop3d, using the POP3 protocol, or dbmail-imapd, using the IMAP4Rev1 protocol.
Emails are stored in the database. This includes attachments. User information is also stored in the database, so users do not need a system account on machines DBMail is running on.
DBMail is primarily developed and tested on the GNU Linux and FreeBSD platforms. Users have also reported successfull deployments on OpenSolaris, NetBSD and OSX.
DBMail is released under the GNU Public Licence (version 2).
m src/dbmail-imapsession.c m src/imap4.c m src/server.c [wip] reduce data races
m src/pop3.c m test-scripts/testpop.py fix small pop3 error
m src/dm_cidr.c m src/dm_cidr.h m src/dm_misc.c make cidr type opaque
m VERSION m debian/changelog tag and bump version 2.2.15
m dbmail-message.c m pipe.c stress-testing lmtp fixes a couple of segfaults during delivery
m dbmail-message.c m pipe.c defensive cleanups