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

11 lines
303 B
Text
Raw Permalink Normal View History

{{ ansible_managed | comment }}
2023-03-20 20:01:04 +01:00
### With this file you can allow or disallow clients to connect to the SMTP server.
{% if postfix_client_checks is defined %}
{% for client in postfix_client_checks %}
2023-03-24 19:39:11 +01:00
# {{ client.comment }}
2023-03-20 20:01:04 +01:00
{{ "%-30s %s" | format(client.name, client.state) }}
{% endfor %}
{% endif %}