sa-learn (Slightly OT)

Martin.Hepworth martinh at
Tue Jan 29 08:38:05 GMT 2008


There's plenty of imap perl sa-learn scripts knocking about so you can have a global ham and spam folder then run the perl script on the MailScanner box to grab the email in ham and spam.

If you can't find one contact me off list and I'll drop you over mine.

Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Glenn Steen
> Sent: 28 January 2008 21:28
> To: MailScanner discussion
> Subject: Re: sa-learn (Slightly OT)
> On 28/01/2008, Kyle Schmitt <kyleaschmitt at> wrote:
> > This is slightly OT, since it's a spam assassin specific question.
> >
> > Still, I may have good luck here, so I'll post anyway.
> >
> > I've built up a small collection of spam that's slipped through my
> > MailScanner, and was planning on using sa-learn to train up the bayes
> > filter.
> >
> > The catch?  We use outlook/exchange, and when I save the messages off
> > as text, I don't get much of the header, but if I save it off as a
> > message, it's in some weird outlook format.
> >
> > I tried using sa-learn with the weird outlook messages, and now I'm
> > wondering, was that a good idea.  Out of about 60 messages it claimed
> > to learn 84 tokens.  Should I have it un-learn those?   Will the
> > header anemic text versions be sufficient for learning?  I'm going to
> > assume now that spam assassin won't read in outlook message format.
> >
> > Thanks,
> >         Kyle
> Enable IMAP service and use an IMAP enabled client (MUA... Not
> LookOut!). Does that make M-Sexchange "reassemble" the actual message
> (headers and all)?
> Cheers
> --
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom

More information about the MailScanner mailing list