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: [email protected]
        ReportedBy: [email protected]
    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.

Reply via email to