Thanks! I hope the new bayes db will work. I'll also use 'spamassassin' command for reporting the mails.
On Fri, Mar 19, 2004 at 11:03:43AM -0500, Matt Kettler wrote: > At 08:10 AM 3/19/2004, Llu'is Batlle i Rossell wrote: > >I'd like to start things over; well, I only want to destroy the bayes > >database > >(now I've disabled that bayes autolearning). I'll feed bayes db manually. > >1st question: How can I 'erase' the whole bayes db? > > rm -f ~/.spamassassin/bayes_* > > > >By now, I only used "sa-learn" command for 'teaching' SA Bayes. > >But now I've razor and pyzor being used by SA, and I'd like also to teach > >them. > >2nd q: Should I use then "spamassassin" command for report or revoke? > > IF the messages are tagged by SA, use spamassassin -r to report them.. it > will automaticaly strip out SA's mangling of the message prior to > submitting it to razor, etc. > > >And... how can call spamassassin report or revoke over a maildir mailbox? > > People have scripts for this. > > >Or sa-learn. > > sa-learn supports maildir by default.. sa-learn ~/maildir/ > > Basicaly, unless you use the --mbox, sa-learn assumes all directories > passed in are maildir, and all single-files are single-email in rfc822 > format. > > Note: DO NOT try to use redirection when doing this. > > > By now, I use a bash line like this inside the > >directory which contains the mail files: > >for a in *; do sa-learn --spam < "$a" ; done > > No need to redirect messages to sa-learn.. that works, but sa-learn is > smart enough to accept filenames as parameters. > > I would however suggest doing a script like the above for spamassassin -r. > -- I will not be using Plan 9 in the creation of weapons of mass destruction to be used by nations other than the US. - Plan 9 downloading license agreement (Lucent technologies)
