On Sun, May 29, 2022 at 12:12:29PM +1000, raf wrote: > On Sat, May 28, 2022 at 05:11:22PM -0700, Jim Garrison <j...@jhmg.net> wrote: > > > For completeness here's everything I can think of that could be > > related: > > > > $ ls -ld /etc/sasl2 > > drwxr-xr-x 2 root root 4096 May 19 00:58 /etc/sasl2 > > > > $ ls -l /etc/sasl2/ > > -rw-r--r-- 1 root root 62 May 28 18:18 smtpd.conf > > > > $ cat /etc/sasl2/smtpd.conf > > pwcheck_method: saslauthd > > log_level: 7 > > mech_list: PLAIN LOGIN > > This might be irrelevant, but the SASL readme mentions > that on some systems Postfix is modified to look for > the Cyrus SASL config in /etc/postfix/sasl or > /var/lib/sasl2. On Debian, it's in /etc/postfix/sasl. > Perhaps "ln -s /etc/sasl2 /etc/postfix/sasl" might > help.
I don't expect this is a "modification in Postfix" as such, beyond perhaps tweaking the built-in default of: http://www.postfix.org/postconf.5.html#cyrus_sasl_config_path which determines the search path for the "smtpd.conf" file. The default is to use the path compiled into Cyrus SASL, which would of course not be /etc/postfix/sasl (the Cyrus library is not Postfix-specific). The OP could explicitly set: cyrus_sasl_config_path = or even (expected to be equivalent): cyrus_sasl_config_path = /etc/sasl2 The OP could check the default value: postconf -d cyrus_sasl_config_path -- Viktor.