[Exim] problems with server condition

Top Page
Delete this message
Reply to this message
Author: Tom Fischer
Date:  
To: exim-users
Subject: [Exim] problems with server condition
Hi,

now i've configured exim to provide AUTH to the clients but i came in trouble
with the server_condition.

server_condition = "${if and{ {eq{$2}{${lookup pgsql}{SELECT name from
exim_emails where domain='$domain' and name='$2'}}} {eq{$3}{${lookup
pgsql}{SELECT password from exim_emails where domain='$domain' and
name='$2'}}} } {1}{0}}}"

Authentication failed for pd9503871.dip.t-dialin.net (ebuz.de)
[217.80.56.113]: 435 Unable to authenticate at present: missing or misplaced
{ or }

Tom