add dove auth listener

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-23 12:09:30 +01:00
parent 57f5753dbf
commit f41a3f1d15
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 8 additions and 2 deletions

View file

@ -118,7 +118,13 @@ in
driver = sql
args = /run/secrets/services/dovecot/dovecot-sql.conf.ext
}
auth_debug=yes
service auth {
unix_listener /run/dovecot2/auth {
mode = 0660
user = postfix
group = postfix
}
}
'';
user = "dovecot";
group = "dovecot";

View file

@ -41,7 +41,7 @@
smtpd_helo_restrictions = "permit_mynetworks, permit_sasl_authenticated";
smtpd_helo_required = "yes";
smtpd_sasl_type = "dovecot";
smtpd_sasl_path = "/run/dovecot2/auth-login";
smtpd_sasl_path = "/run/dovecot2/auth";
smtpd_sasl_auth_enable = "yes";
smtpd_tls_auth_only = "yes";
smtpd_tls_mandatory_protocols = "!SSLv2, !SSLv3, !TLSv1, !TLSv1.1";