Add special discard address

This commit is contained in:
Julian Rother 2025-02-02 04:53:14 +01:00
parent e15d925d00
commit 672c910691
Signed by: julian
GPG key ID: C19B924C0CD13341

View file

@ -84,6 +84,9 @@ smtpd_sender_login_maps = pgsql:/etc/postfix/pgsql/virtual_sender_maps.cf
smtpd_sasl_type = dovecot smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth smtpd_sasl_path = private/auth
# Special address that discards all mails
transport_maps = inline:{discard@{{ inventory_hostname }}=discard:}
# PostSRS integration # PostSRS integration
sender_canonical_maps = tcp:localhost:10001 sender_canonical_maps = tcp:localhost:10001
sender_canonical_classes = envelope_sender sender_canonical_classes = envelope_sender