Re: [exim] conditional address rewriting for single email ad…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] conditional address rewriting for single email addresses possible?
On 18/01/2020 15:43, Lars Schimmer via Exim-users wrote:
> On 18/01/2020 11:37, Jeremy Harris via Exim-users wrote:
>> On 18/01/2020 10:18, Lars Schimmer via Exim-users wrote:
>>> Any ideas?
>>
>> headers_rewrite, a generic transport option.


> So I would create a new transport and sort all needed emails to use that
> transport?


I'd do this

> Or better in general transport with conditions in the rewrite clauses ?


and not this

> As a rewrite rule I think about this for every email needed a rewrite:
>
> *@* "${if !eq {$receipients}{user123@???} {user123@???}fail}" Ff


For a start, you can't affect the envelope. The docs says this.
--
Cheers,
Jeremy