Spam Ruleset

Andrew Chester Andrew.Chester at
Tue Feb 2 14:08:38 GMT 2010

mailscanner-bounces at wrote on 2010/02/02 03:48:30 

> On 02/02/2010 11:59, Andrew Chester wrote:
> > Hi There
> >
> > We are using MailScanner as part of a mail gateway for incoming mail, 
> > and I would like to set up a ruleset on what to do when MailScanner 
> > finds spam - I want it to deliver the mail to certain domains, and 
> > bounce the rest, I've had a look at the examples in the rules 
> > directory, and from that I've set up the following in 
> > %rules-dir%/spam.actions.rules:
> >
> > To: *     deliver
> > FromOrTo: default       bounce
> That's a terrible idea, but other people have told you that already.

Ye, I fixed that to forward to a mail-in database, instead.
> >
> > Is that correct, do I need to include any other lines into the 
> > ruleset, or can I leave it with only the two lines above?
> >
> > I then set the "Spam Actions =" field in MailScanner.conf to the 
> > following:
> > Spam Actions = %rules-dir%/spam.actions.rules
> >
> > Is that correct? 
> Yes. Provided you have set %rules-dir% at the top of MailScanner.conf 
> correctly.
Ok, I have the rules-dir set correctly, so I'll give it a try - thanks for 
the help!

CONFIDENTIALITY CLAUSE This message is intended only for the use of the individual or entity to which it is addressed and contains information that is privileged and confidential. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by telephone. 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list