mastus: enable smtp auth

This commit is contained in:
Gabriel Ebner 2015-10-25 13:56:35 +01:00
parent 43f04ce8d2
commit 0bb6fd7e8c

@ -34,6 +34,11 @@
smtp_tls_mandatory_protocols=!SSLv2,!SSLv3 smtp_tls_mandatory_protocols=!SSLv2,!SSLv3
smtpd_tls_protocols=!SSLv2,!SSLv3 smtpd_tls_protocols=!SSLv2,!SSLv3
smtp_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"; sslServerKey = "/etc/sslcerts/mail-dovecot.key";
extraConfig = '' extraConfig = ''
ssl_protocols = !SSLv2 !SSLv3 ssl_protocols = !SSLv2 !SSLv3
service auth {
unix_listener /var/postfix/queue/private/auth {
mode = 0660
user = postfix
group = postfix
}
}
''; '';
}; };