[Exim] server_condition again

Pàgina inicial
Delete this message
Reply to this message
Autor: Tom Fischer
Data:  
A: exim-users
Assumpte: [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