Re: [exim] headers_rewrite

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Finch
Fecha:  
A: Stefan Klatt
Cc: exim-users@exim.org
Asunto: Re: [exim] headers_rewrite
On Sat, 20 May 2006, Stefan Klatt wrote:

> >local_to_global:
> > driver = redirect
> > domains = cac-netzwerk.local
> > data = ${quote_local_part:$local_part}@???
>
> Why use exim4 this router twice?


It shouldn't be, because the domain of the generated address is different
from the router's domains precondition. Are you being confused by the fact
that when Exim generates a new address it tries all the routers from the
start? The address will only be handled by the first router that passes
all its conditions.

> It works only correct if i set "redirect_router = local_user_cyrus".


That should not be necessary. Do you mean by "correct" that without this
option it does the wrong thing? Or is it just debugging output that you
don't expect?

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}