Using your self-signed certificate with Microsoft Outlook

I’ve been running my own IMAP server for quite a long time now. Shortly after starting to use it I sopenssl pkcs12 -export -in smtpd.crt -inkey smtpd.key -out OutlookSMTP.p12