Hi.

I took the simplest router from the documentation.

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

forwarding_router:
  domains = +virtual_domains
  require_files = EXIMDIR/domains/$domain_data
  driver = redirect
  srs = forward
  data = ${lookup{$local_part_data}lsearch*{EXIMDIR/domains/$domain_data}}
  allow_fail

After run:
./exim -C /usr/local/etc/exim/configure-494 -d-all+route -bt test_address
I get:
message: failed to expand "${lookup{$local_part_data}lsearch*{/usr/local/etc/exim/domains/$domain_data}}": failed to open /usr/local/etc/exim/domains/M for linear search: No such file or directory

After replace $domain_data to $domain (work in 4.93), i get this:
LOG: MAIN PANIC
  Tainted filename for search: '/usr/local/etc/exim/domains/_mydomain_'


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