Welcome back to the daily emailing setup on Debian… :»

The default private key for the courier IMAP server is for localhost, whiwh will issue warnings in the mail client. To generate a new (self signed) private key, you need to do this:

  • rm /etc/courier/imapd.pem (or back it up)
  • edir /etc/courier/imap.cnf and at least put the right value into CN=
  • mkimapdcert which will generate a new key, but in the wrong place!
  • mv /usr/lib/courier/imapd.pem /etc/courier/
  • chown root imapd.pem

I wonder when this is gonna end…


Comments from long ago:

Comment from: adam

Your tip worked for me running courier on Ubuntu 8.04, thanks a million!

2009-05-02 02-54

Comment from: Thorsten

After all this time still worth a million.

2012-08-12 12-33