On Wed, Aug 02, 2023 at 04:17:22PM -0500, Thomas Cameron via users wrote:
> On 8/2/23 15:52, David B Funk wrote:
>
> <snip>
>
> I have the users move spam to an imap folder, and then run (via the user's
> cron job):
> 
> sa-learn --mbox --spam /home/[username]/mail/spam
> 
> If something is flagged as spam and it's not supposed to be, I have them
> copy it to the ham folder and I run (also via cron job):
> 
> sa-learn --mbox --ham /home/[username]/mail/spam

                                              ^^^^
Hopefully this is just a typo in your email, but the above line trains
your spam folder as if it's ham. That could easily cause your screwed-up
bayes scores.

--Sean

Reply via email to