MailScanner Rules {Scanned} - Read Me!

Julian Field mailscanner at ecs.soton.ac.uk
Wed Jan 28 16:49:45 GMT 2004


At 10:38 28/01/2004, you wrote:
> > > > >Morning,
> > > > >
> > > > >I am trying to get my head around mailscanner rules and I was
> > >wondering
> > > > >if I have this right. Can I write a rule as follows.
> > > > >
> > > > >To:     user at blah       /path/to/their/ruleset.rules ?
> > > > >
> > > > >If not how could I set a rule for a specific address.
> > > >
> > > > To: user at blah value
> > > >
> > > > where "value" is the result of this configuration option for mail
> > >going to
> > > > user at blah.
> > >
> > >In simple terms please for "value" all I see is references to yes or
>no.
> >
> > It can be other things, such as a numerical value or a filename, it is
> > whatever data the configuration option is expecting to get.
> >
> > >Can you give me an example for any mail coming to user at blah to screen
> > >out messages from user at spammerblah.
> >
> > You can only put 1 condition in the test, and you can't have rules
>that
> > point to more rulesets. Sorry, but that's a limitation of the
> > configuration
> > engine I have written. I know it's not perfect, maybe expanding its
> > abilities is something I should look at for the next version, so you
>can
> > at
> > least have "and" in conditions, which would solve this problem.
>
>Trust me to try the impossible :)
>
>It would be good to be able to set user specific filtering rules in
>future though.

I have just implemented a simple "and" operator in the rules.
You can now say things like
         From: joe at friend.com and To: sysadmin at you.com   yes

In other words you can have 2 address tests in each rule. You are only
allowed 1 "and" in each rule.

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list