Re: Dest-dependent source rewrite?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: James R Grinter
Ημερομηνία:  
Προς: Philip Hazel, rich
Υ/ο: exim-users
Αντικείμενο: Re: Dest-dependent source rewrite?
On Thu 10 Apr, 1997, Philip Hazel <ph10@???> wrote:
>How do you intend to proceed when a message is being sent to two
>different domains that imply different re-writings for the local
>domains?


I wanted to do something similar to what Rich proposes, and I was
just going to default to an address in such circumstances as you outline
(but, in the first instance, I just wanted to know what would happen).

I tried something like:

jrg@??? ${lookup{$domain}lsearch{/usr/exim/torewrites}{$value}{jrg@}} f F

and /usr/exim/torewrites containing:
    domain:    user@domain


but you can't do that because $domain isn't set during rewrites.

James.