Hi all.

I changed from SQL TO MySQL and first thing I noticed was that bayes_00 
appeared back so definetly good sign.
Im on sick leave so I only changed my home instance so far...

Thanks Shawn!

________________________________
From: Shawn Iverson <shawniver...@gmail.com>
Sent: Tuesday, 12 November 2024 06:33
To: users@spamassassin.apache.org; Grega
Cc: hg user
Subject: Re: Bayes in V4 compared to V3

On Mon, Nov 11, 2024 at 4:48 PM hg user 
<mercurialu...@gmail.com<mailto:mercurialu...@gmail.com>> wrote:
In spamassassin 3 you could debug bayes points running command line 
spamassassin with "-D bayes" parameter. I think you can in version 4 too.

In the log all the tokens extracted from the message are listed with the points 
assigned, so you can see exactly how the score is calculated.

I had a similar experience in the past: the messages are exactly the same 
content, word by word but the sender hosts were different. So, some of the 
extracted tokens used by the score system were different, and they contributed 
to the final score.

The "-D bayes" parameter was quite informative. Thank you. Turns out the 
database wasn't being read properly with the bayes_store_module in use.  Maybe 
it has something to do with the database collation and character set in use 
(utf8mb4).

Doing this appears to resolve the issue, at least for MariaDB 10.5.22:

Change from:

bayes_store_module               Mail::SpamAssassin::BayesStore::SQL

Change to:

bayes_store_module               Mail::SpamAssassin::BayesStore::MySQL


Reply via email to