Re: [Exim] failed to expand condition...

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: R.E Brouwer
Cc: exim-users
Asunto: Re: [Exim] failed to expand condition...
On Mon, 3 Jul 2000, R.E Brouwer wrote:

> Can somebody help me? The next condition fails to expand:
>
> suffix = -*
> condition = ${if eq
> ${perl{suffixcheck}{$local_part}{${substr_1:$local_part_suffix}}}{yes}
> {yes}{no}}
>
> suffixcheck is a simple perl script which return "yes" or "no".


A quick count of the } and { characters shows that there is a { missing.
The syntax of "if" is

${if eq {a}{b}  {x}{y}}
        ^
        ^
  You haven't got this.


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