spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@bugzilla.spamassassin.org
Subject [Bug 6641] New: Bounded "tflags multiple"
Date Thu, 28 Jul 2011 05:12:43 GMT
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6641

             Bug #: 6641
           Summary: Bounded "tflags multiple"
           Product: Spamassassin
           Version: 3.3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jhardin@impsec.org
    Classification: Unclassified


Created attachment 4942
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=4942
Implement "tflags maxhits=N" (first attempt)

"tflags multiple" matches as many copies are as present in the message being
scanned. If the rule counting the hits fires at (say) ten hits, counting past
the tenth hit is wasted work, and can generate a great deal of wasted
processing.

Attached patch implements "tflags maxhits=N" for modifying the behavior of
"tflags multiple". Example usage:

rawbody   __MUMBLE      /mumble/
tflags    __MUMBLE      multiple maxhits=5
meta      MANY_MUMBLE   __MUMBLE=5

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message