Re: [exim] combining authentication methods

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: peter
CC: Exim Users Mailing List
Subject: Re: [exim] combining authentication methods
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,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book