Training MS/SA & Mailwatch

Martin.Hepworth martinh at
Wed Sep 10 07:23:18 IST 2008


This more of a MW question, so best to ask on that list.

But a pointer is that you need 'store' all messages as an action for spam and non spam, so MW can have access to the message in order to learn them.

As for off-host learning, best option is an Imap folder for spam and ham, then use one of many perl scripts floating about the SA site to pull them into your local bayes db.

Have a lookn the MS wiki also for a section on getting the most out of spamassassin.


-----Original Message-----
From: Allan Spencer <allan at>
Sent: Wednesday, September 10, 2008 5:18 AM
To: MailScanner discussion <mailscanner at>
Subject: Training MS/SA & Mailwatch

Firstly please forgive me for being a bit of a newb but am looking at trying to train our MS/SA system to catch some of the spam thats getting through hopefully through the Mailwatch UI .Our MS doesn't accept any local mail and relays off to various Lotus Domino servers so not sure if this has an impact on the training capabilities

Running Centos 4.x MS 4.71, SA 3.2.5, & ClamAV 0.94

The only other SA rules I've added are the KAM ones and I *THINK* I've got fuzzyocr working (which I will probably ditch shortly)
In MW messages that have already been caught as a virus show me the option to learn as spam/ham (even though this is obvious) but no other messages give me this option.

At the moment just need some starting points and directions towards a newb guide and maybe someone to have a glance over config file and  --lint outputs to verify

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