Re: [exim] Testing for the absence of a header - solution

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Adam Nielsen
Kopio: exim-users
Uudet otsikot: Re: [exim] Testing for the absence of a header
Aihe: Re: [exim] Testing for the absence of a header - solution
On Sun, 15 Oct 2006, Adam Nielsen wrote:

> Okay, well after further research it looks like you can't use the "def"
> condition in a .forward file,


You can, but not directly. Try this:

if "${if def:whatever{yes}{no}}" is "yes" then ...

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book