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
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/