GNOME Bugzilla – Bug 325210
Plugin Spam learn can not work correctly
Last modified: 2013-09-13 00:50:41 UTC
Please describe the problem: evolution is using based on an old version of spamassassin, the option of "sa-learn" - "rebuild" and "no-rebuild" has been depreciated by SpamAssassin 3.0, it using "sync" and "no-sync" instead. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
In SpamAssassin 2.X, sa-learn uses option "rebuild" and "no-rebuild", but in version after 3.0.0, sa-learn uses option "sync" and "no-sync". it is necessary to get the spamassassin version before set sa-learn's option.
Created attachment 56502 [details] [review] create a func to get spamassassin version. Function get_spamassassin_version() analysize the output of "sa-learn --version", and get the main version No.
targetting this to 2.5
shipu, looking at bug 305056, do you share that opinion there (using spamassassin instead of sa-learn)? thanks in advance
The patch looks good. Have you looked into the bug 305056?? I think it makes sense.
yup, i see that, as evolution first report spam, then commit it to bayesDB, does "spamassassin -r" learn to database directly? BTW, the patch has been checked in. And i would also pay attention about bug 305056.