Re: [exim] spam_score_int - what to do with negative values?

2023-01-26 Thread Niels Kobschätzki via Exim-users
Jeremy Harris via Exim-users @ 2023-01-26 14:23 : > On 26/01/2023 10:31, Niels Kobschätzki via Exim-users wrote: >> with a score of -12.6 > > How was that part verified? Thanks - I shouldn’t write to mailing lists when I have a cold. I was mislead by the original mail from the user. The mail

Re: [exim] spam_score_int - what to do with negative values?

2023-01-26 Thread Jeremy Harris via Exim-users
On 26/01/2023 10:31, Niels Kobschätzki via Exim-users wrote: with a score of -12.6 How was that part verified? -- Cheers, Jeremy -- ## 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 -

Re: [exim] spam_score_int - what to do with negative values?

2023-01-26 Thread Wolfgang Breyha via Exim-users
On 26/01/2023 14:43, Evgeniy Berdnikov via Exim-users wrote: > 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... But

Re: [exim] spam_score_int - what to do with negative values?

2023-01-26 Thread Evgeniy Berdnikov via Exim-users
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

[exim] spam_score_int - what to do with negative values?

2023-01-26 Thread Niels Kobschätzki via Exim-users
Hi! I deny messages in an acl if they have a score of more than 8 or 12: (shortened version with less conditions, that are not relevant here probably): deny message = delivery error with obfuscating details condition = ${if >{$spam_score_int}{120}{1}{0}} Usually this is no problem. But now I