From f5e172d1abdca4de251ffdbd3f3106d9abafae6f Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Mon, 17 Jun 2019 17:14:52 +0200
Subject: [PATCH] postfix: allow list for virtual alias destinations

---
 postfix/templates/virtual.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postfix/templates/virtual.j2 b/postfix/templates/virtual.j2
index 3a4abd5..ac13c8d 100644
--- a/postfix/templates/virtual.j2
+++ b/postfix/templates/virtual.j2
@@ -9,7 +9,7 @@ abuse@{{ domain }} {{ adminaddr }}
 {{ alias.src }} {{ alias.dest }}
 {% else %}
 {% for src in alias.src %}
-{{ src }}@{{ alias.domain }} {{ alias.dest }}
+{{ src }}@{{ alias.domain }} {{ alias.dest if alias.dest is string else alias.dest|join(', ') }}
 {% endfor %}
 {% endif %}
 {% endfor %}
-- 
GitLab