mailserver: Extend Received header with TLS info

This commit is contained in:
Simon Bruder 2024-02-03 00:11:27 +01:00
parent 0e870e7188
commit c944812a68
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -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"