Re: [Exim] conditions in filters

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Paul Slootman
Kopio: exim-users
Aihe: Re: [Exim] conditions in filters
On Wed, 10 May 2000, Paul Slootman wrote:

> However, all that aside: I still don't know what I'm doing wrong with
> the "exists" test, and whether such tests can actually be done in a
> filter (a quick try with eq also failed).


There is no explicit "exists" condition in filters, but you can use the
one in expanded strings:

if "${if exists{/some/file}{yes}{no}}" is "yes" then ...

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