I think having a look at the code itself is a good idea. I'm not sure if
it's up-to-date but you can find some information on
https://cwiki.apache.org/confluence/display/SPAMASSASSIN/DevelopmentStuff
I've found that just reporting issues on SA's bugzilla is completely
useless since it's just used as a fancy interface to display email
conversations of the development list. Newly reported bugs or issues
often go ignored by email and their status is never changed since no one
uses the interface to manage bugs, this means that bugzilla is filled to
the brim with hundreds of bugs marked as new, of which some are actual
bugs and large parts are just questions or fixed problems that were
never closed. Bugzilla is also very buggy, for example when I press "my
bugs", I get a list of 373 bugs, some predating the existence of my
account, and obviously I didn't take part in the discussion of almost
all of them. So keep in mind that Bugzilla can be untrustworthy and that
the dev mailing list mentioned on
https://cwiki.apache.org/confluence/display/SPAMASSASSIN/mailinglists is
connected to that.
If you're planning to work on the Bayes plugin, I can tell you there are
several problems with it I've reported in the past that have gone ignored:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7904
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7905
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7906
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7907
I assume many others have also reported valid bugs, but they can be hard
to find between the many questions that have been asked on
https://bz.apache.org/SpamAssassin/buglist.cgi?quicksearch=bayes&list_id=34478
and I'm also not too sure we can trust the search functionality.
I hope I'm not passing on too much of a negative message. It would be
great of someone had a look at the Bayes autolearn code. I think it
would be a great service to the community!
Bert
On 22/09/2021 03:29, Matt Corallo wrote:
On 9/21/21 18:01, Loren Wilton wrote:
None of these seem to accomplish disabling learning for a specific rule
I think the problem is that I believe Bayes works off of the total
score, and probably only sees rule names as more tokens, if it sees
them at all. If it indeed works off the total score, about all you
can do is somehow tweak that score for a given rule or rule combination.
Right, I expected roughly as much from the docs I could find. Two
things, then:
(1) maybe time to revisit the old discussions of providing this as a
default feature?,
(2) where would I go to look at building a plugin for this? Ideally
something that ends up upstream, but though I can write code, I know
no perl :).
Matt