petarpetrovic wrote:
No, I'm not using StartCom's certificate. I'm currently using a certificate that came with Postfix/Dovecot. But as I said, I am planning to buy a certificate from some CA, because Apple Mail doesn't work anymore with any settings.
That's probably your issue.
While testing a new mailserver setup I used a self-signed cert. Most mail apps would present a "do you want to accept this certificate?" dialog. iPhone mail would just spin until timeout, then give a generic "connection failed" message.
Once I installed a real cert, iPhone mail worked fine.
You only need one cert, put it somewhere (e.g., /etc/ssl/certs) and reference it in Dovecot and Postfix.
If you buy a ~$10 cert like StartSSL, make sure you chain it.
Use the SMTP submission port, 587. I've tested it with a wide variety of mail apps from Outlook Express to iPhone, and every one auto-detects it just fine -- assuming of course that your configuration is correct
