From 20708ade1f56a1ef84b22ecdca42af9f9bd45c69 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 15 Feb 2024 14:21:02 +0100 Subject: Postfix: Use relay-smtps as relayhost transport. --- tasks/mail.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tasks') diff --git a/tasks/mail.yml b/tasks/mail.yml index 89d8530..8f58c8a 100644 --- a/tasks/mail.yml +++ b/tasks/mail.yml @@ -13,7 +13,7 @@ notify: - Run newaliases -- name: Configure Postfix +- name: Configure Postfix (main.cf) template: src=etc/postfix/main.cf.j2 dest=/etc/postfix/main.cf owner=root group=root @@ -21,6 +21,14 @@ notify: - Reload Postfix +- name: Configure Postfix (master.cf) + copy: src=etc/postfix/master.cf + dest=/etc/postfix/master.cf + owner=root group=root + mode=0644 + notify: + - Restart Postfix + - name: Start Postfix service: name=postfix.service enabled=true state=started -- cgit v1.2.3