project: d.r.e.a.m

This documentation is no longer maintained. It may be out of date, or simply wrong. I will leave it online, as long as it think it may still be useful.

In most of my installations, courier imap has been replaced by bincimap. Thus, this document is no longer maintained. This document was valid when used with courier-imap 1.7.1, and should work with newer versions.

courier & daemontools mini HOWTO

Thanks to Reto Schuettel, he showed me that newer versions of courier-imap need a file called AUTHUSER in the ./env/ directory with the content "/tmp" to run correctly.

The courier-imap package (made by inter7) is one of the most popular IMAP4 / POP3 Servers that support Maildir-style Mailspools. It supports more than one authentication method's ( enables you to use system & virtualusers on the same POP3/IMAP4 Service ). Altough, their startup system was far to complicated for me. I wanted to run this service under daemontools, using tcpserver and not couriertcpd. Plain POP3 and IMAP4 worked with some minimal runscripts, but SSL was far more difficult.

Requirements for this setup:

plain pop3 and imap4

I won't go into details about installing any of the required software above.
Setting up plain pop3 and imap4 is pretty simple, because you don't need to generate ssl certificates.

SSL secured pop3 and imap4

This one needed a bit more of work, because couriertls expected some enviroment variables to be set

If you have any questions or suggestions don't hesitate to contact me.

This document public domain.