[Postfixbuch-users] Problem mit saslauthd

Olaf Zaplinski olaf.zaplinski at qsc.de
Mi Jan 7 11:20:18 CET 2009


Hallo zusammen,

mein saslauthd will nicht (Debian 4.0).


# postconf | grep smtpd_sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus


# cat /etc/default/saslauthd
MECHANISMS="pam"
OPTIONS="-c -m /var/spool/postfix/private/saslauthd"


# cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: PLAIN
saslauthd_path: /var/spool/postfix/private/saslauthd/mux


# l /var/spool/postfix/private/saslauthd
total 1092
drwxr-xr-x 2 root    sasl     88 Jan  7 10:50 ./
drwx------ 3 postfix root   4096 Jan  7 10:52 ../
-rw------- 1 root    root      0 Jan  7 10:50 cache.flock
-rw------- 1 root    root 986112 Jan  7 10:50 cache.mmap
srwxrwxrwx 1 root    root      0 Jan  7 10:50 mux=
-rw------- 1 root    root      0 Jan  7 10:50 mux.accept
-rw------- 1 root    root      6 Jan  7 10:50 saslauthd.pid


# grep postfix /etc/group
sasl:x:45:postfix
postfix:x:104:


# testsaslauthd -f /var/spool/postfix/private/saslauthd/mux -u user -p pass
0: OK "Success."


So weit, so gut. Wenn ich dann testhalber von außen den smtpd anspreche, 
klappt die Anmeldung nicht:


250-foo
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN AHVzZXIAcGFzcw==
535 5.7.0 Error: authentication failed: generic failure
quit
221 2.0.0 Bye


Im Log steht dann:

Jan  7 11:05:13 foo postfix/smtpd[14955]: warning: SASL authentication 
failure: cannot connect to saslauthd server: No such file or directory
Jan  7 11:05:13 foo postfix/smtpd[14955]: warning: SASL authentication 
failure: Password verification failed


Was habe ich übersehen?

Olaf




Mehr Informationen über die Mailingliste Postfixbuch-users