At 10:05 AM 4/19/2004, Cormack, Ken wrote:
if you want to outright reject a message with such text, score the rule high enough to trigger your
filter to reject or quarantine the message, as desired.

Or have MD look through $names post-SA-check for MY_RULE_1 and act on that. This is particularly useful if you want to treat it differently from other high-scoring spam.


Something like:

        # Check whether the message triggered MY_RULE_1
        if ($names =~ /\bMY_RULE_1\b/) {
                # Do something with the message
        }

(The \b will match whether the rule is at the beginning of the list or surrounded by commas, and prevent it from matching MY_RULE_10 or NOTMY_RULE_1.)


Kelson Vibber
SpeedGate Communications <www.speed.net>



_______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to