I think these are the main things I learned:

* Debian moved the sasl configuration file to a nonstandard place
/etc/postfix/sasl/smtpd.conf
Dunno how I would have figured that out if someone here hadn't told me.

* The socket that the sasl daemon uses has to be inside the postfix
chroot, by default /var/spool/postfix/var/run/saslauthd. This has to
be patched into the startup script at /etc/default/saslauthd

* Both postfix and the daemon need to be able to open and read and
write the socket. The sasl package adds a sasl group but not a sasl
user, so I added postfix to the users for the sasl group, and run the
daemon as postfix:sasl. The user/group for the daemon is set in
/etc/systemd/system/saslauthd.service.d/user.conf

* The directories in the path to the socket also have to be readable
by postfix and the daemon. I don't see any way to do that than manual
chown and chmod.

Other than that I'm using the default configs in the documentation and
it seems to work. I've been able to connect to port 465, auth, and
send myself test messages.

R's,
John
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to