Author: Marc Perkel Date: To: exim-users Subject: [Exim] Lookup Syntax Help
--- In exim-users@y..., Philip Hazel <ph10@c...> wrote: > 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 ...
I thied that and it doesn't work - anyone know how to do this?