The following instructions explain how to install an SSL certificate in Courier IMAP.
The prerequisite is that SSL support has already been installed.
The certificate and the private key already exist on the server.
private key: /etc/courier/ssl/deinedomain.de.key
Log on to your server.
For Courier-IMAP it is necessary that the certificate and the private key are present in a file.
The following command is used for this:
Open the configuration file /etc/courier/imapd-ssl with any editor of your choice.
Insert the following line into the configuration:
Then save the configuration and close the editor.
Make sure that the certificate file has only minimal rights.
Restart the Courier IMAP service
Send an email