Re: [exim] headers_rewrite

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stefan Klatt
Date:  
À: exim-users@exim.org
Sujet: Re: [exim] headers_rewrite
Hello Tony,

>> >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.

I think it is both.. Exim way of live is like a really really big meat to
eat...

>> 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?

my little fault.. the difference i didn't saw was that on my system it
generates a address with the same domainname and exims retry of all
router after generating a new address. And a break for these loop is only
"redirect_router".
A other problem i had were a problem with the global rewrite rules...
everytime exim restarts the router it use the globale rewrite rules....

At the moment i miss a controlled way of rewrite header-fields. i know
that there are the global rewrite rules and "minimal" rewrite features at
routers and transport. but if i have different ways for emails with
different rewriting like e.g. virtual domains i must implement the logic
at routers and at rewrite rules parallel and this is fault-prone.
An idea would be an rewrite router which don't start the router from
beginning and have all powerfull features of lobal rewrite . This
rewrite-router would only rewrite headers for the next routers.



Mit freundlichen Grüßen,

Stefan Klatt

CaC
Stefan Klatt                Certified Warp 4 Engineer
Triftstrasse 9                Certified Warp Server Engineer              
60528 Frankfurt                Enterasys Partner
                    Bintec Partner


Tel.:        +49-69-67808-915        email: stefan.klatt@???
Handy:        +49-172-6807809        2:244/1140@fidonet
Fax/BBS:    +49-69-67808-835         2:244/1144@fidonet