After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325210 - Plugin Spam learn can not work correctly
Plugin Spam learn can not work correctly
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-12-29 10:15 UTC by ShiPu
Modified: 2013-09-13 00:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
create a func to get spamassassin version. (2.54 KB, patch)
2005-12-29 11:03 UTC, ShiPu
none Details | Review

Description ShiPu 2005-12-29 10:15:08 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:
Comment 1 ShiPu 2005-12-29 10:22:59 UTC
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.
Comment 2 ShiPu 2005-12-29 11:03:51 UTC
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.
Comment 3 André Klapper 2005-12-29 13:07:04 UTC
targetting this to 2.5
Comment 4 André Klapper 2006-01-01 14:29:46 UTC
shipu,
looking at bug 305056, do you share that opinion there (using spamassassin instead of sa-learn)? thanks in advance
Comment 5 parthasarathi susarla 2006-01-04 04:54:34 UTC
The patch looks good. Have you looked into the bug 305056?? I think it makes sense. 
Comment 6 ShiPu 2006-01-04 09:08:59 UTC
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.