feat: add header checks to v2

This commit is contained in:
lab 2021-12-22 00:58:01 +08:00
parent 8be458df1b
commit 9126f5bf5b
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
/^Received:.*/ IGNORE
/^X-Originating-IP:/ IGNORE
/^X-Mailer:/ IGNORE
/^Mime-Version:/ IGNORE
/^User-Agent:/ IGNORE

View File

@ -155,6 +155,9 @@ mynetworks_style = host
# getting rid of x-original-to # getting rid of x-original-to
enable_original_recipient = no enable_original_recipient = no
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = $header_checks
# --------------------------------- # ---------------------------------
# DKIM # DKIM
# -------------------------------------- # --------------------------------------