Skip navigation

SSL_accept error & lost connection after STARTTLS

880 Views 1 Reply Latest reply: Nov 30, 2012 4:22 AM by MaLu_Swe RSS
MaLu_Swe Calculating status...
Currently Being Moderated
Nov 22, 2012 2:50 AM

Last year I configured a Lion Server with mail and everything has worked flawlessly.

A month ago I installed a Thawte certificate on the mail server so iPhone and MacBook users could access mail outside of the network.


Everything seems to be working perfect for all services, except for SMTP. When some, too many but far from all, mail servers try to deliver mail to the domain, they fail. I've configured mail services to USE (not require) the Thawte certificate on SMTP.

Kerberos and CRAM-MD5 are also configured for SMTP.


Among these mail servers who is failing are Microsoft Office 365 servers, they can't deliver mail.

In the SMTP log it says "postfix/smtpd SSL_accept error from".


The log reads:

Nov 22 11:07:26 macsrv postfix/postfix-script[79366]: refreshing the Postfix mail system

Nov 22 11:07:26 macsrv postfix/master[79340]: reload -- version 2.8.4, configuration /etc/postfix

Nov 22 11:08:32 macsrv postfix/postscreen[79394]: CONNECT from []:26867

Nov 22 11:08:38 macsrv postfix/postscreen[79394]: PASS NEW []:26867

Nov 22 11:08:38 macsrv postfix/smtpd[79396]: connect from[]

Nov 22 11:08:38 macsrv postfix/smtpd[79396]: SSL_accept error from[]: -1

Nov 22 11:08:38 macsrv postfix/smtpd[79396]: lost connection after STARTTLS from[]

Nov 22 11:08:38 macsrv postfix/smtpd[79396]: disconnect from[]



The SMTP port and mail submission is open in the firewall.


Are there anyone who has a clue on how to get the SMTP service in OS X Lion to work with a certificate?

Mac mini, OS X Server


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.