Hi I need to build a front end a mail server and my experience is limited to Dovecot, which I believe doesn't have support for storing mails in databases. So just thinking how users will be interested in filtering mails for words or sorting mails based on time sent / received, sender, subject, etc it's probably easier to do this via SQL provided the mails are stored in database. So the question is has anyone setup Dovecot with say Oracle? And if there are other mail servers that has support for databases?
I'd avoid using a DB as a mailstore, instead have a look at the Lucene and Solr plugins for dovecot.
It's probably not possible with dovecot but their is the DBMail imap server that relies entirely on database backends mysql, postgresql or sqlite.