[Postfixbuch-users] cannot SASL authenticate to server (mal wieder)

Patrick Ben Koetter p at state-of-mind.de
Di Sep 13 13:40:35 CEST 2005


* Daniel Schulz <dlsz at gmx.net>:
> ich habe schon x Sachen und Lösungen über das Problem gelesen, doch
> keine hat bei mir etwas gebracht. Ich möchte, dass mein Postfix über
> smtp.1und1.de Mails verschickt, doch kommt dabei jedes mal diese
> Fehlermeldung:
> 
> 
> Sep 13 13:02:03 server cyrus/imapd[1824]: seen_db: user daniel opened /var/lib/cyrus/user/d/daniel.seen
> Sep 13 13:02:03 server postfix/smtp[1823]: warning: SASL authentication failure: No worthy mechs found
> Sep 13 13:02:03 server postfix/smtp[1823]: 1DC5BE6054: Authentication failed: cannot SASL authenticate to server smtp.1und1.de[212.227.15.167]: no mechanism available
> Sep 13 13:02:03 server postfix/smtp[1823]: warning: SASL authentication failure: No worthy mechs found
> Sep 13 13:02:03 server postfix/smtp[1823]: 1DC5BE6054: to=<user at andere-domain.de>, relay=smtp.1und1.de[212.227.15.183], delay=0, status=deferred (Authentication failed: cannot SASL authenticate to server smtp.1und1.de[212.227.15.183]: no mechanism available)
> 
> 
> Ich habe jetzt folgende Einstellungen, in der main.cf:
> 
> relayhost = smtp.1und1.de
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/saslpass
> smtp_sasl_security_options = noanonymous
> smtp_sasl_mechanism_filter = plain, login

$ telnet smtp.1und1.de 25
Trying 212.227.15.167...
Connected to smtp.1und1.de (212.227.15.167).
Escape character is '^]'.
220 smtp.1und1.de (mrelayeu2) Welcome to Nemesis ESMTP server
EHLO foo
250-mrelayeu2.kundenserver.de pleased to meet you
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-PIPELINING
250-8BITMIME
250-SIZE 20971520
250 HELP
QUIT
221 smtp.1und1.de Bye
Connection closed by foreign host.

Also relayhost stimmt und die smtp_sasl_security_options auch.
Den Parameter smtp_sasl_mechanism_filter kannst Du weglassen, weil der Server
eh nur PLAIN LOGIN anbietet.

> in der /etc/postfix/saslpass:
> 
> smtp.1und1.de user:passwort
> 
> Die saslpass.db habe ich mit:
> 
> postmap hash:/etc/postfix/saslpass
> 
> erstellt. Trotzdem kommt immer die selbe Fehlermeldung. Jemand eine
> Idee, wo noch was falsch ist?
> 
> Mein System ist ein Debian Testing. Postfix hat die Version 2.2.4.

Ich tippe mal darauf, dass Du libsasl.* installiert hast, aber keine
Mechanismen. Zeig mal /usr/lib/sasl2.

p at rick


-- 
Das »Postfix«-Buch
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



Mehr Informationen über die Mailingliste Postfixbuch-users