On Sat, May 28, 2022 at 05:11:22PM -0700, Jim Garrison wrote:

> Foreground saslauthd command, including debug output from
> successful testsaslauthd but no log entries corresponding to the
> immediately above extract from the Postfix log:
> 
> $ sudo saslauthd -a pam -d -c -m /var/spool/postfix/var/run/saslauthd

Why are you using the above "-m" option?  The SASL library is going to
look in "/var/run/saslauthd/mux", which corresponds to the default "-m
/var/run/saslauthd".  Unless the Postfix smtpd(8) process is chrooted,
the default value is the only one that'll work.

If you want to make saslauthd chroot-agnostic, make /var/run/saslauthd a
symlink to /var/spool/postfix/var/run/saslauthd.  But simpler to just
not bother with chroot.

-- 
    Viktor.

Reply via email to