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

11 lines
297 B
Text
Raw Normal View History

2023-03-20 20:01:04 +01:00
### {{ ansible_managed }}
### 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 %}