Configuring Courier IMAP with your maildir

Next step is configuring the IMAP part of our mail server. I’m choosing IMAP over POP3 because it will enable me to easy setup an web based mail service for users who don’t have access to their personal e-mail client, another benefit is that you can use any computer with a mail client to access all your mail. A downside to this solution is that all the users mail will be located on my server, my Mac mini came with a 80 Gb harddisk and that is very sufficient for the amount of users I have currently, but it is also very easy to add a USB or Firewire drive to your Mac mini and then storage space is no issue.

The configuration files for Courier IMAP daemons are located in /usr/local/etc/ and the file to edit at this step is imapd as we have chosen to locate the mailboxes in a different location. Change the last line in the file or download it from the bottom of the page:

MAILDIRPATH=Maildir

into

MAILDIRPATH=/usr/local/virtual

 

Resources:
imapd

2 Responses to “Configuring Courier IMAP with your maildir”

  1. Dave Says:

    It would be very nice if you could give some hints on howto enable pop3/pop3s, too. :)

  2. Richard5 Says:

    @Dave: Edit the pop3d file in /usr/local/etc/ with the same parameters and do that all the other pop3 stuff. Just look at the docs for imap and replace imap with pop3.

    It’s that easy !