I want block spam, based on certain body text patterns that I detect. I tried the following in my local.cf, but it does not seem to be working. Do I have to do this in my amavis config file? If so, how do I do that?
body LOCAL_DEMONSTRATION_RULE /lottery/
score LOCAL_DEMONSTRATION_RULE 4
describe LOCAL_DEMONSTRATION_RULE This is my test rule