[Postfixbuch-users] SASL2 authentifizierung

Robert postfix at globalplanet.net
Mi Okt 15 07:34:08 CEST 2003


Hallo Liste,

ich möchte SASL2 einsetzen. 

Die Dokumentation ist irgendwie ziemlich mager.

Ich habe das neuste Postfix runtergeladen postfix-2.0.16. Compiliert ist es mit :

make -f Makefile.init makefiles "CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl" "AUXLIBS=-L/usr/local/lib -llber -lsasl2 -L/usr/lib/mysql -lmysqlclient -lz -lm"

make

make install (Alles mit default bestätigt)

Das funktioniert gut. Keine Fehler.

User in der sasldb angelegt mit : saslpasswd2 -c user at gpmx.de

[root at bigblue postfix]# postconf -n|grep sasl

broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,                              permit_sasl_authenticated,                          check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous


Das Log:

Oct 15 08:22:05 bigblue postfix/smtpd[15184]: connect from unknown[20.12.70.12]
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 220 Welcome
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: watchdog_pat: 0x807cd50
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: < unknown[20.12.70.12]: EHLO gp0001
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-www.efbs.net
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-PIPELINING
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-SIZE 10000000
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-VRFY
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-ETRN
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-AUTH LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250-AUTH=LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: match_hostname: unknown ~? 127.0.0.0/8
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: match_hostaddr: 20.12.70.12 ~? 127.0.0.0/8
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: match_list_match: unknown: no match
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: match_list_match: 20.12.70.12: no match
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 250 8BITMIME
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: watchdog_pat: 0x807cd50
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: < unknown[20.12.70.12]: AUTH LOGIN
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: smtpd_sasl_authenticate: sasl_method LOGIN
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: smtpd_sasl_authenticate: uncoded challenge: Username:
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 334 VXNlcm5hbWU6
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: < unknown[20.12.70.12]: dXNlckBncG14LmRl
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: smtpd_sasl_authenticate: decoded response: user at gpmx.de
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: smtpd_sasl_authenticate: uncoded challenge: Password:
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 334 UGFzc3dvcmQ6
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: < unknown[20.12.70.12]: aGFsbG8=
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: smtpd_sasl_authenticate: decoded response: hallo
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: warning: unknown[20.12.70.12]: SASL LOGIN authentication failed
Oct 15 08:22:05 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 535 Error: authentication failed
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: watchdog_pat: 0x807cd50
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: < unknown[20.12.70.12]: QUIT
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: > unknown[20.12.70.12]: 221 Bye
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: disconnect from unknown[20.12.70.12]
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: master_notify: status 1
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: connection closed
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: watchdog_stop: 0x807cd50
Oct 15 08:22:06 bigblue postfix/smtpd[15184]: watchdog_start: 0x807cd50


User und Passwort werden richtig übergeben, leider sieht Postfix das nicht so.

Hat jemand einen Rat?

Grüße

Robert
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20031015/7e1b7348/attachment.html>


Mehr Informationen über die Mailingliste Postfixbuch-users