From 8025a976048bdf5df90985eb39427607bf4267c7 Mon Sep 17 00:00:00 2001 From: Petar Cubela Date: Fri, 8 Aug 2025 12:02:08 +0200 Subject: [PATCH] copy sender canonical and header check files --- smtp_nextcloud/tasks/main.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/smtp_nextcloud/tasks/main.yml b/smtp_nextcloud/tasks/main.yml index da40e76..1411389 100644 --- a/smtp_nextcloud/tasks/main.yml +++ b/smtp_nextcloud/tasks/main.yml @@ -16,8 +16,22 @@ - mailutils state: present -- name: Copy the config file +- name: Copy the main config file template: src: templates/main.cf dest: /etc/postfix/main.cf notify: Reload postfix + + +- name: Copy the header check file + template: + src: templates/header_check + dest: /etc/postfix/header_check + notify: Reload postfix + + +- name: Copy the sender canonical file + template: + src: templates/sender_canonical + dest: /etc/postfix/sender_canonical + notify: Reload postfix