Add snippet to discard certain mails

This commit is contained in:
phil 2023-03-24 14:56:17 +01:00
parent 84798cfbec
commit 8d7838ad26

View file

@ -2,6 +2,11 @@
# 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 %}
{% for address in postfix_transport_global_exceptions %}
{% if address.comment is defined %}