LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Problem's with SpamAssassin's sa-learn

[ILUG] Problem's with SpamAssassin's sa-learn

Des Keane des at o2.ie
Sun May 9 17:42:18 IST 2004


Just so, you're missing the "--mbox" option. sa-learn defaults to maildir format (one message per file), whereas you've got mbox format (lots of messages all in one big file, like /var/mail/you).

Give it a whirl, everything else looks fine. BTW, you'll need at least 200 spams *and* 200 hams before SA will use your Bayesian database, so make sure you feed it some ham as well.

Des

----- Original Message -----
From: jm at jmason.org (Justin Mason)
Date: Sunday, May 9, 2004 1:46 am
Subject: Re: [ILUG] Problem's with SpamAssassin's sa-learn

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Conall O'Brien writes:
> > On Sun, May 09, 2004 at 01:14:13AM IST, Justin Mason 
> > <jm at jmason.org> incoherently babbled:
> > 
> > > Conall O'Brien writes:
> > > >debug: 818976341.83991 at fqzofydadeoml@rb21ex.com: already learnt
> > > >correctly, not learning twice
> > > >Learned from 0 message(s) (1 message(s) examined).
> > > 
> > > there's the problem -- it's already been learned correctly, and
> > > sa-learn doesn't want to learn it twice. ;)
> > 
> > But the mailbox isn't being read properly. I'm manually filering all
> > the spam I get into that mailbox, hence why it's got more than 2000
> > messages, some which SpamAssassin recognises, and a lot of spam it
> > didn't catch because I can't train it yet...
> 
> SpamAssassin is only seeing one message.  Sounds like it's not
> expecting whatever the file format is.  I'd suggest making sure
> the command-line switches are right...
> 
> - --j.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Exmh CVS
> 
> iD8DBQFAnX9eQTcbUG5Y7woRAprmAJ0d6UeIfmTImpdyVUjpA6jQlMs/nQCfSSi9
> a8w1b0uLqRegQYTCkoTVsYU=
> =fadb
> -----END PGP SIGNATURE-----
> 
> -- 
> Irish Linux Users' Group
> http://www.linux.ie/mailman/listinfo/ilug/
> 
> 




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell