Re: [Exim] Jumping from one router to another

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: David Woodhouse
Data:  
Para: Nico Erfurth
CC: Exim-Users (E-mail)
Assunto: 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