[Exim] server_condition again

Top Page
Delete this message
Reply to this message
Author: Tom Fischer
Date:  
To: exim-users
Subject: [Exim] server_condition again
hi again...

server_condition = "${if and{   \
        {eq{$2}         \
        {${lookup pgsql}{SELECT name from exim_email where name='$2'}}} \
        {eq{$3} \
        {${lookup pgsql}{SELECT passwort from exim_email where name='$2' and 
passwort='$3'}}}   \
         }      \
         {1}{0}}"


435 Unable to authenticate at present: missing or misplaced { or }

i think i'm to stupid for conditions. I've read the manual again and again
but can't find any clue