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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Odhiambo G. Washington
CC: Exim Users
Sujet: 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.