ansible-role-postfix/templates/postfix/conf.d/transport_tor.j2
2023-03-20 20:01:04 +01:00

13 lines
400 B
Django/Jinja

### {{ ansible_managed }}
{% if postfix_default_transport_tor_domains is defined %}
{% for domain in postfix_default_transport_tor_domains %}
{{ "%-50s %s" | format(domain.name, domain.relay) }}
{% endfor %}
{% endif %}
{% if postfix_transport_tor_domains is defined %}
{% for domain in postfix_transport_tor_domains %}
{{ "%-50s %s" | format(domain.name, domain.relay) }}
{% endfor %}
{% endif %}