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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: 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