[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix and SASL

I'm having some trouble getting Postfix SMTP auth working. I'm using unstable postfix and 
postfix-tls on testing, with unstable libsasl2 and libsasl2-modules. Whenever I try to send a 
message from my mail client (KMail) on another box, I get this in /var/log/mail.log: 
May  6 23:54:38 rama postfix/smtpd[21897]: connect from 
May  6 23:54:39 rama postfix/smtpd[21897]: TLS connection established from 
ble.net[]: TLSv1 with cipher RC4-MD5 (128/128 bits) 
May  6 23:54:39 rama postfix/smtpd[21897]: warning: SASL authentication failure: cannot 
connect to 
saslauthd server: Connection refused 
May  6 23:54:39 rama postfix/smtpd[21897]: warning: 
 SASL LOGIN authentication failed 
May  6 23:54:40 rama postfix/smtpd[21897]: disconnect from 
My /etc/postfix/sasl/smtpd.conf looks like this: 
# This sets smtpd to authenticate using the saslauthd daemon. 
pwcheck_method: saslauthd 
# This allows only plain and login as the authentication mechanisms. 
mech_list: plain login 
# Path to saslauthd run directory 
saslauthd_path: /var/run/saslauthd/ 
The relevant portions of main.cf: 
smtpd_sasl_auth_enable = yes 
smtpd_sasl_local_domain = 
smtpd_sasl_security_options = noanonymous 
broken_sasl_auth_clients = yes 
I suspect that postfix is trying to use the wrong socket, or something like that. I did a 
netstat -ap, and found that saslauthd is indeed listening on /var/run/saslauthd/mux. I'd really 
appreciate any ideas anyone has on this. 
Thanks, Philip Bock 

Reply to: