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

12 lines
279 B
Text
Raw Permalink Normal View History

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