Re: [exim] combining authentication methods

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: peter
CC: Exim Users Mailing List
Sujet: 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