Auteur: Phil Pennock Date: À: Peter Thomassen CC: exim-users Sujet: Re: [exim] How to detect child messages?
On 2008-09-13 at 01:53 +0200, Peter Thomassen wrote: > So the question is: In a router, how can I detect if the current message
> is the one received via SMTP, or a subsequent message where the
> recipients are already rewritten?
Compare $domain and $local_part to $original_domain and
$original_local_part? Or use $parent_ instead of $original_.
> I tried using the "redirect_router" option and setting it to the next
> router, but it doesn't work. The manual says, "redirect_router" option
> "causes the routing of any generated addresses to start at the named
> router instead of at the first router". I don't know why it doesn't
> work.
exim -d is your friend for figuring out what happens and why. The Exim
Specification, or the exim manual-page, will list the various debug
flags which you can add to that.