K|PETROVI.CH

Exim4: Forward Bounce Emails to Postmaster, Nonlocal Sender

25 May 2012

At work our users send a lot of mass mailings through our system. When we send it, we make the from header their email so other users can reply directly to the appropriate person. However, due to some erroneous emails, users sending messages complained of bouncebacks clogging up their inboxes.

We decided to route all bounceback emails to the postmaster email. Took a bit to track down exactly what I was supposed to do, but eventually I found errors_to.

In the routers section, under the dnslookup router, add this line.

errors_to = [email protected]

That's it!