From 42cc6e0775cd29d30b2b7694015fba01f06def87 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 17 May 2023 21:33:06 +0200 Subject: [PATCH] Enable relayinf of other domains --- templates/postfix/conf.d/transport_relay.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/postfix/conf.d/transport_relay.j2 b/templates/postfix/conf.d/transport_relay.j2 index 4d24715..3d70580 100644 --- a/templates/postfix/conf.d/transport_relay.j2 +++ b/templates/postfix/conf.d/transport_relay.j2 @@ -14,3 +14,12 @@ {% endif %} {% endfor %} {% endif %} + +{% if postfix_transport_relay_domains is defined %} +{% for domain in postfix_transport_relay_domains %} +{% if domain.comment is defined %} +# {{ domain.comment }} +{% endif %} +{{ "%-50s %s" | format(domain.name, domain.relay) }} +{% endfor %} +{% endif %}