From f81086799120ca0ce87d9974df12f2271cd11d25 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 28 Nov 2023 10:04:24 +0200 Subject: [PATCH] change path to white list --- defaults/main.yml | 2 +- handlers/main.yml | 2 +- tasks/configure.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 59da1f8..0859891 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/handlers/main.yml b/handlers/main.yml index da51a3f..3e936c8 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -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 diff --git a/tasks/configure.yml b/tasks/configure.yml index 334fd29..679aabc 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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