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