[Users] Bogofilter asking to be trained - again.

Graham P Davis newsboy at scarlet-jade.com
Tue Apr 14 12:58:06 CEST 2015


On Mon, 13 Apr 2015 10:51:08 -0400
Charles A Edwards <cae at eslrahc.com> wrote:

> On Mon, 13 Apr 2015 13:43:19 +0100
> Graham P Davis wrote:
> 
> > ----------
> > The Bogofilter plugin couldn't filter a message. The probable cause
> > of the error is that it didn't learn from any mail. Use "/Mark/Mark
> > as spam" and "/Mark/Mark as ham" to train Bogofilter with a few
> > hundred spam and ham messages.
> > ----------
> > 
> > Why, after years of successful filtering, should it suddenly start
> > throwing up this warning?
> 
> 
> It is possible that your ~./bogofilter/wordlist.db is or is becoming
> corrupted.
> 
> Check that the perms on the file are not being changed, it should be
> rw- r-- r--
> 
> You can use
> "bogoutil --db-verify=file" to verify the integrity of your
> wordlist.db 
> 
> If necessary you can try
> "bogoutil --db-recover=dir" to attempt to repair a broken wordlist.
> 
> In a worst case scenario you may need to create a new wordlist.
> 

db-verify says the file is encrypted or not a database. Dolphin
properties says the db type is "unknown". Having assumed "worst-case
scenario" and re-started with a new .bogofilter folder, a new
wordlist.db is said to be an SQLite3 database. 

(Tried db-recover but message said it was an invalid option.)

Seems to be working OK now. Retraining going apace.  ;-)

Thanks.

-- 
Graham P Davis, Bracknell, Berks.
OS: Linux: openSUSE Tumbleweed (64-bit); KDE 4.14.6; Kernel: 3.19.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20150414/6032468f/attachment.sig>


More information about the Users mailing list