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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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