To train spamassassin
type
sa-learn --spam --mbox <mboxfilename>
or
sa-learn --ham --mbox <mboxfilename>
This works with stanadard unix mail spool files (/var/spool/mail). It
supports other types as well.
man sa-learn is your friend.
HTH
Chris
--
Chris
----------------------------------
E Mail chris@glovercc.clara.co.uk
On Mon, 16 Feb 2004, Graham Trott wrote:
> On Monday 16 February 2004 11:13, Nick Heppleston wrote:
> > Morning ALUGers!
> > I've got an interesting one with false positives in SpamAssassin and I'm
> > hoping someone here might have used or even had the same problem.
> >
> > I have a client who runs a precision instrument business for the
> > scientific industry. They have a number of clients out in Japan and
> > legitimate e-mails from them are being flagged as spam.
> >
> > Our default score for spam is 4 and these messages are coming in ranked
> > at 4.495, hence they are being flagged as spam. I'd be happy to change
> > the setting to mark all messages with a score higher than 5 as spam for
> > this client, but that wouldn't stop a small number of spam messages (10)
> > I've received today alone in my own Inbox.
> >
> > We have identified some phrases we believe might be causing the high
> > ranking but I don't actually know how to train SA that these phrases are
> > ok and shouldn't be marked as spam. Apart from increasing (or is it
> > decreasing) the spam ranking for the clients domain to 5, I can't see a
> > way around this.
> >
> > Any suggestions?
> >
> > Nick
>
> Although I have SpamAssassin working with postfix I can't figure how to train
> it. So I'm using bogofilter on the client, as a KMail filter to catch the
> increasing amount of stuff SpamAssassin lets through. Bogofilter is easy to
> train (just throw a couple of KMail folders at it), catches most stuff and
> hasn't yet given me a single false positive. I can thoroughly recommend it
> as a client-side solution.
>
> Nick's message prompted me to look see if I could use it on the server in
> place of SpamAssassin. A quick search came up with
>
>
http://cvs.sourceforge.net/viewcvs.py/bogofilter/bogofilter/doc/
> integrating-with-postfix?rev=1.3
>
> I intend to have a go with it - has anyone else already done so?
>
> -- GT
>
> -- GT
>
>
> _______________________________________________
> main@lists.alug.org.uk
>
http://www.alug.org.uk/
>
http://lists.alug.org.uk/mailman/listinfo/main
> Unsubscribe? See message headers or the web site above!
>
>
>