ImapCourierSSLCertifcates
log in
check in /etc/courier/
delete /usr/lib/courier/imapd.pem and /etc/courier/imapd.pem
run mkimapdcert
symbolic link /usr/lib/courier/imapd.pem to /etc/courier/imapd.pem or the other way around