[exim] 2 MySQL Lookups in 1 condition

Pàgina inicial
Delete this message
Reply to this message
Autor: Christian Hertel
Data:  
A: exim-users
Assumpte: [exim] 2 MySQL Lookups in 1 condition
Hello all,

I'd like to check if 1 of 2 MySQL Queries returned an result in one
condition, so I wrote this line:

condition     = "${if or { {${lookup
mysql{MYSQL_Q_VALIDLOCALEMAILADDR}}} {${lookup
mysql{MYSQL_Q_VALIDLOCALMAILBOX}}} {no}{yes} } }"



But it does not work, exim always says "condition name expected, but
found ${lookup mysql{S". What is wrong with this line condition?

{$lookup mysql{... works well if it stands alone, so why does it not
work as subcondition?


Cheers,

--
Christian Hertel
Netze/Betrieb

infoServe GmbH
Nell-Breuning-Allee 6
D-66115 Saarbruecken

T: (0681) 8 80 08 - 59
F: (0681) 8 80 08 - 33
www.infos.de
mailto:c.hertel@infos.de