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

11 lines
273 B
Django/Jinja

### {{ ansible_managed }}
# Use this file to block SMTP-Auth access for users.
# Example:
# username REJECT
{% if postfix_bad_smtp_auth_users is defined %}
{% for user in postfix_bad_smtp_auth_users %}
{{ "%-30s %s" | format(user, "REJECT") }}
{% endfor %}
{% endif %}