Re: Postfix and SASL
On 28/03/14 02:37, David wrote:
> I was having the same problem with saslauthd and postfix logging this
> May 6 23:54:39 rama postfix/smtpd: warning: SASL authentication
> failure: cannot
> connect to
> saslauthd server: Connection refused
> May 6 23:54:39 rama postfix/smtpd: warning:
> 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
> 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.
Can you just leave that line out of smptd.conf and it will use the
correct value by default? It seems to be working for me without that
entry in the config at all.
If there is a bad example in the documentation, can you file a bug
against the relevant package?