On Sun, 10 Aug 2003, Martin Radford wrote: > At Sun Aug 10 10:45:08 2003, Gareth wrote: > > > I'm using mbox, so I guess that wouldn't work for me... maybe I can just > > empty the mbox file? > > > > /usr/bin/sa-learn --spam --mbox /var/spool/mail/spam > > echo > /var/spool/mail/spam > > /usr/bin/sa-learn --ham --mbox /var/spool/mail/ham > > echo > /var/spool/mail/ham > > > > That doesn't completely empty the file, it makes it 1 byte.... If I just go > > ahead and delete the file totally, I get all kinds of errors! Maybe rm then > > touch? > > Get rid of the "echo": > > > /var/spool/mail/spam > > /var/spool/mail/ham > > should do the trick. > > Martin
I don't understand why you need to run this against the normal non-spam mail. Shouldn't all the ham have already passed through spamassassin and be "learned". I manually move any spam that slipped through to my current mail to a spam mailbox and then later do an sa-learn as spam on it. I've never bothered to learn the ham or the spam that spamassassin has already passed correctly. -- Gerry "The lyfe so short, the craft so long to learne" Chaucer ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk