[From the original posting]:

> This is probably just a failure in my reading the documentation, but I
> see the following error and I can't see why it's trying to open a
> file 
>
> 14:43:22 27954 failed to open /'#[email protected] when checking
> "/'#[email protected]": No such file or directory 
>
> It's processing this condition in an ACL 
>
> hosts =
>
${lookup{$header_x-imf-override-originator:}nwildlsearch{/path/to/file}}
>
> and the file contains 
>
> /'#[email protected] 10.20.30.40 
>
> Now I can't see anything in the documentation that suggests
> nwildlsearch will try to open a file for a line/key stating with "/" 
>
It's difficult to say whether this is a bug in the nwildlsearch
processing or not, or whether it is an unusual situation that simply has
not been documented.

The ${lookup will cause string expansion, and that includes the key. So
from that exim should interpret the leading '/' as being the start of a
pathname. However, you have specified nwildlsearch, so it may well be
that no expansion of the key should occur.

Regardless, if you escape the leading '/' in your file, you should then
find that the lookup works correctly - i.e. no panic log entry. E.g.

       \/'#[email protected] 10.20.30.40



John.

-- 
John Horne, University of Plymouth, UK
Tel: +44 (0)1752 587287    Fax: +44 (0)1752 587001


-- 
## List details at http://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