Re: [EXIM] lsearch ${lookup in filter file?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Dan Birchall
CC: exim-users
Tárgy: Re: [EXIM] lsearch ${lookup in filter file?
On Mon, 26 Jan 1998, Dan Birchall wrote:

> Not really all that logically daunting... but as noted above
> I'm not grasping the syntax (or something) of ${lookup here.
> Here's what I've got as a single-criteria test filter:
>
> if ${lookup{$local_part@$domain:foo}lsearch{/etc/bar}{$value}} is "baz"
> then freeze endif
>
> Over in /etc/bar, I have:
>
> djb@???: foo=baz


Can't see anything wrong at first sight. Try inserting a testprint
command and running the filter testing stuff.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***