change path to white list
This commit is contained in:
parent
4c41a3f4df
commit
f810867991
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ postfix_config:
|
||||||
body_checks: regexp:/etc/postfix/maps/body_checks
|
body_checks: regexp:/etc/postfix/maps/body_checks
|
||||||
broken_sasl_auth_clients: yes
|
broken_sasl_auth_clients: yes
|
||||||
compatibility_level: 3.6
|
compatibility_level: 3.6
|
||||||
header_checks: regexp:/etc/postfix/maps/whitelist_senders.map regexp:/etc/postfix/maps/spam_filter_header_check
|
header_checks: regexp:/etc/postfix/whitelist_senders.map regexp:/etc/postfix/maps/spam_filter_header_check
|
||||||
html_directory: /usr/share/doc/postfix/html
|
html_directory: /usr/share/doc/postfix/html
|
||||||
inet_interfaces: all
|
inet_interfaces: all
|
||||||
inet_protocols: all
|
inet_protocols: all
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Postmap whitelist
|
- name: Postmap whitelist
|
||||||
shell: /usr/sbin/postmap /etc/postfix/maps/whitelist_senders.map
|
shell: /usr/sbin/postmap /etc/postfix/whitelist_senders.map
|
||||||
|
|
||||||
- name: Postmap blacklist
|
- name: Postmap blacklist
|
||||||
shell: /usr/sbin/postmap /etc/postfix/blacklist
|
shell: /usr/sbin/postmap /etc/postfix/blacklist
|
||||||
|
|
|
@ -210,7 +210,7 @@
|
||||||
- name: Ensure white list senders file exists
|
- name: Ensure white list senders file exists
|
||||||
file:
|
file:
|
||||||
state: touch
|
state: touch
|
||||||
path: /etc/postfix/maps/whitelist_senders.map
|
path: /etc/postfix/whitelist_senders.map
|
||||||
owner: root
|
owner: root
|
||||||
group: postfix
|
group: postfix
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
Loading…
Reference in a new issue