From a6abfbcf5b459793919963e2066f44e96596d2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 5 Feb 2022 21:35:28 +0100 Subject: [PATCH] set mailname --- roles/smtpgateway/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/smtpgateway/tasks/main.yaml b/roles/smtpgateway/tasks/main.yaml index e36a092..e1d452c 100644 --- a/roles/smtpgateway/tasks/main.yaml +++ b/roles/smtpgateway/tasks/main.yaml @@ -17,6 +17,9 @@ src: templates/main.cf dest: /etc/postfix/main.cf +- name: Build /etc/mailname + command: hostname --fqdn > /etc/mailname + - name: Build hashtable of SASL creds command: postmap /etc/postfix/sasl_passwd