Re: [Exim] IF syntax - confused

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Marc Perkel
CC: exim-users
Sujet: 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.