After upgrading my server from debian etch to lenny, I discovered that the saslauthd was broken. The log looked like this:
SASL authentication failure: Password verification failed
SASL PLAIN authentication failed: generic failure
SASL authentication failure: cannot connect to saslauthd server: Permission denied
SASL LOGIN authentication failed: generic failure
The solution for this problem is documented in /usr/share/doc/sasl2-bin/README.Debian.gz
:
- edit
/etc/default/saslauthd
and setOPTIONS
like this:
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
- run this command as root:
dpkg-statoverride --add root sasl 710 /var/spool/postfix/var/run/saslauthd
- add the postfix user to the sasl group:
adduser postfix sasl
- restart saslauthd and postfix