spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 6641] New: Bounded "tflags multiple"
Date Thu, 28 Jul 2011 05:12:43 GMT

             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
    Classification: Unclassified

Created attachment 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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message