Erstmal ein paar Daten....
Code: Alles auswählen
$ telnet <SERVER> 25
Trying 192.168.0.22...
Connected to <SERVER>.
Escape character is '^]'.
220 <SERVER> ESMTP Postfix (Debian/GNU)
ehlo something
250-<SERVER>
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 LOGIN PLAIN
250-AUTH=CRAM-MD5 LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth plain <MIME-ENCODED-STRING-ID-plus-PASSWORD>
535 5.7.0 Error: authentication failed: generic failure
auth login <MIME-ENCODED-ID>
334 UGFzc3dvcmQ6 #means Password:
<MIME-ENCODED-PASSWORD>
535 5.7.0 Error: authentication failed: generic failure
auth cram-md5
334 <MIME-ENCODED>3654802519.13926710@SERVER
# WTF?
Code: Alles auswählen
# testsaslauthd -u USER -p PW
0: OK "Success."
Code: Alles auswählen
# saslpasswd2 USER
Code: Alles auswählen
# cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login cram-md5
/usr/lib/sasl2/smtpd.conf # ohne Erfolg
In der Datei "/etc/default/saslauthd" ist:
OPTIONS="-c" gesetzt.
# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
Das habe ich auch in Bugreports gefunden, allerdings existiert so
ein Verzeichnis bei mir nicht.
Code: Alles auswählen
# ps waux | grep saslauthd
--------------------------
root 2117 0.0 0.3 7216 980 ? Ss 16:42 0:00 /usr/sbin/saslauthd -a pam -c -n 5
root 2118 0.0 0.5 7336 1364 ? S 16:42 0:00 /usr/sbin/saslauthd -a pam -c -n 5
root 2119 0.0 0.1 7216 356 ? S 16:42 0:00 /usr/sbin/saslauthd -a pam -c -n 5
root 2120 0.0 0.1 7216 356 ? S 16:42 0:00 /usr/sbin/saslauthd -a pam -c -n 5
root 2121 0.0 0.1 7216 356 ? S 16:42 0:00 /usr/sbin/saslauthd -a pam -c -n 5
Code: Alles auswählen
cat /var/log/mail.log
Feb 15 16:54:09 mini postfix/smtpd[2291]: connect from unknown[192.168.0.27]
Feb 15 16:55:49 mini postfix/smtpd[2291]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Feb 15 16:55:49 mini postfix/smtpd[2291]: warning: unknown[192.168.0.27]: SASL login authentication failed: generic failure
Feb 15 17:01:26 mini postfix/smtpd[2291]: timeout after AUTH from unknown[192.168.0.27]
Feb 15 17:01:26 mini postfix/smtpd[2291]: disconnect from unknown[192.168.0.27]
Eigentlich sollte der Bug gefixt sein, wie in Bugreports von November und
Dezember 2006 lesen konnte. In den RC Bugs habe ich auch nichts gefunden.
Kann jemand das Problem bestätigen?
Gefunden habe ich noch das hier:
http://bugs.donarmstrong.com/cgi-bin/bu ... s;mbox=yes
da wird der Bug geöffnet, wieder geschlossen - die Daten reichen über verschiedene Versionen von November bis Februar...