Add snippet to discard certain mails
This commit is contained in:
parent
84798cfbec
commit
8d7838ad26
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
# Use this file for mail addresses that should be treated specially.
|
# Use this file for mail addresses that should be treated specially.
|
||||||
|
|
||||||
|
# Discard mails
|
||||||
|
# You need to create an alias to this address
|
||||||
|
/^noreply(\+.*)?@discard\.local$/ discard:
|
||||||
|
|
||||||
|
|
||||||
{% if postfix_transport_global_exceptions is defined %}
|
{% if postfix_transport_global_exceptions is defined %}
|
||||||
{% for address in postfix_transport_global_exceptions %}
|
{% for address in postfix_transport_global_exceptions %}
|
||||||
{% if address.comment is defined %}
|
{% if address.comment is defined %}
|
||||||
|
|
Loading…
Reference in a new issue