So, reading some history, I can see that a few years back, Bayes was made a
plugin to allow it to be replaced, according to bug 5293. Apparently, this
is in Spamassassin 3.3.1 as I found it in the code.

I might want to do just that. So, here's what I would like: Internal Bayes
would be off, my Bayes would be on. sa-learn would still work. So, looking
through the code, near as I can tell, I would need to:

Not load Mail::SpamAssassin::Plugin::Bayes in the configuration file,
instead, load my plugin file. My plugin file would HAVE to be package
Mail::SpamAssassin::Plugin::Bayes else it would appear other code breaks. I
would of course need to write the plugin using the existing Bayes plugin as
a starting point to interface with another system and use their same
interface.

If the above is all true, then, sa-learn may well work since it is hard
coded to load Mail::SpamAssassin::Plugin::Bayes. So, perhaps, it is possible
now to 100% replace bayes with another system using a plugin.

Not sure if anyone has done this, but, if any dev listening, any thoughts if
this would work? Any issues come to mind?

Steve
-- 
View this message in context: 
http://old.nabble.com/Replace-built-in-Bayes-with-another-tp31847048p31847048.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to