11 lines
338 B
Django/Jinja
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, domain.relay) }}
|
|
{% endfor %}
|
|
{% endif %}
|