I prefer to provide an IMAP server instead of a POP3 server for my users. It makes it a lot easier to provide web based mail-services if you use an IMAP server. Courier has one of the best IMAP servers available. By the way, you can use this server for POP3 as well and run both servers concurrently, how to do this is discussed when we go configuring. You can find the software at it’s home-page. Make sure you download the correct package from the download page.
When you’ve downloaded the software extract the source archive into a directory where we can compile it. Start a Terminal session and go into the directory you just extracted the software in and follow the instructions. First to make sure we don’t get any compiler errors you have to set this parameter:
This will prevent compiler errors, if you didn’t issue this command as the first one you will get an error saying :
Next configure the make files with the authentication modules you just created and build the executables:
When the compilation is finished you can install the software:
If this is a new install you can create fresh configuration files by issuing: