RE: [SAtalk] sa-learn running as cron job

2003-08-14 Thread Bill
[EMAIL PROTECTED] wrote: > Subject: [SAtalk] sa-learn running as cron job > > > Hi Everyone > > RH Linux 8.0 > SpamAssassin 2.55 > Procmail 3.22-7 > > I have two mailboxes set-up, one called ham and spam, and any > messages wrongly identified by SpamAssassin are transferred > (with complete hea

RE: [SAtalk] sa-learn running as cron job

2003-08-14 Thread Gareth
> > /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 totall

Re: [SAtalk] sa-learn running as cron job

2003-08-14 Thread Martin Radford
At Sun Aug 10 12:49:31 2003, Gerry Doris wrote: > > 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". No. When it comes to auto-learning, there are three classifications for mess

RE: [SAtalk] sa-learn running as cron job

2003-08-14 Thread Gareth
> > > /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 > > > > I don't understand why you need to run this against the normal non-spam > mail. Shouldn't all the ham have

Re: [SAtalk] sa-learn running as cron job

2003-08-14 Thread Gerry Doris
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/bi

RE: [SAtalk] sa-learn running as cron job

2003-08-10 Thread Gareth
> > Here is the file I call from cron.daily, you can also call it manually. I > put it in /usr/sbin > > snip--- > #!/bin/sh > > /usr/bin/sa-learn -x --ham --dir > /home/e-smith/files/users/not-spam/Maildir/cur > /usr/bin/sa-learn -x --spam --dir > /home/e-smith/files/users/is-spam/Maildir/cur >

Re: [SAtalk] sa-learn running as cron job

2003-08-10 Thread Martin Radford
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/sp

RE: [SAtalk] sa-learn running as cron job

2003-08-09 Thread Gareth
> > I want to set-up a cron job to process these daily using sa-learn. > > > > 'sa-learn --spam --mbox spam -D' produces the following error :-( > > my first suggestion is to use full paths to your mailboxes. > I've just tried /usr/bin/sa-learn --spam --mbox /var/spool/mail/spam ...and it w