- b4b3739074 Merge pull request #4930 from aduernberger/bayes_relearn [Fix] Relearn messages in bayes filter
- 26f96b81fd [Fix] Increase/decrease hash_key value for tokens depending on is_unlearn When relearning a message, this script is called twice: 1. With `is_unlearn` true and the old `is_spam` value 2. With `is_unlearn` false and the new `is_spam` value If `is_unlearn` is true, the code should not increase the value of the hash_key. Decreasing it ensures that it behaves like a fresh learn with the new is_spam value.
- ccc1716bb5 [Fix] Update is_spam in learned_ids when relearning
- 20f6d7103e [Fix] Always set the unlearn flag when relearning Treat relearning from ham to spam the same as relearning from spam to ham. `res` is only set to true if the mail is already learned.
- Compare 4 commits »