Rules Question

Martin.Hepworth martinh at
Tue Feb 26 13:40:46 GMT 2008


Yes you need set up a rule with both sets.
If you do this you'll still be subject to the mailscanner 'scans' for filetypes etc.

There's a big on/off switch in the top level "Scan Messages" setting.

Be aware though most spam fakes the from address and can indeed be from:fred at  to:fred at

So doing this with domains can undesired effects, it's better to use ip-addresses is at possible.

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 Darren Walker
> Sent: 26 February 2008 12:12
> To: MailScanner discussion
> Subject: Rules Question
> Hi
> This may sound an odd question, but if we have a rule set as follows  from
> the EXAMPLES file
> # Only virus scan some domains
> #  Set "Virus Scanning = /etc/MailScanner/rules/virus.scanning.rules".
> Does this mean that the domains excluded from the list are not virus
> scanned, but are still scanned by spamassassin, or do we need to create a
> list a follows
> # Only spam scan some domains
> #  Set "? = /etc/MailScanner/rules/spam.scanning.rules".
> If so what do we replace the ? with - the option seems to use spamasassin
> or
> not.
> Thanks
> Darren
> --
> This message has been scanned for viruses and
> dangerous content by Torsion Internet Ltd, and is
> believed to be clean.
> --
> 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