[exim] Exim 4.94 - error linear search

Top Page
Delete this message
Reply to this message
Author: Mikhail Golub
Date:  
To: exim-users
Subject: [exim] Exim 4.94 - error linear search
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_'