Re: [Exim] "3.3" is not a number

Pàgina inicial
Delete this message
Reply to this message
Autor: Jez Hancock
Data:  
A: Exim-users
Assumpte: Re: [Exim] "3.3" is not a number
On Tue, Jan 27, 2004 at 08:12:51PM -0800, Rossz Vamos-Wentworth wrote:
> Mike wrote:
> >Is there any other way around this? perhaps a way to *cast* it has a
> >integer?
>
> Exiscan ACL has an integer version of the score available, so you get
> "33" instead of "3.3".

To wit:

# reject spam at high scores (> 3.3)
    deny   message = Message scored $spam_score > 3.3
    spam = nobody:true
    condition = ${if >{$spam_score_int}{33}{1}{0}}


--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging