Szerző: Kevin Shell Dátum: Címzett: Exim Users Tárgy: Re: [exim] Why $domain variable expands to sender domain?
In article <1719e4b6-8bb0-7b71-f171-24c27a7f0cf9@???> you wrote: > 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.
Thanks for the hints, my modified config file now works.