Fix this error: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied

Problem: The password that I used to authenticate for the SMTP server was rejected:

Apr  5 20:04:55 lion postfix/smtpd[7607]: connect from client.com[ww.xx.yy.zz]
Apr  5 20:04:55 lion postfix/smtpd[7607]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Apr  5 20:04:55 lion postfix/smtpd[7607]: warning: SASL authentication failure: Password verification failed
Apr  5 20:04:55 lion postfix/smtpd[7607]: warning: client.com[ww.xx.yy.zz]: SASL PLAIN authentication failed: generic failure
Apr  5 20:04:55 lion postfix/smtpd[7607]: lost connection after AUTH from client.com[ww.xx.yy.zz]
Apr  5 20:04:55 lion postfix/smtpd[7607]: disconnect from client.com[ww.xx.yy.zz]

And after 2 minutes I found the solution via Google:

adduser postfix sasl
/etc/init.d/postfix restart

My setup is: Postfix with SASL (chrooted) on Debian squeeze.

resources

Comments