diff options
author | 2024-08-23 17:15:16 +0100 | |
---|---|---|
committer | 2024-08-23 17:15:16 +0100 | |
commit | 3411c7564ada06b20c7fe89dc205c1806e3c53db (patch) | |
tree | dffca1a9de32cde578050c319580389c202a5cad /ansible | |
parent | Preserve privacy in e-mail headers (diff) |
Fix pcre rewriting for postfix headers
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/postfix/tasks/main.yml | 10 |
1 files changed, 7 insertions, 3 deletions
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: |