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}{[email protected]} {[email protected]}fail}" Ff
For a start, you can't affect the envelope. The docs says this.
--
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/