Re: [Exim] IF syntax - confused

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc Perkel
CC: exim-users
Subject: Re: [Exim] IF syntax - confused
On Fri, 30 Nov 2001, Marc Perkel wrote:

> OK - I'm confused about how to do the syntax on this.
>
> I want to do an if conditional in a filter where I want to determine if
> "string" is in a file that contains a list of prohibited email address -
> like this:
>
> savebig@*
> joe@???
>
> How do I write that conditional?



if ${lookup{string}lsearch{/the/file}{yes}{no}} is yes then ...



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.