著者: Jeremy Harris 日付: To: exim-users 題目: Re: [exim] Why $domain variable expands to sender domain?
On 18/08/2020 03:08, Kevin Shell via Exim-users wrote: > I want to rewrite sender address conditionally based on recipent domain, i.e.
> if recipent domain is in local domains, don't do rewrite
> else rewrite envelope and header sender address.
>
> Is it possible to do this in Exim?
Use headers_rewrite and return_path on the outbound transport.
--
Cheers,
Jeremy