Enable configurarion of header checks
This commit is contained in:
parent
94b6eec5e6
commit
0e62604dd8
2 changed files with 7 additions and 1 deletions
|
@ -27,7 +27,6 @@
|
|||
dest: "{{ postfix_conf_dir }}/{{ item }}"
|
||||
mode: "0644"
|
||||
loop:
|
||||
- header_checks
|
||||
- header_checks_inbound
|
||||
|
||||
- name: "Postfix | Copy lookup tables from templates"
|
||||
|
@ -42,6 +41,7 @@
|
|||
- name: client_checks
|
||||
- name: destination_limit
|
||||
- name: header_add
|
||||
- name: header_checks
|
||||
- name: header_treatment
|
||||
- name: helo_checks
|
||||
- name: permit_sasl_login_mismatch
|
||||
|
|
|
@ -8,3 +8,9 @@
|
|||
ops|pcd|pif|prf|reg|sc[frt]|sh[bsm]|swf|
|
||||
vb[esx]?|vxd|ws[cfh]))(\?=)?"?\s*(;|$)/x
|
||||
REJECT Attachment name "$2" may not end with ".$4"
|
||||
|
||||
{% if postfix_header_checks is defined %}
|
||||
{% for header in postfix_header_checks %}
|
||||
{{ "%-50s %s" | format(header.header, header.action) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
Loading…
Reference in a new issue