Generate .pem file
To secure a imap/pop3 mailserver with an SSL certificate you’ll need to configure an SSL certificate.
If you have a certificate request and a certificate file, you can covert them to a .pem file.
cat domain.key domain.crt > domain.pem openssl gendh >> domain.pem
You can use the generated domain.pem to secure your mailserver.