I am trying to download email via courier imap to a client pop3 account with a valid self-signed ssl certificate. I have followed instructions at https://help.ubuntu.com/community/OpenSSL
for the browser certificate and http://jonsview.com/2008/07/14/setting-up-email-services-on-ubuntu-hardy-using-postfix-and-courier
for the mail certificate.
The EvolutionSMTP.p12 file that I import into my client email account shows all the wrong information! When I try to download email, the certificate warning tells me the signature is bad - it's an automatically generated issue from NY that expires in 2019. The certificate I generated expires in 2014 and it's from my state (not NY; I should probably reduce it from 1825 days to expire in 365 but it's not working anyway).
I copied EvolutionSMTP.p12 from /etc/postfix/ssl where I generated it to my home folder on the server, scp'd the file to my laptop and then imported it into my email client, after clearing the client-generated db files in .evolution. However the certificate that appears in my Evolution client doesn't correspond to the certificate I created (wrong issuer and expiration date). I've tried following the steps in the above urls several times, the latest with a new password that is accepted, but still the email certificate that is displayed is auto-generated. What to do?