Hi Konstantin,

The expression expects an integer, not a floating point number.
Maybe you can multiply your numbers by 10 ?

(spamassassin provides a variable $spam_score_int which gives 151 instead of 15.1 in $spam_score)


Vriendelijke groeten,
Best regards,


        Bit-IT - Steven Broos

[email protected]
+32 (0) 470 56 20 45

BE 0881.128.303


P Please consider the environment before printing this email.
On 3/06/2014 12:45, Konstantin wrote:
Hi

Can someone explain why following condition does not work with
floating-point values?

exim -be '${if >={15.1}{14}{yes}{no}}'
Failed: invalid integer "15.1"

Thanks.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to