Re: [Exim] Problems with condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico Erfurth
Dátum:  
Címzett: Frank Elsner
CC: Exim users list
Tárgy: Re: [Exim] Problems with condition
On Fri, 1 Nov 2002, Frank Elsner wrote:

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

....
> 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.


Just a little syntax-error
${if crypteq {$2} \
{${lookup{$1}dbm{DBM/auth/asmtp}{$value}{:fail:}}{yes}{no}}
                                                ^ This one was missing


And it's better to use :fail: (IMHO).

ciao