postfix and no worthy mechs found
Today I configured postfix on my unbutu machine to test some improvements sending out mails to a smtp mail server.
I followed this introductions:
http://wiki.ubuntuusers.de/Postfix
My smtp server / relayhost needs an authentification. So I configured my main.cf with the following smtp params:
smtp_sasl_auth_enable = yes
# noplaintext weglassen, wenn Passwörter im Klartext übertragen werden müssen:
# (nicht empfohlen, nur wenn's anders nicht funktioniert)
smtp_sasl_security_options = noplaintext noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
But now I received the following error message on my mail.log
Feb 28 00:25:44 xxx postfix/smtp[8756]: warning: SASL authentication failure: No worthy mechs found
Feb 28 00:25:44 xxx postfix/smtp[8756]: 2794717E510: to=<xxa@xx.com>, relay=www.xxx.com[xxxxxxx]:25, delay=21, delays=0.05/0.01/21/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server xxx[xxx]: no mechanism available)
To solve this problem I found this thread:
http://www.zimbra.com/forums/installation/1240-cannot-sasl-authenticate-server.html
So the solution for me was to set the following two smtp params to an empty string:
smtp_sasl_security_options =
smtp_sasl_mechanism_filter =
smtp_use_tls = no
Now postfix works fine and is able to send out mails to my relayhost.
Posted at 10:37PM Feb 27, 2009
Posted by: Ralph
Category: General
Not sure if it is of any help now and if it makes a significant difference, but I had a very similar problem and only setting the security options to
smtp_sasl_security_options = noanonymoussolved it. Mechanism filter and no tls were not required.
Gesendet von Sebastian am April 16, 2010 at 05:01 AM GMT #