https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228

--- Comment #18 from Mark Martinec <[email protected]> 2009-12-17 13:13:20 
UTC ---
Created an attachment (id=4612)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4612)
proposed hackish patch

Here is a proposed patch, based on both Anthony's patches
(without the logging change patch).

The hackish smaller part (sa-learn.raw) is copying the plugin bayes
object to where the learner expects it. This will need to be
redesigned one day.

The larger patch section on Plugin/Bayes.pm is just a simplification
(pushed Anthony's suggestion even a bit further) and added debugging,
no change in functionality there.

I tried it on Mail::SpamAssassin::BayesStore::MySQL and on the
default Mail::SpamAssassin::BayesStore::DBM backend, seems to work,
both the sa-learner --dump and --backup, as well as the normal
mail scanning operation with autolearning.

I suggest we roll it in to close this bug, then retarget it
to 3.3.1 for a cleaner solution.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to