Re: Postfix and SASL

David <[email protected]> Thu, 27 Mar 2014 18:37:03 -0700
Newsgroups gmane.linux.debian.user.isp
Message-ID <[email protected]>
I was having the same problem with saslauthd and postfix logging this error:

May  6 23:54:39 rama postfix/smtpd[21897]: warning: SASL authentication failure: cannot
connect to
saslauthd server: Connection refused
May  6 23:54:39 rama postfix/smtpd[21897]: warning:
h24-70-240-178.ed.shawcable.net[24.70.240.178]:
  SASL LOGIN authentication failed

The problem was /etc/postfix/sasl/smtpd.conf had

saslauthd_path: /var/run/saslauthd

which caused postfix to try to open the directory saslauthd as a socket file
the fix is is

saslauthd_path: /var/run/saslauthd/mux

the path to the socket

I found the problem with strace on the postfix master process.

David Walker