Hi,
After a lot of searching in forums and documentation I finally got SASL authentication working with Postfix.
Somehow my configuration was not working on Debian 5 Lenny. The main error was:
Jun 6 14:52:21 mydomain postfix/smtpd[14201]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jun 6 14:52:21 mydomain postfix/smtpd[14201]: warning: SASL authentication failure: Password verification failed
Jun 6 14:52:21 mydomain postfix/smtpd[14201]: warning: unknown[xyz.xyz.xyz.xyz]: SASL PLAIN authentication failed: generic failure
So, why wasn’t Postfix able to find saslauthd?
The file /etc/postfix/sasl/smtpd.conf needed to be modified with the last line added, like this:
[code:1]pwcheck_method: saslauthd
mech_list: plain login
saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux[/code:1]
After restarting Postfix, SASL authentication is working now.
Edit:
Actually the above was not the right solution after all. There is no need to change smtpd.conf. I had missed some configuration options when I changed the port that smtpd was listening on from 25 to 10025 in /etc/postfix/master.cf. (The change was necessary because my DSL provider started blocking port 25 this year.)
After correcting the line to:
10025 inet n - - - - smtpd -o smtpd_sasl_auth_enable=yes
… the error disappeared and authentication worked as intended.
Christian<br><br>Post edited by: chriswayg, at: 2009/06/06 09:37