Craig Morrison <craigsa <at> 2cah.com> writes:

> 
> JamesDR wrote:
> > Edward Diener wrote:
> >> Does anybody know the instructions for training SA with the contents 
> >> of the Thunderbird Junk folder ?
> 
> Upload them as single messages to your ISP account. If you have a 
> special folder in TB (Thunderbird) for the messages you want to train on 
> you can find that folder file (in your TB user folder) and upload that. 
> TB stores messages in mbox format which SA can parse.
> 
> > I have my users use the redirect plugin to send spams to an account on 
> > the server just for this purpose. The redirect plugin will add a few 
> > headers (and so will your mail server) that need to be cleaned out 
> > first. If you just train on the junk folder file, you'll have to remove 
> > all of the thunderbird related stuff first -- this was more work than 
> 
> These will help for the TB headers:
> 
> bayes_ignore_header X-Account-Key
> bayes_ignore_header X-UIDL
> bayes_ignore_header X-Mozilla-Status
> bayes_ignore_header X-Mozilla-Status2
> 
> Craig
> 
> 

  sth like this?

  sa-learn --mbox --spam --showdots Thunderbird_Junk_folder?

  beware of dos/unix format after uploaded Junk folder file, as at FreeBSD,
ascii upload seem no problem, but FC3 need to run dos2unix to reformat the
folder file
  hope helpful.





Reply via email to