From a65bf3d08126051028731712fccfaaab04ea77e5 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Wed, 1 Dec 2021 18:01:17 +0100 Subject: [PATCH] fix: hide comments in conditional --- postfix.cf.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postfix.cf.tmpl b/postfix.cf.tmpl index c3084f8..0a42b15 100644 --- a/postfix.cf.tmpl +++ b/postfix.cf.tmpl @@ -1,8 +1,8 @@ +{{ if eq (env "MAILMAN_POSTFIX_OVERRIDES") "1" }} # https://github.com/maxking/docker-mailman#setting-up-your-mta # https://mailu.io/1.7/faq.html?highlight=override#how-can-i-override-settings # https://github.com/Mailu/Mailu/blob/master/core/postfix/conf/main.cf -{{ if eq (env "MAILMAN_POSTFIX_OVERRIDES") "1" }} # Please note, this config assumes "recipient_delimiter = +" in the main.cf # and transport_maps/relay_domains preserve the overriden postfix.cf config values # and finally, we use single lines configuration definitions because: @@ -14,7 +14,6 @@ transport_maps = regexp:/opt/mailman/var/data/postfix_lmtp \${podop}transport local_recipient_maps = regexp:/opt/mailman/var/data/postfix_lmtp relay_domains = regexp:/opt/mailman/var/data/postfix_domains \${podop}transport {{ end }} - {{ if eq (env "SENDER_LOGINS_POSTFIX_OVERRIDES") "1" }} # https://github.com/Mailu/Mailu/issues/1096