PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit SMTP SASL Auth



HorusMS
17.09.05, 20:40
Hi, ich hab ein Problem mit meinem Mailserver. Der wurde mit Hilfe der Anleitung von workaround.org (www.workaround.org/articles/ispmail-sarge/)
Wenn ich mich jetzt von außerhalb am SMTP anmelden will, fragt mich der Mailclient immer wieder nach meinem Passwort, die mail.log gibt mir folgendes aus:

Sep 17 17:14:29 mail postfix/smtpd[30410]: connect from p508FE0DB.dip.t-dialin.net[80.143.224.219]
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: SASL authentication failure: no secret in database
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL CRAM-MD5 authentication failed
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: SASL authentication failure: Password verification failed
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL PLAIN authentication failed
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:32 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL LOGIN authentication failed
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: SASL authentication failure: no secret in database
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL CRAM-MD5 authentication failed
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: SASL authentication failure: Password verification failed
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL PLAIN authentication failed
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:35 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL LOGIN authentication failed
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: SASL authentication failure: no secret in database
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL CRAM-MD5 authentication failed
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: SASL authentication failure: Password verification failed
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL PLAIN authentication failed
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: SASL authentication problem: unknown password verifier
Sep 17 17:14:41 mail postfix/smtpd[30410]: warning: p508FE0DB.dip.t-dialin.net[80.143.224.219]: SASL LOGIN authentication failed
Sep 17 17:14:43 mail postfix/smtpd[30410]: lost connection after AUTH from p508FE0DB.dip.t-dialin.net[80.143.224.219]
Sep 17 17:14:43 mail postfix/smtpd[30410]: disconnect from p508FE0DB.dip.t-dialin.net[80.143.224.219]


Hat irgendwer ne Ahnung, was daran Schuld sein könnte? OS ist Ubuntu.

crazygeek
17.09.05, 20:49
kannst du mal deine sendmail.mc posten?

HorusMS
17.09.05, 20:55
wenn ich noch wüsste, wo ich die finde, ich mach das auch über postfix und nicht sendmail, bearbeitet habe ich die auf alle fälle nicht.

crazygeek
17.09.05, 22:48
sorry, postfix is net mein ding...

Reaper
10.10.06, 12:41
Hat schon jmd eine Lösung gefunden?
Habe das selbe Problem...

rkauskh
11.10.06, 11:01
Hi

Was sagt ein


sasldblistusers2

als root in der Konsole? Ist der entsprechende User angelegt?
Läuft der saslauthd?

Die erste Meldung mit "no secrets in database" deutet eher auf ersteres hin.

Reaper
11.10.06, 20:05
saslsblistusers2 sagt garnix und ob saslauthd läuft oder nicht macht keinen Unterschied.
So wie ich das verstanden habe geht das ganze auch nicht wie sasl als Dienst sondern nur über die sasl2-Bibliothek, siehe im Verlinkten Tutorial, die sasl/smtpd.conf:

pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: provider_admin
sql_passwd: ...
sql_database: provider
sql_select: select password from users where email='%u@%r'

mySQL version ist bei mir 4.1.1 statt 4.0, der Rest ist aktuellstes Debian stable..

meine Fehlermeldung lautet :

Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: warning: smtpd_peer_init: 80.81.23.xx: address not listed for hostname 80.81.23.xx-dial.xxx
Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: connect from unknown[80.81.23.xx]
Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: warning: SASL authentication failure: Password verification failed
Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: warning: unknown[80.81.23.xx] SASL PLAIN authentication failed
Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: lost connection after AUTH from unknown[80.81.23.xx]
Oct 11 20:02:20 vs9908 postfix/smtpd[24127]: disconnect from unknown[80.81.23.xx]

rkauskh
12.10.06, 09:44
Hi

Die erste Fehlermeldung bei dir sagt das Postfix ein Problem mit der Namensauflösung hat. Was steht in deiner resolv.conf? Ob das ursächlich für die nächsten Fehler ist, kann ich nicht sagen.
Warum verwendet ihr eigentlich mysql? Habt ihr so viele User/Accounts zu verwalten?

Reaper
12.10.06, 20:18
Habe es inzwischen lösen können:
Es war doch ein Typo in der smtpd.conf
Dort muß es aus irrationalen Gründen hostnames im Plural heißen...

Ich persönlich finde MySQL einfach bequemer und schneller anpassbar.