Ruleset Woe {Scanned by Allteks Mailsafe}

Paul Houselander housey at sme-ecom.co.uk
Tue Oct 16 11:03:45 IST 2007


I didnt think the default statement worked like that? My understanding was
it would scan through and if there was no other match the default would
apply?

If it worked the way you describe no mail on my system would be scanned as
both the default statements in my rulesets are the 1st entries and both
default to No.

Im running MailScanner 4.64.3 if that makes any difference

Cheers

Paul

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info]On Behalf Of
> Martin.Hepworth
> Sent: 16 October 2007 10:54
> To: MailScanner discussion
> Subject: RE: Ruleset Woe {Scanned by Allteks Mailsafe}
>
>
> Paul
>
> The default line needs to go last.
>
> MS works through the rulesets till it find a hit then stops.
>
> If it finds a default line first if will never evaluate any rule
> after that.
>
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
>
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> > bounces at lists.mailscanner.info] On Behalf Of Paul Houselander
> > Sent: 16 October 2007 10:50
> > To: mailscanner at lists.mailscanner.info
> > Subject: Ruleset Woe
> >
> > Hi
> >
> > I thought I had a decent handle on how rulesets worked but now im not so
> > sure.
> >
> > I have a script that runs on a server that sends a daily csv file
> > containing
> > info about all the mail thats been blocked for a particluar domain.
> >
> > Since I started using the sane security clam definitions this mail keeps
> > getting flagged as a virus.
> >
> > Ive tried to use rulesets to exclude this particluar email from being
> > virus
> > checked
> >
> > I have these rulesets set up
> >
> > Scan Messages = %rules-dir%/scan.messages.rules
> > Virus Scanning = %rules-dir%/virus.scanning.rules
> >
> > The Email is sent from the local machine (127.0.0.1) and From:
> > admin at domain.com To: paul at differentdomain.com
> >
> > Ive tried the following in scan.messages.rules
> >
> > FromOrTo:	default	no
> > From:	admin at domain.com	no
> > FromOrTo:	*@differentdomain.com	yes
> >
> > But the message gets scanned (I want all other email scanned for the
> > domain)
> >
> > I also tried
> >
> > FromOrTo:	default	no
> > From:	127.0.0.1	no
> > From:	admin at domain.com	no
> > FromOrTo:	*@differentdomain.com	yes
> >
> > and the message still got scanned.
> >
> > I then tried in virus.scanning.rules
> >
> > FromOrTo:	default	no
> > From:	127.0.0.1	AND	To:	*@differentdomain.com	no
> > From:	admin at domain.com	AND	To:
> *@differentdomain.com	no
> > FromOrTo:	*@differentdomain.com	yes
> >
> > and still the message got scanned (I am doing MailScanner reload after
> > each
> > edit)
> >
> > Any ideals on what im doing wrong.
> >
> > Kind Regards
> >
> > Paul
> >
> >
> >
> >
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > 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
> **********************************************************************
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
> This message has been scanned by the Allteks Mailsafe Service
>
>
>




More information about the MailScanner mailing list