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

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