Re: [Exim] IF syntax - confused

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Marc Perkel
CC: exim-users
Asunto: 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.