ansible-role-postfix/templates/postfix/conf.d/postscreen_access.j2

20 lines
534 B
Text
Raw Normal View History

{{ ansible_managed | comment }}
2023-03-20 20:01:04 +01:00
{% if postfix_default_postscreen_access is defined %}
{% for source in postfix_default_postscreen_access %}
{% if source.comment is defined %}
# {{ source.comment }}
{% endif %}
{{ "%-40s %s" | format(source.source, source.state) }}
{% endfor %}
{% endif %}
{% if postfix_postscreen_access is defined %}
{% for source in postfix_postscreen_access %}
{% if source.comment is defined %}
# {{ source.comment }}
{% endif %}
{{ "%-40s %s" | format(source.source, source.state) }}
{% endfor %}
{% endif %}