Hi,
Is there a way to group rules together for only certain instances?
For example, I want score the porn rules higher on a certain domain.. so I guess I would need something like
header DOMAIN From =~ /filtereddomain.com/i
But is there a way I could then do something like score FREE_PORN 3.0
and only have it work for the DOMAIN rule?
If not, does anyone out there have a custom ruleset for porn that I could tag on to DOMAIN rule?
You can't do that exactly, but you can get a similar effect with a meta rule:
meta LOCAL_DOMAIN_AND_PORN (DOMAIN && FREE_PORN) score LOCAL_DOMAIN_AND_PORN 2.0
This will cause an extra 2 points, on top of the default score for FREE_PORN, to apply.
Also, if you don't want DOMAIN to be scored, you'll need to rename it to __DOMAIN. You can't just set the score to 0, as this disables the rule entirely, and if you don't put a score statement in, the rule gets a score of 1.0.
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk