Re: Dest-dependent source rewrite?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: James R Grinter
Date:  
À: Philip Hazel, rich
CC: exim-users
Sujet: 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.