Mail server: ISP requires SSL for SMTP
Hi there,
while this question arises from time to time, I have not been able to find a solution.
I've set up a clean ML (10.8.2) an d OS X Server (2.1) and activated the mail service. My ISP requires me to authenticate with username and password, encryting the connection in SSL. But there is no switch to say use SSL in the Server app.
I can not send outgoing mails, the mail log says:
Sep 26 19:44:46 server.foo.net postfix/cleanup[13775]: 165B479538: message-id=<9B8A81E5-3F2C-43CB-BD27-53A24443B17F@foo.net>
Sep 26 19:44:46 server.foo.net postfix/qmgr[13691]: 165B479538: from=<alice@foo.net>, size=964, nrcpt=1 (queue active)
Sep 26 19:44:46 server.foo.net postfix/smtp[13776]: C53907951C: to=<bob@somewhere.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.33, delays=0.01/0.02/0.01/0.29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 165B479538)
Sep 26 19:44:46 server.foo.net postfix/qmgr[13691]: C53907951C: removed
Sep 26 19:44:46 server.foo.net postfix/smtp[13782]: warning: SASL authentication failure: No worthy mechs found
Sep 26 19:44:46 server.foo.net postfix/smtp[13782]: 165B479538: to=<bob@somewhere.net>, relay=smtp.somewhere.net[xx.xx.xxx.xx]:25, delay=0.12, delays=0/0.02/0.09/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.somewhere.net[xx.xx.xxx.xx]: no mechanism available)
Even after changing /private/etc/postfix/main.cf and restarting mail server it is still the same. My changes in main.cf
smtp_sasl_tls_security_options =
smtp_sasl_mechanism_filter = plain, login
smtp_sasl_password_maps = hash:/etc/postfix/sasl-passwords
Also tried smtp_sasl_tls_security_options = noanonymous doesn't help. Of cause sasl-passwords has been created and run through postmap.
Kind regards,
Carsten
OS X Server