Author: Rutger van Oosten Date: To: exim-users Subject: [Exim] Catching bounce messages
Dear All,
I am trying to intercept bounce messages passing through our exim box.
The reason for this is that we want to limit their size (some braindead
mailservers in this company send out huge multi-megabyte bounces where
just a plain text with some headers would suffice).
I have created a router (dnslookup_chop) and a transport
(remote_smtp_chop) and placed the router before the existing dnslookup
router. It looks like this:
However - in testing (sending email with sender address <>) it works
fine, but on actual bounces it never gets triggered. Even though in the
exim log I see the bounces coming in like this:
2003-06-08 09:23:45 19OuWn-00049K-5b <= <> H=xxx.yyy.com ...
the from header does not actually contain <> . Who knows how to catch
bounce message and can think of a good condition?