Re: Postfix and SASL
Daniel Pocock <[email protected]> Fri, 28 Mar 2014 07:53:41 +0100
| Newsgroups | gmane.linux.debian.user.isp |
|---|---|
| Message-ID | <[email protected]> |
On 28/03/14 02:37, David wrote: > 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. > 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?