Postfix, Courier-Imap, Mail.app, and Certificates
By Daniel Miessler on February 20th, 2007: Tagged as Courier | Email | Linux | Postfix | Sysadmin
I just finished getting Mail.app to recognize two seperate SSL certs from my server — one for imap.dmiessler.com, and another for smtp.dmiessler.com. This was less than trivial (mostly due to my own stupidity).
What this means is that I can finally use real domain names in my certificates (self-signed) for two separate hostnames while avoiding the annoying prompts that OS X likes to throw when it senses tomfoolery.
Here are the steps:
- Create your Postfix certificates the way Weitse wants you to, using your SMTP hostname.
- Import both the CA cert and your actual Postfix certificate into OS X.
- For IMAP, edit your imapd.cnf file to reflect your IMAP hostname, etc.
- Run
mkimapdcert. - Import that certificate into OS X.
It’s on my list of things to research, but for now I’m just happy I got it working exactly as I want it.
--

No Comments »
RSS Feed For This Post...
This Post's TrackBack URI
Leave a Comment...