Filter private sender information out of sent emails
This commit is contained in:
parent
2d37d26e28
commit
3637ab1d97
2 changed files with 16 additions and 0 deletions
12
postfix/header_checks
Normal file
12
postfix/header_checks
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# HEADER_CHECKS(5) HEADER_CHECKS(5)
|
||||||
|
|
||||||
|
/^Received:.*with ESMTPSA/ IGNORE
|
||||||
|
/^X-Originating-IP:/ IGNORE
|
||||||
|
/^X-Mailer:/ IGNORE
|
||||||
|
/^Mime-Version:/ IGNORE
|
||||||
|
/^User-Agent:/ IGNORE
|
||||||
|
/^Received:.*with ESMTPSA/ IGNORE
|
||||||
|
/^X-Originating-IP:/ IGNORE
|
||||||
|
/^X-Mailer:/ IGNORE
|
||||||
|
/^Mime-Version:/ IGNORE
|
||||||
|
/^User-Agent:/ IGNORE
|
|
@ -46,6 +46,10 @@ smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
|
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
|
||||||
smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unknown_sender_domain
|
smtpd_sender_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unknown_sender_domain
|
||||||
|
|
||||||
|
header_checks = regexp:/etc/postfix/header_checks
|
||||||
|
mime_header_checks = $header_checks
|
||||||
|
nested_header_checks = $header_checks
|
||||||
|
|
||||||
non_smtpd_milters=inet:127.0.0.1:8891
|
non_smtpd_milters=inet:127.0.0.1:8891
|
||||||
smtpd_milters=inet:127.0.0.1:8891
|
smtpd_milters=inet:127.0.0.1:8891
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue