change path to white list

This commit is contained in:
Antonio J. Delgado 2023-11-28 10:04:24 +02:00
parent 4c41a3f4df
commit f810867991
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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