Mail access: Courier-IMAP

Table of Contents

Configuration
SSL configuration

Configuration

by ross at 07:23:02 on October 28, 2011

Install:

# cd /usr/ports/mail/courier-imap
# make install clean
# rehash

Options for courier-imap:

  • Check TRASHQUOTA

Edit /usr/local/etc/authlib/authdaemonrc, set authmodulelist to authpam.

diff -u /usr/local/etc/authlib/authdaemonrc.dist /usr/local/etc/authlib/authdaemonrc

--- /usr/local/etc/authlib/authdaemonrc.dist    2008-11-22 11:31:44.000000000 +0200
+++ /usr/local/etc/authlib/authdaemonrc 2008-11-22 11:50:35.000000000 +0200
@@ -24,7 +24,8 @@
 # by removing them from the following list.  The available modules you
 # can use are: authuserdb authvchkpw authpam authldap authmysql authpgsql

-authmodulelist="authuserdb authvchkpw authpam authldap authmysql authpgsql"
+#authmodulelist="authuserdb authvchkpw authpam authldap authmysql authpgsql"
+authmodulelist="authpam"

 ##NAME: authmodulelistorig:3
 #

Edit /etc/rc.conf:

courier_authdaemond_enable="YES"
courier_imap_pop3d_enable="YES"
courier_imap_imapd_enable="YES"

Start courier:

# service courier-authdaemond start
# service courier-imap-pop3d start
# service courier-imap-imapd start

Courier-IMAP works with mailboxes in Maildir format. A mailbox should be created before user can check mail.

 

Comments