How to block spam using body text.

Help
JimZ
2004-09-27
2013-04-11
  • JimZ
    JimZ
    2004-09-27

    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

    Thanks,

    JimZ