Penguin
Note: You are viewing an old revision of this page. View the current version.

SSL

Courier IMAPd expects the public and the private key in the same file ie:

-----BEGIN RSA PRIVATE KEY-----
 <snip>
 -----END RSA PRIVATE KEY-----
 -----BEGIN CERTIFICATE-----
 <snip>
 -----END CERTIFICATE-----

If you don't do this it will say:

Aug  3 00:11:03 hoiho imapd-ssl: starttls: /usr/lib/courier/imapd.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line

NFS mounted maildirs

If you have multiple machines running courier-imap and your maildirs are stored on an NFS mount, read this:

# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent
# multiple access to the same folder.  This incurs slight additional
# overhead.  Concurrent multiple access will still work without this setting,
# however occasionally a minor race condition may result in an IMAP client
# downloading the same message twice, or a keyword update will fail.
#
# IMAP_USELOCKS=1 is strongly recommended when shared folders are used.

If you don't, you'll find that when the same user connects at the same time, on different frontends, the aforementioned race condition will happen. It's a good way to eat 3M/s between the machine that lost the race and the NFS filer as it sits there looking for a file which the other machine has nuked.


CategoryMailNotes