2023-03-20 20:01:04 +01:00
|
|
|
### {{ ansible_managed }}
|
|
|
|
|
|
|
|
# Use this file for mail addresses that should be treated specially.
|
|
|
|
|
2023-03-24 14:56:17 +01:00
|
|
|
# Discard mails
|
|
|
|
# You need to create an alias to this address
|
|
|
|
/^noreply(\+.*)?@discard\.local$/ discard:
|
|
|
|
|
|
|
|
|
2023-03-20 20:01:04 +01:00
|
|
|
{% if postfix_transport_global_exceptions is defined %}
|
|
|
|
{% for address in postfix_transport_global_exceptions %}
|
|
|
|
{% if address.comment is defined %}
|
|
|
|
# {{ address.comment }}
|
|
|
|
{% endif %}
|
2023-03-20 21:40:35 +01:00
|
|
|
{{ "%-50s %s" | format(address.address, address.state) }}
|
2023-03-20 20:01:04 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|