This is an old revision of the document!
We chose Courier IMAP as our mail access agent (MAA) because it is easy to configure and maintain. It supports the IMAP4 and POP3 protocols, allowing mail user agents (MUAs) to get their email from the mail server. As the name suggests, IMAP is the primary protocol. IMAP has many advantages over POP; chief among them is support for folders, and keeping the emails on the server.
We (Jeff Muse and Craig Buchek mainly) chose Courier IMAP, as it's much easier to configure and maintain than Cyrus. Plus, there's good documentation on setting it up to work with Postfix at http://workaround.org/articles/ispmail-sarge and other sites.
(See this article for a description of all the pieces involved in email delivery.)
We need to install several pieces of the Courier email system. First, some pre-requisites:
apt-get install libfam0c102 courier-base courier-ssl courier-authdaemon
When asked if you want to use configuration directories, answer Yes.
Install the IMAP pieces, and the POP pieces:
apt-get install courier-imap courier-imap-ssl apt-get install courier-pop courier-pop-ssl
Install the recommended packages and documentation:
apt-get install courier-doc
Don't forget to create /etc/courier/pop3d.pem
and /etc/courier/imapd.pem
SSL certificates.
cp /usr/lib/courier/*.pem /etc/courier/
NOTE: I'm not sure this is correct, or if we should create certificates with openssl
.
TODO.
TODO.
TODO.