Re: [exim] Exim 4.94 - error linear search

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Exim 4.94 - error linear search
On 09/06/2020 11:24, Mikhail Golub via Exim-users wrote:
> 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


Looks like the data returned by your successful lookup using
the "virtual_domains" list, which you didn't show us, returns "M".

However, the require_files should have meant the lookup
was not reached - so perhaps something else happened.
Please give the full debug output (-d+all) from the start of
routing.
--
Cheers,
Jeremy