Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking at postfix-mysql as per a tutorial as a mail database.

This is all well and good, while setting up the database, I realized that this doesn't quite meet my needs.

At least, it doesn't seem to; they're only using the database for a small part of the functionality.

What I'm looking for is to persist e-mails, in the form of javax.mail.Message's, to a database. It seems that, to my understanding, dbmail, which fits the requirements, won't work and I'm having trouble with James.

Postfix seems fine, provided that postfix-mysql can be made to work more like what dbmail does. However, that's looking less and less likely.

share|improve this question
Your MTA should be passing emails along as quickly as possible, not persisting them. –  Ignacio Vazquez-Abrams Aug 17 '12 at 7:43
ah, ok, so if it's not an MTA I'm after, then what would persist? Surely this is a solved problem..? –  Thufir Aug 17 '12 at 7:44
You need to find a MDA with a database message store. –  Ignacio Vazquez-Abrams Aug 17 '12 at 7:49
wiki.zimbra.com/wiki/Account_mailbox_database_structure looks promising, except that there's no 32bit version zimbra.com/downloads/os-downloads.html . –  Thufir Aug 17 '12 at 8:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.