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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: R.E Brouwer
CC: exim-users
Tárgy: 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.