On Wed, 8 Jun 2005, Peter Bowyer wrote:

> $if { or {${lookup mysql {blah}{1}{0}} { something else } }

That will not work. After "or" you need a number of *conditions*, each 
in braces. Section 11.7 of the 4.50 manual describes all the available 
conditions. Conditions are things like

  eq{string1}{string2}
  exists{filename}
 
As the result of your expansion is either "1" or "0", it cannot possibly 
be a valid condition.

-- 
Philip Hazel            University of Cambridge Computing Service,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to