Rule-sets within a Rule-set

Julian Field mailscanner at ecs.soton.ac.uk
Sat Nov 15 20:07:26 GMT 2003


At 19:53 15/11/2003, you wrote:
>Hello
>This is my first Posting on this list,.
>I was wodereing with it is possibile to use this exemple setup:
>
>Use the spam whitelist with a rule set:
>Is Definitely Not Spam = /opt/MailScanner/etc/rules/spam.whitelist.rules
>
>Then inside the "/opt/MailScanner/etc/rules/spam.whitelist.rules" file
>have something like this:
>
># This is where you can build a Spam WhiteList
># Addresses matching in here, with the value
># "yes" will never be marked as spam.
>#From:          152.78.         yes
>#From:          130.246.        yes
>To:               userone
>/opt/MailScanner/etc/rules/users/spam.whitelist.userone.rules
>To:               usertwo
>/opt/MailScanner/etc/rules/users/spam.whitelist.usertwo.rules
>FromOrTo:       default         no
>
>then in the "/opt/MailScanner/etc/rules/users/spam.whitelist.userone.rules"
>
>is where the actual white list rule set is, but for individual users on
>the server.
>
>It is possible to use this now? or easy to implement?

You can't have rulesets within rulesets. However, to implement per-domain
and/or per-user black+white lists, please see the support for these that is
implemented in CustomConfig.pm. It explains how to do it in there.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
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