2023-05-17 21:45:27 +02:00
|
|
|
### {{ ansible_managed }}
|
|
|
|
### http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps
|
2023-03-20 20:01:04 +01:00
|
|
|
|
|
|
|
{% if postfix_relay_by_sender is defined %}
|
2023-05-17 21:45:27 +02:00
|
|
|
{% for sender in postfix_relay_by_sender %}
|
|
|
|
{% if sender.comment is defined %}
|
|
|
|
# {{ sender.comment }}
|
|
|
|
{% endif %}
|
|
|
|
{{ "%-60s %s" | format(sender.name, domain.relay) }}
|
2023-03-20 20:01:04 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|