Which Bayes files?

Steen, Glenn Glenn.Steen at AP1.SE
Thu Mar 3 17:23:15 GMT 2005


> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Wechsler
> Sent: den 3 mars 2005 18:19
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Which Bayes files?
> 
> 
> Wechsler wrote:
> > Steen, Glenn wrote:
> 
> >> Not MS, but SA. "su - Debian-exim" and run
> >> spamassassin -D -p 
> /etc/MailScanner/spam.assassin.prefs.conf --lint 2>&1
> >> | grep bayes
> >
> >
> > Ahm, thanks. That seems to give me /var/lib/MailScanner/bayes* as my
> > source. Might have to do some tweaking 'round here...
> 
> Right, looks like I do - and, in the interests of letting others learn
> from my mistakes, here's what I need to change:
> 
> I've got crontab tasks running as Debian-exim on two IMAP folders:
> falsepos, and falseneg, as follows: (I'm sure you can guess 
> the other).
> 
> 15 * * * * /usr/bin/sa-learn --mbox --spam 
> /home2/wechsler/mail/falseneg
> 
> This, not-very-surprisingly, learns to 
> "~Debian-exim/.spamassassin/bayes*"
> 
> To get it to learn to the desired location, I just pull in MS's SA
> config file: (the following being really one line)
> 
> /usr/bin/sa-learn --mbox --spam -p \
> /etc/MailScanner/spam.assassin.prefs.conf 
> /home2/wechsler/mail/falseneg
> 
> That seems to learn to the "right place" for me. Make sense to you?
Yep, that would be right... Provided one can trust the ones filling in
the falseneg/falsepos folders:-).

-- Glenn

> 
> 
> Thanks again,
> 
>         Richard
> 
> ------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!
> 

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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