SASL authentication problem (postfix)

Patrick Ben Koetter p at state-of-mind.de
Sun Jun 15 05:09:00 EDT 2008


* Bernhard Rohrer <bernhard.graylion at gmail.com>:
> 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 ....

User postfix is  not in group sasl.

p at rick



> 
> :(
> 
> thanks!
> 
> Bernhard

-- 
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>


More information about the Cyrus-sasl mailing list