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