Sam Michaels schrieb:
> http://www.exim.org/exim-html-4.50/doc/html/spec_11.html#IX971
>
> server_condition = "${if or {{firstonehere}{secondonehere}}{yes}{no}}"
>
Ok. The goal is "in clear words":
"If the mysql-lookup OR the file-lookup succeeds, then the sever
condition is true"
Following the rule above (as good as I could) I setup the authenticator:
server_condition = \
"${if or {\
{lookup mysql{SELECT '1' FROM users \
WHERE username = '${quote_mysql:$2}' \
AND clear = '${quote_mysql:$3}'}} \
{crypteq{$3}{${extract{1}{:}{${lookup{$2}\
lsearch{CONFDIR/passwd}{$value}{*:*}}}}}}}\
{1}{0}}"
and I get:
435 Unable to authenticate at present (set_id=**********): unknown
condition "lookup" inside "or{...}" condition
I'm "slightly" confused at this point.