From 6476a23c027db1139b1edc74a155c6629e3f4f01 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 19 Apr 2023 17:19:18 +0200 Subject: [PATCH] List users comma seperated --- templates/postfix/main.cf.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/postfix/main.cf.j2 b/templates/postfix/main.cf.j2 index 0c9da12..2e1cb92 100644 --- a/templates/postfix/main.cf.j2 +++ b/templates/postfix/main.cf.j2 @@ -356,8 +356,5 @@ proxy_read_maps = {% if postfix_authorized_submit_users is defined %} # Allow/ prevent sendmail delivery for specific users -authorized_submit_users = -{% for map in postfix_authorized_submit_users %} - {{ map }} -{% endfor %} +authorized_submit_users = {{ postfix_authorized_submit_users | join(', ') }} {% endif %}