Re: [exim] tainted data issues

Pàgina inicial
Delete this message
Reply to this message
Autor: Gary Stainburn
Data:  
A: exim-users
Assumpte: Re: [exim] tainted data issues
Okay, so I've read everything and I'm now lost.

I've got a router for non-standard domains, i.e. domains I manage that
don't follow the main config. The domainlist is defined at the top of
the config file, so that isn't tainted.  Below are the original and
modified routers. My problem is that EXIM is still saying that the
filename  is tainted.

What do I need to do?

Original version of router

non_std_aliases:
  driver = redirect
  domains = +non_std_domains
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/aliases.d/$domain}}
  file_transport = address_file
  pipe_transport = address_pipe

Modified version

non_std_aliases:
  driver = redirect
  domains = +non_std_domains
  allow_fail
  allow_defer
  data = ${if
exits{/etc/aliases.d/$domain}{${lookup{$local_part}lsearch{/etc/aliases.d/$domain}}}
  file_transport = address_file
  pipe_transport = address_pipe