Comments on Ubuntu/Postfix/Saslauthd - SASL authentication failure: cannot connect to saslauthd server: Permission denied

This article shows how to fix the following error message on an Ubuntu/Postfix/Saslauthd mail server - SASL authentication failure: cannot connect to saslauthd server: Permission denied.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Curtis Maurand

I wend around and around with this for a week before I stumbled onto this little gem.  What you posted above will not work unless you also do the following.

  for chroot
dpkg-statoverride --remove /var/spool/var/run/saslauthd
dpkg-statoverride --add root sasl 770 /var/spool/postfix/var/run/saslauthd

For non chroot
dpkg-statoverride --remove /var/run/saslauthd
dpkg-statoverride --add root sasl 770 /var/run/saslauthd

By: Mourad

Thank you!!!!

By: chandra sekhar

Dear sir

I am getting this error please help me out.

pam_mysql - pam_mysql_check_passwd() returning 6

 auth_pam: pam_authenticate failed: Authentication failure