SASL authentication problem (postfix)

Bernhard Rohrer bernhard.graylion at gmail.com
Sat Jun 14 21:49:35 EDT 2008


2008/6/14 Patrick Ben Koetter <p at state-of-mind.de>:
> * Bernhard Rohrer <bernhard.graylion at gmail.com>:
>> Jun 12 22:44:15 collab postfix/smtpd[10513]: warning: SASL
>> authentication failure: cannot connect to saslauthd server: Permission
>> denied
>
> You are running the smtpd process chrooted and libsasl cannot find the
> saslauthd socket?
>
> p at rick

Well, I thought that too.

My saslauthd.conf has this line

OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

whereas /etc/postfix/sasl/smtp.conf

has

saslauthd_path: /var/run/saslauthd

which whould be correct for chroot, no?

I did change that to

saslauthd_path: /var/spool/postfix/var/run/saslauthd

and tried again and that didn't work either

your are probably on the right track though

OTOH

root at collab:# sudo -u postfix testsaslauthd -f
/var/spool/postfix/var/run/saslauthd/mux -u xxxxxxx -p xyz
0: OK "Success."

worked ....

:(

thanks!

Bernhard


More information about the Cyrus-sasl mailing list