Re: [Exim] ASMTP Sending with netscape

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Leonardo Boselli
Cc: exim-users
Asunto: 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.