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

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Odhiambo G. Washington
CC: Exim Users
Assumpte: 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.