Re: [Exim] Which of these two expansions is correct?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Odhiambo G. Washington
Kopio: Exim Users
Aihe: Re: [Exim] Which of these two expansions is correct?
On Tue, 12 Nov 2002, Odhiambo G. Washington wrote:

> > ${if > {$message_size} {${lookup {$local_part} lsearch{/usr/local/etc/exim/bounce_because_size}{$value}} {4M}} {:fail:}}
> Failed: " {4M" is not a number


The lookup presumably failed, and therefore returned an empty string. So
you ended up with

${if > {$message_size} { {4M}} {:fail:}}

which provokes the error you see.


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