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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: R.E Brouwer
Υ/ο: exim-users
Αντικείμενο: 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.