I’m encountering issue which I think I may have caused myself.
My server restarted yesterday and dovecot didn’t restart, so I foolishly messed with a setting or two in an attempt to fix.
Long story short, I managed to get it back up and running however I can’t connect with any mail clients.
What I did is change the “SSL Certficiate File” and “SSL Private Key File” to default without taking note of whatever was already in there.
The error in the log is this:
imap-login: Error: Failed to initialize SSL server context: Can’t load SSL certificate: There is no valid PEM certificate.
So I’m guessing I’ve taken away where it specified the PEM certificate.
My question is, how can I retrieve whatever was in those Certificate boxes and put them back?