Re: [exim] Two nested 'dsearch' to avoid tainted data ?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Olaf Hopp (SCC)
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Two nested 'dsearch' to avoid tainted data ?
On 12/14/21 14:31, Jeremy Harris via Exim-users wrote:
> On 14/12/2021 12:58, Olaf Hopp (SCC) via Exim-users wrote:
>> is there a more elegant solution ?
>
> If the router calling that transport, or some previous router
> in the chain preceding, happened to have done successful
> domain= and/or local_parts= tests, then the corresponding _data
> variables will be usable.


Hi Jeremy,
ok, I see the point. In the calling router I still have the "old"
    require_files = /etc/exim4/autoreply/${domain}/${local_part}.msg
which does not throw "tainted data" errors.
So I can shift the logic to the router (make it complicated there)
and use local_part_data / domain_data in the corresponding (simplified) transport.
I'll give it a try.


Thanks, Olaf

--
Karlsruher Institut für Technologie (KIT)
Steinbuch Centre for Computing (SCC)

Dipl.-Geophys. Olaf Hopp

Zirkel 2
Gebäude 20.21, Raum 316
76131 Karlsruhe

Telefon: +49 721 608-48009
E-Mail: Olaf.Hopp@???
Web: www.scc.kit.edu

Sitz der Körperschaft:
Kaiserstraße 12, 76131 Karlsruhe

KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft