Re: [exim] Spamassassin + Exiscan

Top Page
Delete this message
Reply to this message
Author: Arthur Hagen
Date:  
To: exim-users
Subject: Re: [exim] Spamassassin + Exiscan
On Sun, 2007-03-04 at 02:21 +0100, Jakob Hirsch wrote:
> Quoting Arthur Hagen:
>
> >> says about $spam_score_int: "The spam score of the message, multiplied
> >> by ten, as an integer value."
> > Imprecise documentation there - is arithmetic rounding, floor, ceiling
> > or other method used? Will 4.95 translate to 49 or 50?
>
> For enlightenment, try printf("%d", (int)49.5) in your favourite C compiler.


Ah, but then you define the method (as C typecasting, which /is/
documented), unlike the exim documentation which neither mentions an
elsewhere documented method nor the algorithm that method uses. Either
would be fine, but as it is, it's imprecise, and the mail admin has to
experiment to find out.

Regards,
--
*Art