PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SASL Problem



thegrinch
25.08.03, 20:28
Hi!
Habe nun meinen Postfix (1.1.13) selbst mit der Sasl-Unterstützung kompiliert. Leider funktioniert mein SMTP AUTH nicht.

Ich habe mit saslpasswd einen User 'testuser' mit Passwort 'passwd' erstellt.
Wenn ich mich nun mit Outlook Express am Server anmelden will (habe die og Daten korrekt eingegeben), bekomme ich folgenden Log-Eintrag:
(smtpd wird mit param -v aufgerufen)


Aug 25 22:29:21 debian postfix/smtpd[402]: connection established
Aug 25 22:29:21 debian postfix/smtpd[402]: master_notify: status 0
Aug 25 22:29:21 debian postfix/smtpd[402]: name_mask: resource
Aug 25 22:29:21 debian postfix/smtpd[402]: name_mask: software
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 220 hasen.erdacht.ddd ESMTP Postfix
Aug 25 22:29:21 debian postfix/smtpd[402]: connect from debian.hwxp.dyndns.org[192.168.0.111]
Aug 25 22:29:21 debian postfix/smtpd[402]: watchdog_pat: 0x8074098
Aug 25 22:29:21 debian postfix/smtpd[402]: < debian.hwxp.dyndns.org[192.168.0.111]: EHLO thegrinch
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-hasen.erdacht.ddd
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-PIPELINING
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-SIZE 10240000
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-VRFY
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-ETRN
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-AUTH LOGIN PLAIN
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-AUTH=LOGIN PLAIN
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250-XVERP
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 250 8BITMIME
Aug 25 22:29:21 debian postfix/smtpd[402]: watchdog_pat: 0x8074098
Aug 25 22:29:21 debian postfix/smtpd[402]: < debian.hwxp.dyndns.org[192.168.0.111]: AUTH LOGIN
Aug 25 22:29:21 debian postfix/smtpd[402]: smtpd_sasl_authenticate: sasl_method LOGIN
Aug 25 22:29:21 debian postfix/smtpd[402]: smtpd_sasl_authenticate: uncoded challenge: Username:
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 334 VXNlcm5hbWU6
Aug 25 22:29:21 debian postfix/smtpd[402]: < debian.hwxp.dyndns.org[192.168.0.111]: dGVzdHVzZXI=
Aug 25 22:29:21 debian postfix/smtpd[402]: smtpd_sasl_authenticate: decoded response: testuser
Aug 25 22:29:21 debian postfix/smtpd[402]: smtpd_sasl_authenticate: uncoded challenge: Password:
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 334 UGFzc3dvcmQ6
Aug 25 22:29:21 debian postfix/smtpd[402]: < debian.hwxp.dyndns.org[192.168.0.111]: cGFzc3dk
Aug 25 22:29:21 debian postfix/smtpd[402]: smtpd_sasl_authenticate: decoded response: passwd
Aug 25 22:29:21 debian postfix/smtpd[402]: warning: debian.hwxp.dyndns.org[192.168.0.111]: SASL LOGIN authentication failed
Aug 25 22:29:21 debian postfix/smtpd[402]: > debian.hwxp.dyndns.org[192.168.0.111]: 535 Error: authentication failed
Aug 25 22:29:26 debian postfix/smtpd[402]: watchdog_pat: 0x8074098
Aug 25 22:29:26 debian postfix/smtpd[402]: smtp_get: EOF
Aug 25 22:29:26 debian postfix/smtpd[402]: lost connection after AUTH from debian.hwxp.dyndns.org[192.168.0.111]
Aug 25 22:29:26 debian postfix/smtpd[402]: disconnect from debian.hwxp.dyndns.org[192.168.0.111]
Aug 25 22:29:26 debian postfix/smtpd[402]: master_notify: status 1
Aug 25 22:29:26 debian postfix/smtpd[402]: connection closed


Daraus entnehme ich, dass Postfix/SASL die verschlüsselten benutzernamen und passwort annimmt, dekodiert, dann aber nicht weitermacht ???


habe stundenlang gegoogelt, aber irgendwie nichts wirklich passendes gefunden.

noch ne Frage: Ich habe SASL mit den Params --enable-CRAM und Digest configuriert, die libaries stehen auch in /usr/local/lib/sasl, werden von Postfix aber nicht als mechs angeboten. Warum?