rules files -> rules files

Chris Trudeau chris at TRUDEAU.ORG
Wed Aug 20 18:30:21 IST 2003


Julian, thanks for the idea of using the CustomConfig.pm...I'll have to take
a look.

You said in your reply:

> Rulesets can't resolve to other rulesets. Just concatenate all your rules
> files together into 1 big ruleset.

I'm not sure I understand (don't intend to be obtuse)...is there a place
where I can craft a single large ruleset for a domain and include all of the
pertinent config parameters for that domain?  I have simply been pointing
MailScanner.conf to rules files for each parameter and making changes for
each domain within each rules file...sounds like there may be an easier
way!?

Sorry if I've missed something.

CT


----- Original Message -----
From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, August 20, 2003 11:56 AM
Subject: Re: rules files -> rules files


> At 14:06 20/08/2003, you wrote:
> >Last dumb question for the day...
> >
> >I have a comprehensive set of user-level rules. Lets just say for spam
> >actions...
> >
> >My MailScanner.conf points to a rules file (which is working fine right
now)
> >which has an assortment of domain/user rules (about 100 of them) in the
> >%rules-dir%/spam.actions.conf file.  I tried to add domain level rules in
> >this file and MaiLScanner was less than happy with that.  For example, I
had
> >the following line:
> >
> >FromOrTo:    example.com    /var/domain_conf/spam.actions.conf
> >
> >then in the file /var/domain_conf/spam.actions.conf, I include the
specific
> >rules:
> >
> >FromOrTo: joe at example.com    deliver
> >
> >If this is a limitation that's fine, it just makes my configuration much
> >more manageable....
>
> Rulesets can't resolve to other rulesets. Just concatenate all your rules
> files together into 1 big ruleset.
>
> Per-domain spam handling is implemented in a Custom Function. Take a look
> at some of the stuff in CustomConfig.pm, there are big comments at the
> start of each block.
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list