Okay. Let's try this. With the snippet you posted from "/etc/dovecot/conf.d/10-master.conf " inside the "service auth {...}" section.
This is from my "/etc/postfix/master.cf"
submission inet n - n - - smtpd # -o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_sasl_type=dovecot -o smtpd_sasl_path=private/auth -o smtpd_sasl_security_options=noanonymous
On Thursday, December 8, 2022 4:49:06 AM AKST Shawn Heisey wrote:
On 12/7/22 21:53, Henry R wrote:
can dovecot run as a general sasl service for other apps? such as webdav.
I am using dovecot to provide authentication for postfix submission. This is the config in postfix:
smtpd_sasl_type = dovecot # Referring to /var/spool/postfix/private/auth smtpd_sasl_path = private/auth
In /etc/dovecot/conf.d/10-master.conf I have this:
unix_listener /var/spool/postfix/private/auth { mode = 0666 user = postfix group = postfix }
If the application supports using a socket for sasl, then I would imagine that Dovecot should work.
Postfix is using the same postfixadmin database for email addresses that Dovecot is, but for authentication, it's all Dovecot.
I should probably look into Dovecot's submission support so I don't need to have postfix using that auth socket, just haven't found the time.
Thanks, Shawn