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

More Postfix and SASL excitement



I've been trying, like many others, it seems, to get postfix, tls, and sasl to play nice. TLS was easy, but sasl is turning out not to be. I've tried lots with pwcheck_method: pam in /etc/postfix/sasl/smtpd.conf, and gotten nowhere, so I thought I'd give saslauthd a try. My smtpd.conf now looks like this:

pwcheck_method: saslauthd
mech_list: plain login

I have saslauthd set to start in /etc/default/saslauthd, and a ps -A seems to show it running, but when I attempt to send mail from a client set to use authentication, I get these lines in /var/log/mail.info:

Mar 27 22:13:18 rama postfix/smtpd[1035]: connect from unknown[24.70.240.178]
Mar 27 22:13:18 rama postfix/smtpd[1035]: TLS connection established from unknown[24.70.240.178]: TLSv1 with cipher RC4-MD5 (128/128 bits)
Mar 27 22:13:18 rama postfix/smtpd[1035]: warning: SASL authentication failure: cannot connect to saslauthd server
Mar 27 22:13:18 rama postfix/smtpd[1035]: warning: unknown[24.70.240.178]: SASL LOGIN authentication failed
Mar 27 22:13:23 rama postfix/smtpd[1035]: disconnect from unknown[24.70.240.178]

I managed to find something about renaming the saslauthd socket so postfix could find it (http://www.tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/postfix-config.html, at the bottom), but of course the files aren't layed out like that on Debian. Anyone have any ideas?

Thanks, Philip Bock



Reply to: