From 3411c7564ada06b20c7fe89dc205c1806e3c53db Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 23 Aug 2024 17:15:16 +0100 Subject: Fix pcre rewriting for postfix headers --- ansible/roles/postfix/tasks/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ansible') diff --git a/ansible/roles/postfix/tasks/main.yml b/ansible/roles/postfix/tasks/main.yml index 0346aaa..1e0e7ba 100644 --- a/ansible/roles/postfix/tasks/main.yml +++ b/ansible/roles/postfix/tasks/main.yml @@ -5,6 +5,8 @@ # Postfix & routing plugins - postfix - postfix-ldap + # RegExp based lookup tables + - postfix-pcre # Relay routing utilities - postsrsd # Security and anti-spam tools @@ -92,8 +94,8 @@ src: services/ dest: /etc/postfix/service-scripts/ directory_mode: "0755" - mode: "0744" - owner: servicemailer + mode: "0754" + owner: root group: servicemailer tags: - role::postfix @@ -112,12 +114,14 @@ - name: Template Postfix submission header checks template: src: header-checks-submission.j2 - dest: /etc/postfix/header-checks-submisison + dest: /etc/postfix/header-checks-submission mode: "0o444" owner: root group: root notify: - Reload postfix + tags: + - role::postfix - name: Add custom services to master.cf blockinfile: -- cgit v1.2.3