[Exim] Problems with condition

Top Page
Delete this message
Reply to this message
Author: Frank Elsner
Date:  
To: Exim users list
Subject: [Exim] Problems with condition

Sorry to bother you with my problem but I need to reduce my current
authentication which is

plain:
driver = plaintext
public_name = PLAIN
server_condition = \
"${if or {\
{crypteq {$3} {${lookup{$2}dbm{DBM/auth/asmtp}{$value}{junk}}}}\
{crypteq {$3} {${lookup{$2}dbm{DBM/auth/mailszrz}{$value}{junk}}}}\
{crypteq {$3} {${lookup{$2}dbm{DBM/auth/linux}{$value}{junk}}}}\
{crypteq {$3} {${lookup{$2}dbm{DBM/auth/sp}{$value}{junk}}}}\
{crypteq {$3} {${lookup{$2}dbm{DBM/auth/chili}{$value}{junk}}}}\
}{yes}{no} }"
server_set_id = $2

to a a form where only file "DBM/auth/asmtp" will be used.

Using my new version

plain:
driver = plaintext
public_name = PLAIN
server_condition = \
${if crypteq {$2} {${lookup{$1}dbm{DBM/auth/asmtp}{$value}{junk}{yes}{no}}
server_set_id = $2#

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

I can't see it, so plewase help me.


Kind regard    _______________________________________________________________
Frank Elsner  /                         c/o  Technische Universitaet Berlin   |
 ____________/                               ZRZ, Sekr. E-N 50                |

|                                            Einsteinufer 17                  |
| Voice: +49 30 314 23897                    D-10587 Berlin                   |
| SMTP : Elsner@???             Germany    ______________________|

|_______________________________________________________| Momentan ist richtig