Hi,

I have here a router which yields tainted data and I don‘t understand why - 
especially since it works on some machines and not on others:

Log-output:

exim -v -bt [email protected]

LOG: MAIN PANIC
  Tainted filename '/usr/local/etc/exim/redirects/domain.com'
[email protected] cannot be resolved at this time: dynamic_reroute router: 
failed to expand "${readfile{/usr/local/etc/exim/redirects/$domain}{}}": failed 
to open /usr/local/etc/exim/redirects/domain.com: Permission denied (euid=0 
egid=9025)

dynamic_reroute:
    driver = manualroute
    transport = remote_smtp
    domains = dsearch,ret=key;/usr/local/etc/exim/redirects
    route_list = * ${readfile{/usr/local/etc/exim/redirects/$domain_data}{}}

in the directory /use/local/etc/exit/redirects are files that look like 
„domain.com“ and contain just an ip-address.

Why is the data tainted? I use a dsearch with a return-value and $domain_data 
for the route_list. So it should be de-tainted, shouldn‘t it?

Best,

Niels

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
## 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/

Reply via email to