From f607a76ec8d8798e902cd0a5306f26ee2492b5f6 Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Tue, 16 Feb 2021 13:13:26 +0100 Subject: [PATCH] :bug: Fix a small bug. Postfix does not accept trailing comments --- roles/postfix_non_mailhost/templates/main.cf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postfix_non_mailhost/templates/main.cf.j2 b/roles/postfix_non_mailhost/templates/main.cf.j2 index b99d905..5b90030 100644 --- a/roles/postfix_non_mailhost/templates/main.cf.j2 +++ b/roles/postfix_non_mailhost/templates/main.cf.j2 @@ -19,7 +19,7 @@ compatibility_level = 2 # Send mail as user@{{ ansible_fqdn }} myhostname = {{ ansible_fqdn }} -myorigin = $myhostname # default configuration +myorigin = $myhostname # Specify the trusted networks mynetworks = 127.0.0.0/8 {{ local_network }}