install_postfix_advanced.sh: add message headers that include information about the protocol and cipher used.

This commit is contained in:
Christoph 2023-11-13 09:22:18 +01:00
parent 30db99c91e
commit 190b0d0fcb

View File

@ -1887,6 +1887,10 @@ smtpd_tls_exclude_ciphers =
smtpd_tls_session_cache_database = btree:\${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:\${data_directory}/smtp_scache
# produce Received: message headers that include information about the protocol and cipher used
smtpd_tls_received_header = yes
EOF
if $IS_RELAY_HOST ; then
cat <<EOF >> /etc/postfix/main.cf