[Postfixbuch-users] unknown password verifier mysql, cyrus-sasl

benjamin.scherb at arcor.de benjamin.scherb at arcor.de
Mo Feb 14 12:49:59 CET 2005


Hallo,
ich habe einen Mail-Server mit cyrus-sasl, cyrus-imapd und Postfix aufgesetzt. Die User werden gegen eine MySQL Datenbank authentifiziert. Als Unterstützung habe ich das Howto auf ...
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/index.html

...verwendet. Der IMAP Server läuft jetzt auch. Ich kann mich mit einem angelegten User per IMAP authentifizierung und Ordner erstellen. Sobald ich aber die SMTP Funktion verwenden möchte erhalten ich eine Fehlermeldung vom Mail-Client (KMAIL) "Most likely the password ist wrong".

meine /etc/pam.d/smtp
auth sufficient pam_mysql.so user=mailadmin passwd=geheim host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=p$

auth sufficient

account required pam_mysql.so user=mailadmin passwd=geheim host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=$

account sufficient


meine /usr/lib/sasl/smtpd.conf
pwcheck_method: saslauthd


Und hier die Fehlermeldung, die mir in /var/log/messages geschrieben wird:
Feb 14 12:44:29 server postfix/smtpd[11481]: connect from server.linux-world.site[192.168.0.254]
Feb 14 12:44:29 server postfix/smtpd[11481]: match_list_match: server.linux-world.site: no match
Feb 14 12:44:29 server postfix/smtpd[11481]: match_list_match: 192.168.0.254: no match
Feb 14 12:44:29 server postfix/smtpd[11481]: match_list_match: server.linux-world.site: no match
Feb 14 12:44:29 server postfix/smtpd[11481]: match_list_match: 192.168.0.254: no match
Feb 14 12:44:29 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 220 server.linux-world.site ESMTP Postfix
Feb 14 12:44:29 server postfix/smtpd[11481]: watchdog_pat: 0x80a9ef0
Feb 14 12:44:30 server postfix/smtpd[11481]: < server.linux-world.site[192.168.0.254]: EHLO server.linux-world.site
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-server.linux-world.site
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-PIPELINING
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-SIZE 10240000
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-VRFY
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-ETRN
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN NTLM
Feb 14 12:44:30 server postfix/smtpd[11481]: match_list_match: server.linux-world.site: no match
Feb 14 12:44:30 server postfix/smtpd[11481]: match_list_match: 192.168.0.254: no match
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 250 8BITMIME
Feb 14 12:44:30 server postfix/smtpd[11481]: watchdog_pat: 0x80a9ef0
Feb 14 12:44:30 server postfix/smtpd[11481]: < server.linux-world.site[192.168.0.254]: AUTH LOGIN
Feb 14 12:44:30 server postfix/smtpd[11481]: smtpd_sasl_authenticate: sasl_method LOGIN
Feb 14 12:44:30 server postfix/smtpd[11481]: smtpd_sasl_authenticate: uncoded challenge: Username:
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 334 VXNlcm5hbWU6
Feb 14 12:44:30 server postfix/smtpd[11481]: < server.linux-world.site[192.168.0.254]: MjAwMDE=
Feb 14 12:44:30 server postfix/smtpd[11481]: smtpd_sasl_authenticate: decoded response: 20001
Feb 14 12:44:30 server postfix/smtpd[11481]: smtpd_sasl_authenticate: uncoded challenge: Password:
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 334 UGFzc3dvcmQ6
Feb 14 12:44:30 server postfix/smtpd[11481]: < server.linux-world.site[192.168.0.254]: dGVzdA==
Feb 14 12:44:30 server postfix/smtpd[11481]: smtpd_sasl_authenticate: decoded response: test
Feb 14 12:44:30 server postfix/smtpd[11481]: warning: SASL authentication problem: unknown password verifier
Feb 14 12:44:30 server postfix/smtpd[11481]: warning: server.linux-world.site[192.168.0.254]: SASL LOGIN authentication failed
Feb 14 12:44:30 server postfix/smtpd[11481]: > server.linux-world.site[192.168.0.254]: 535 Error: authentication failed
Feb 14 12:44:30 server postfix/smtpd[11481]: watchdog_pat: 0x80a9ef0
Feb 14 12:44:30 server postfix/smtpd[11481]: smtp_get: EOF
Feb 14 12:44:30 server postfix/smtpd[11481]: lost connection after AUTH from server.linux-world.site[192.168.0.254]
Feb 14 12:44:30 server postfix/smtpd[11481]: disconnect from server.linux-world.site[192.168.0.254]
Feb 14 12:44:30 server postfix/smtpd[11481]: master_notify: status 1
Feb 14 12:44:30 server postfix/smtpd[11481]: connection closed
Feb 14 12:44:30 server postfix/smtpd[11481]: watchdog_stop: 0x80a9ef0
Feb 14 12:44:30 server postfix/smtpd[11481]: watchdog_start: 0x80a9ef0



Ich verstehe nicht wieso IMAP so fein funktioniert, aber SMTP nicht. 
Kann mir jemand weiterhelfen? 


Gruß,
Benjamin

Arcor-DSL: die echte Flatrate für alle Bandbreiten. Jetzt ohne Einrichtungspreis
einsteigen oder wechseln. Arcor-DSL ist in vielen Anschlussgebieten verfügbar.
http://www.arcor.de/home/redir.php/emf-dsl-1




Mehr Informationen über die Mailingliste Postfixbuch-users