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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: 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.