Hello.
 
On Thu, Jan 26, 2023 at 11:31:24AM +0100, Niels Kobschätzki via Exim-users 
wrote:
> deny  message = delivery error with obfuscating details
> condition = ${if >{$spam_score_int}{120}{1}{0}}
> 
> Usually this is no problem. But now I have a user who got a mail that was 
> denied with a score of -12.6 and an error message that tells me that it got 
> denied because of this rule.
> 
> Now I wonder if spam_score_int is actually an absolute value and 12.6 and 
> -12.6 are the same in the comparison.
> 
> If this is the case, what can I do about it?

 The ">" comparison operator accepts integers, argument "-12.6" should raise
 an error. Negative values are valid. You can strip out dot with ${sg{..}},
 for example. Maybe there are some more elegant solutions...
-- 
 Eugene Berdnikov

-- 
## 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