ansible-role-postfix/templates/postfix/conf.d/relay_by_sender.j2
2023-05-17 21:47:51 +02:00

11 lines
338 B
Django/Jinja

### {{ ansible_managed }}
### http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps
{% if postfix_relay_by_sender is defined %}
{% for sender in postfix_relay_by_sender %}
{% if sender.comment is defined %}
# {{ sender.comment }}
{% endif %}
{{ "%-60s %s" | format(sender.name, sender.relay) }}
{% endfor %}
{% endif %}