Bug 4256 - sa-learn fails to learn
Summary: sa-learn fails to learn
Status: RESOLVED INVALID
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Learner (show other bugs)
Version: 3.0.2
Hardware: Other Linux
: P5 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords: triage
Depends on:
Blocks:
 
Reported: 2005-04-12 07:50 UTC by Bob SpamAssassin
Modified: 2005-04-12 22:24 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Bob SpamAssassin 2005-04-12 07:50:34 UTC
Running Fedora Core 1.
Upgraded (via DAGs RPMs) from
spamassassin-3.0.2-1.1.fc1.rf.i386.rpm to
spamassassin-3.0.2-2.1.fc1.rf.i386.rpm.

Suddenly, much more spam is getting through. And, sa-learn does not appear to be 
learning.

Example, I run: "sa-learn --spam --mbox SpamMissed"

And get this: "Learned from 169 message(s) (169 message(s) examined)."

It usually does not learn from every message in the mailbox.

If I run it a second time, same message, no learning.

Perhaps the reason that more spam is suddenly get through is because the learner 
is broken and previous learning has been 'forgotten'?
Comment 1 Bob Menschel 2005-04-12 17:01:24 UTC
> Perhaps the reason that more spam is suddenly get through is because the learner 
is broken and previous learning has been 'forgotten'?

Sounds very likely, and if your problem is a corrupt database (which can be
corrupted by a variety of O/S problems, not necessarily an SA bug), then a) the
easy fix is to wipe your Bayes database and start over, and b) you're more
likely to get more help from the SA users' list than through the bugzilla
system. I'd suggest report your problem there and see if that will help resolve it.
Comment 2 Bob SpamAssassin 2005-04-13 06:24:40 UTC
Triage on the database solved the problem, the db was corrupt.

Used the --backup and --restore options to complete the triage.
Will use the --no-sync option for all future training.

Thank you.