Re: [exim] Why $domain variable expands to sender domain?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Why $domain variable expands to sender domain?
On 16/08/2020 01:43, Kevin Shell via Exim-users wrote:
> begin rewrite
> *@+local_domains  "${if inlist {$domain}{LOCAL_DOMAINS} \
>         {$local_part@$domain}\
>       {${lookup{${local_part@${domain}}}lsearch{CONFDIR/email-addresses}{$value}fail}}}" Ffrs


> Why $domain expands to sender domain?


It is doing what the docs say:

(address rewriting chapter, section 6)

"Within the expansion, the variables $local_part and $domain refer to
the address that is being rewritten"
--
Cheers,
Jeremy