How to send all “Undeliverable Mail” notifications to a single email address with POSTFIX

emailpostfix

When my site tries to send an email to a bad domain, my postfix server sends an "Undelivered Mail Returned to Sender" notification to the sending account.

How can I instead send these notifications to a single email account, regardless of the sender?

If this is not possible, is there a way to disable these notifications?

Thanks!

Best Answer

The notify_classes directive is probably what you're looking for.

notify_classes = resource, software, bounce
Related Topic