From 6dbc92200e6381d607b99e2b24f073ac31b5ce3f Mon Sep 17 00:00:00 2001 From: Lars Beckers <lars.beckers@rwth-aachen.de> Date: Sun, 25 Apr 2021 23:54:23 +0200 Subject: [PATCH] postfix: allow to override mailname --- postfix/defaults/main.yml | 1 + postfix/templates/mailname.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/postfix/defaults/main.yml b/postfix/defaults/main.yml index 1f89644..b07efb5 100644 --- a/postfix/defaults/main.yml +++ b/postfix/defaults/main.yml @@ -3,6 +3,7 @@ postfix_domains: - "{{ domain }}" postfix_virtual_domains: [] +postfix_mailname: "{{ domain }}" postfix_tls_cert: /etc/ssl/private/fullchain.pem postfix_tls_key: /etc/ssl/private/privkey.pem diff --git a/postfix/templates/mailname.j2 b/postfix/templates/mailname.j2 index 81008ba..422f887 100644 --- a/postfix/templates/mailname.j2 +++ b/postfix/templates/mailname.j2 @@ -1 +1 @@ -{{ domain }} +{{ postfix_mailname }} -- GitLab