rules files -> rules files

Julian Field mailscanner at ecs.soton.ac.uk
Wed Aug 20 16:56:11 IST 2003


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