Compare commits
3 Commits
ef3939403a
...
44ce57413f
Author | SHA1 | Date |
---|---|---|
Simon Bruder | 44ce57413f | |
Simon Bruder | c944812a68 | |
Simon Bruder | 0e870e7188 |
Binary file not shown.
|
@ -95,6 +95,7 @@ lib.mkIf cfg.enable {
|
|||
smtpd_tls_protocols = "!SSLv2, !SSLv3, !TLSv1, !TLSv1.1";
|
||||
smtpd_tls_mandatory_ciphers = "medium";
|
||||
smtpd_tls_loglevel = "1";
|
||||
smtpd_tls_received_header = "yes"; # add TLS connection details to Received header
|
||||
|
||||
tls_medium_cipherlist = listToString [
|
||||
"ECDHE-ECDSA-AES128-GCM-SHA256"
|
||||
|
@ -140,6 +141,7 @@ lib.mkIf cfg.enable {
|
|||
# Postscreen
|
||||
smtpd = {
|
||||
type = "pass";
|
||||
args = [ "-o" "smtpd_discard_ehlo_keywords=silent-discard,dsn" ];
|
||||
};
|
||||
smtp_inet = {
|
||||
# Partially overrides upstream
|
||||
|
|
Loading…
Reference in New Issue