Re: [exim] Re: Conditional address rewriting

2006-03-10 Thread Philip Hazel
On Thu, 9 Mar 2006, Jürgen Herz wrote: [EMAIL PROTECTED] eq{...}} $somevar Ffrs The error is always unknown rewrite flag character '$' Try [EMAIL PROTECTED] eq{...}} $somevar Ffrs If you don't quote the pattern, Exim terminates it at the first space. -- Philip HazelUniversity

Re: [exim] Re: Conditional address rewriting

2006-03-09 Thread Philip Hazel
On Wed, 8 Mar 2006, Jürgen Herz wrote: Yes, that's a way to do it. But it's not only complex but also error prone. It requires to split existing smtp and maildrop transports together with their routers that are the same besides one condition in the router. The only way to do re-writing in

[exim] Re: Conditional address rewriting

2006-03-09 Thread Jürgen Herz
Philip Hazel wrote: The only way to do re-writing in some copies of a message but not in others is to do the rewriting in the transport. This is because Exim holds only one copy of a message, however many recipients it has. The general rewriting applies to that one copy, and so applies to

[exim] Re: Conditional address rewriting

2006-03-08 Thread Jürgen Herz
Philip Hazel wrote: Rewriting itself isn't the problem for me, but to apply rewriting to a *sender* depending on the *recipient* is. Any idea? You have to do it in the transport, and control the routing so that all recipients that are handled at once (in a batch) by the transport have

[exim] Re: Conditional address rewriting

2006-03-08 Thread Jürgen Herz
Jürgen Herz wrote: Philip Hazel wrote: Rewriting itself isn't the problem for me, but to apply rewriting to a *sender* depending on the *recipient* is. Any idea? You have to do it in the transport, and control the routing so that all recipients that are handled at once (in a batch) by

Re: [exim] Re: Conditional address rewriting

2006-03-08 Thread Jakob Hirsch
Jürgen Herz wrote: Ah, and the envelope from can't be rewritten in transport. return_path -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/