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
|
||||
broken_sasl_auth_clients: yes
|
||||
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
|
||||
inet_interfaces: all
|
||||
inet_protocols: all
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
state: restarted
|
||||
|
||||
- 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
|
||||
shell: /usr/sbin/postmap /etc/postfix/blacklist
|
||||
|
|
|
@ -210,7 +210,7 @@
|
|||
- name: Ensure white list senders file exists
|
||||
file:
|
||||
state: touch
|
||||
path: /etc/postfix/maps/whitelist_senders.map
|
||||
path: /etc/postfix/whitelist_senders.map
|
||||
owner: root
|
||||
group: postfix
|
||||
mode: 0644
|
||||
|
|
Loading…
Reference in a new issue