Re: [EXIM] Numeric testing within directors/routers

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Steven A. Reisman
CC: exim-users
Assunto: Re: [EXIM] Numeric testing within directors/routers
On Thu, 2 Jul 1998, Steven A. Reisman wrote:

> To test if "$message_size <= 1000000" how about:
>
>         ${if eq{$substr_-1000000_$message_size:x}{}}


Cunning, but not quite cunning enough! What you need is

${if eq {${expand:\$\{substr_-1000000_$message_size:x\}}} {} {yes} {no} }


-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***