I am looking for the ham and spam files

Fri Jul 15 00:07:59 IST 2005

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Billy A. Pumphrey wrote:
>> Subject: Re: I am looking for the ham and spam files
> Which one is spam and which one is ham?  Bayes_seen or bayes_toks?

Actually neither...

> So it would be:
> Sa-learn --showdots --mbox --spam bayes_toks(or)bayes_seen	?

Not quite, sa-learn expects e-mails to learn *from*

Since you're specifying --mbox format it would be:

sa-learn --showdots --mbox --spam {path to a mailbox full of spams in mbox


sa-learn --showdots --mbox --ham {path to a mailbox full of hams in mbox

In my case I created a spam user and mailbox to fetch un-caught spam from my
exchange server and once I populate the spam user's mbox with these
un-caught spams I run:

sa-learn --showdots --mbox --spam /var/spool/mail/spam

I noticed others have already addressed your other question about the
starter DB (which worked very well for me BTW) and hope this clears up your
sa-learn question.

Kind regards,

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list