mastus: enable smtp auth
This commit is contained in:
parent
43f04ce8d2
commit
0bb6fd7e8c
@ -34,6 +34,11 @@
|
||||
smtp_tls_mandatory_protocols=!SSLv2,!SSLv3
|
||||
smtpd_tls_protocols=!SSLv2,!SSLv3
|
||||
smtp_tls_protocols=!SSLv2,!SSLv3
|
||||
|
||||
smtpd_sasl_type = dovecot
|
||||
smtpd_sasl_path = private/auth
|
||||
smtpd_sasl_auth_enable = yes
|
||||
smtpd_tls_auth_only = yes
|
||||
'';
|
||||
};
|
||||
|
||||
@ -46,6 +51,14 @@
|
||||
sslServerKey = "/etc/sslcerts/mail-dovecot.key";
|
||||
extraConfig = ''
|
||||
ssl_protocols = !SSLv2 !SSLv3
|
||||
|
||||
service auth {
|
||||
unix_listener /var/postfix/queue/private/auth {
|
||||
mode = 0660
|
||||
user = postfix
|
||||
group = postfix
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user