Re: [Exim] Jumping from one router to another

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Nico Erfurth
CC: Exim-Users (E-mail)
Subject: Re: [Exim] Jumping from one router to another
On Wed, 2004-02-18 at 14:10 +0100, Nico Erfurth wrote:
> Blane Bramble wrote:
> > Is there an easy way to have a router setup so that if it succeeds
> > rather than passing to a transport, it passes to another router
> > (skipping those inbetween). I have some complicated rules that could be
> > greatly simplified if I can do this...
>
> jump_router:
>    driver = redirect
>    data = $local_part@$domain
>    redirect_router = the_target_router


The documentation says...

In all cases, all quoting is removed from the local part. For example,
for both the addresses

"abc:xyz"@???
abc\:xyz@???

the value of $local_part is

abc:xyz

If you use $local_part to create another address, you should always wrap
it inside a quoting operator. For example, in a redirect router you
could have:

data = ${quote_local_part:$local_part}@???

--
dwmw2