make extra header checks configurable
This commit is contained in:
parent
6d9f604b93
commit
41af92aea4
5 changed files with 18 additions and 11 deletions
11
templates/header_checks.j2
Normal file
11
templates/header_checks.j2
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/^Received:.*with ESMTPSA/ IGNORE
|
||||
/^X-Originating-IP:/ IGNORE
|
||||
/^X-Mailer:/ IGNORE
|
||||
/^User-Agent:/ IGNORE
|
||||
|
||||
{% if postfix.add_header_checks|length %}
|
||||
# {{ ansible_managed }}
|
||||
{% for item in postfix.add_header_checks %}
|
||||
/{{ item.regexp }}/ {{ item.action }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue