cannot connect to saslauthd server: Permission denied

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 set OPTIONS 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

10 Antworten auf „cannot connect to saslauthd server: Permission denied“

  1. Many thanks! I had exactly the same problems after upgrading vom etch to lenny – your blog post helped me!

  2. Hi,

    hat mir weitergeholfen. Vielen Dank!

    My feeling is that a debian server upgrade (etch->lenny) from postfix/qpopper to postfix/zarafa will not be that fast as I expected 🙂

  3. woow .. after 2 days search about this issue finally problem has been solved .. thanks man

Kommentare sind geschlossen.