On 2013-04-02 at 23:49 +0900, Rob Gunther wrote:
> The part I'm having trouble with is, bounce handling. I try and deliver,
> if the recipient server rejects the message and I need to process a bounce
> I run into a problem for some domains (which I host, and need to manual
> route)
>
> For a few trouble domains which must be manually routed, Exim looks up the
> MX record and sees that it is listed as the lowest MX record - messages are
> frozen and will not deliver. It is true that it is the lowest MX record,
> to find the correct destination I need to get the server from the file for
> the local_parts file I have.
If you can, place the correct handling for these messages first. Exim
tries Routers in order. It sounds as though correct placement and/or
domainlist constraints on Routers should fix the issue.
If this isn't viable, then you can change what the Router does when it
discovers that you're trying to pass the message onto itself. This is
controlled with the "self" option. "self = pass" will effectively have
the Router decline the message, so that the next Router tries it (just
with $self_hostname tacked in as an additional variable available for
expansion).
See
<
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html>
for more on "self" and the values available.
-Phil