Home > Linux, Nerd > cannot connect to saslauthd server: Permission denied

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
KategorienLinux, Nerd Tags:
  1. sergei
    26. Oktober 2008, 14:32 | #1

    Many thanks

  2. sjau
    9. Dezember 2008, 14:20 | #2

    Danke :) hatte das gleiche Problem :)

  3. 2. November 2009, 03:02 | #3

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

  4. Thomas
    24. November 2009, 15:00 | #4

    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 :)

  5. 3. Dezember 2009, 10:25 | #5

    Danke danke danke,

    you’ve made my day ;)

  6. deni b
    28. Januar 2010, 03:50 | #6

    Vielen Dank. Hatte soeben das gleiche Problem. :)

  1. 29. April 2009, 01:49 | #1
  2. 12. Mai 2009, 03:05 | #2