Re: Dest-dependent source rewrite?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: James R Grinter
日付:  
To: Philip Hazel, rich
CC: 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.