Re: [exim] exim rewrite envelope-from for one router only

Góra strony
Delete this message
Reply to this message
Autor: Tim Watts
Data:  
Dla: exim-users
Temat: Re: [exim] exim rewrite envelope-from for one router only
On 22/03/2019 23:39, Jeremy Harris via Exim-users wrote:
> On 21/03/2019 18:15, Tim Watts via Exim-users wrote:
>> Do you think setting a magic X- header and picking that up in the
>> dnslookup routers might be sane?
>
> Perfectly possibly, with appropriate care.
> Don't forget to clean any such headers in ACL
> to avoid contamination from outside.
> Has the disadvantage that the header is left on the message.


Indeed - one must always be mindful of tainted input from outside.

> Another way is to use address_data.
>


"The address_data facility is also useful as a means of passing
information from one router to another, and from a router to a transport."

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html

OK - that's cool - thanks for the tip.

Thi sis all moderately complex so I will have to construct a test setup
rather than mess around in production.

Thank you very much for that :)

--
Tim Watts