Use Domain as default relay source

This commit is contained in:
phil 2023-04-17 23:53:55 +02:00
parent f32891c328
commit 3c419fd21f

View file

@ -6,8 +6,10 @@
{% if domain.comment is defined %}
# {{ domain.comment }}
{% endif %}
{% if domain.relay_host is defined %}
{{ "%-50s %s" | format(domain.name, domain.relay_host) }}
{% if domain.relay is defined %}
{% for relay in domain.relay %}
{{ "%-60s %s" | format(relay.src | default( domain.name ), relay.dest) }}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}