postscreen rules path
This commit is contained in:
parent
321240524f
commit
fe8a1d20ad
@ -49,12 +49,12 @@
|
||||
{% for entry in postfix_postscreen_access_list -%}
|
||||
{{ entry.address }} {{ entry.action }}
|
||||
{% endfor %}
|
||||
dest: "/etc/postfix/rules/postscreen_access_list.cidr"
|
||||
dest: "{{ postfix_mountpoint }}/{{ postfix_rules_dir }}/postscreen_access_list.cidr"
|
||||
|
||||
- name: "postscreen: set postscreen_access_list parameter"
|
||||
postconf:
|
||||
parameter: postscreen_access_list
|
||||
value: "cidr:/etc/postfix/rules/postscreen_access_list.cidr, permit_mynetworks"
|
||||
value: "cidr:/etc/postfix/{{ postfix_rules_dir }}/postscreen_access_list.cidr, permit_mynetworks"
|
||||
notify: reload postfix
|
||||
|
||||
- name: "postscreen: enable/disable after-220 SMTP greeting tests"
|
||||
@ -95,13 +95,13 @@
|
||||
{% else %}
|
||||
/^{{ entry.site }}$/ dnsbl blacklist
|
||||
{% endif %}{% endif %}{% endif %}{% endfor %}
|
||||
dest: /etc/postfix/rules/postscreen_dnsbl_mask.pcre
|
||||
dest: "{{ postfix_mountpoint }}/{{ postfix_rules_dir }}/postscreen_dnsbl_mask.pcre"
|
||||
notify: reload postfix
|
||||
|
||||
- name: "postscreen: configure masking table parameter"
|
||||
postconf:
|
||||
parameter: postscreen_dnsbl_reply_map
|
||||
value: "pcre:/etc/postfix/rules/postscreen_dnsbl_mask.pcre"
|
||||
value: "pcre:/etc/postfix/{{ postfix_rules_dir }}/postscreen_dnsbl_mask.pcre"
|
||||
notify: reload postfix
|
||||
|
||||
- name: "postscreen: set misc. parameters"
|
||||
|
Loading…
x
Reference in New Issue
Block a user