diff options
author | Sven Göthel <[email protected]> | 2024-03-03 05:49:16 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-03-03 05:49:16 +0100 |
commit | 3c634d27bb2b4e8fe89f1c5b997a51bc5e40ae6c (patch) | |
tree | f5030b4880100e19b4bcdef0dd3f69f5e72bd14b /server/setup/05-service-settings/etc/mail/sendmail.mc | |
parent | ebed7c30d137467ec28e857afc6fa5f07ad5ba7a (diff) |
Server sendmail.mc: Add confRECEIVED_HEADER: Hide authenticated sender details
Diffstat (limited to 'server/setup/05-service-settings/etc/mail/sendmail.mc')
-rw-r--r-- | server/setup/05-service-settings/etc/mail/sendmail.mc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/server/setup/05-service-settings/etc/mail/sendmail.mc b/server/setup/05-service-settings/etc/mail/sendmail.mc index 0f93cc0..79f8a91 100644 --- a/server/setup/05-service-settings/etc/mail/sendmail.mc +++ b/server/setup/05-service-settings/etc/mail/sendmail.mc @@ -168,6 +168,26 @@ dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`masquerade_entire_domain')dnl +dnl # +dnl # RECEIVED_HEADER: Hide authenticated sender details +dnl # +define(`confRECEIVED_HEADER', `$?{auth_type}(from $j) by $j ($v/$Z)$| + $?sfrom $s $.$?_($?s$|from $.$_) + $.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version} + (version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u + for $u; $|; + $.$b$.')dnl +dnl # +dnl # Original RECEIVED_HEADER +dnl # +dnl # $?sfrom $s $.$?_($?s$|from $.$_) +dnl # $.$?{auth_type}(authenticated$?{auth_ssf} bits=${auth_ssf}$.) +dnl # $.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version} +dnl # (version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u +dnl # for $u; $|; +dnl # $.$b +dnl # + dnl # use /etc/mail/local-host-names FEATURE(`use_cw_file')dnl dnl |