The Book of IMAP: Building a Mail Server with Courier and Cyrus, by Peer Heinlein and Peer Hartleben, is a quality resource for any serious mail administrator. The approach taken is direct, but at the same time it's very expansive, setting this book apart from most others I have read. It's packed full of rich examples which are used to solidify the topic being covered. At several places the authors reach out to explain when the subject is addressing ambiguous or otherwise undocumented information which is to great advantage to the reader and worthy of recognition.
Member since:
2005-07-06
There already are imap servers that use databases,
one of them is archiveopteryx http://www.archiveopteryx.org/
It uses Postgresql for backend storage, this means that you can make use of the extremly quick Postgresql full text search engine to search your mail.