Re: [Exim] ASMTP Sending with netscape

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Leonardo Boselli
CC: exim-users
Tárgy: Re: [Exim] ASMTP Sending with netscape
On Sat, 30 Sep 2000, Leonardo Boselli wrote:

> 2000-09-30 11:17:01 Authentication failed for ***.dialup.tiscalinet.it
> (***.***.it) [62.11.*.*]: 435 Unable to authenticate at present:
> missing or misplaced { or }
>
> The auth section in exim conf is:
> fixed_plain:
>   driver = plaintext
>   public_name = PLAIN
>   server_condition = "\
>    ${if and {{eq{$2}{$2}}{eq{$3}{lsearch{/home/$2/.ASMTPsecret}}}}{yes}{no}}"


I looked at your line. I got my editor to count the { and } and found
they were balanced. So I started to reformat it to check things, and got
this far

   ${if and {  {eq{$2}{$2}} {eq{$3} {lsearch{/home/$2/.ASMTPsecret}}
                            }
            }
   {yes}{no}
   }


Then I realized your problem. The string

lsearch{/home/$2/.ASMTPsecret}

is not valid expansion syntax. RTFM about ${lookup ...


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.