Re: [Exim] IF syntax - confused

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Marc Perkel
CC: exim-users
題目: 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.