add dove auth listener
This commit is contained in:
parent
57f5753dbf
commit
f41a3f1d15
2 changed files with 8 additions and 2 deletions
|
@ -118,7 +118,13 @@ in
|
||||||
driver = sql
|
driver = sql
|
||||||
args = /run/secrets/services/dovecot/dovecot-sql.conf.ext
|
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";
|
user = "dovecot";
|
||||||
group = "dovecot";
|
group = "dovecot";
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
smtpd_helo_restrictions = "permit_mynetworks, permit_sasl_authenticated";
|
smtpd_helo_restrictions = "permit_mynetworks, permit_sasl_authenticated";
|
||||||
smtpd_helo_required = "yes";
|
smtpd_helo_required = "yes";
|
||||||
smtpd_sasl_type = "dovecot";
|
smtpd_sasl_type = "dovecot";
|
||||||
smtpd_sasl_path = "/run/dovecot2/auth-login";
|
smtpd_sasl_path = "/run/dovecot2/auth";
|
||||||
smtpd_sasl_auth_enable = "yes";
|
smtpd_sasl_auth_enable = "yes";
|
||||||
smtpd_tls_auth_only = "yes";
|
smtpd_tls_auth_only = "yes";
|
||||||
smtpd_tls_mandatory_protocols = "!SSLv2, !SSLv3, !TLSv1, !TLSv1.1";
|
smtpd_tls_mandatory_protocols = "!SSLv2, !SSLv3, !TLSv1, !TLSv1.1";
|
||||||
|
|
Loading…
Reference in a new issue