https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7745

            Bug ID: 7745
           Summary: Implement fullbody and fullrawbody or similar
                    ruletypes
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Libraries
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

(Report from dev list)

https://cwiki.apache.org/confluence/display/SPAMASSASSIN/WritingRulesAdvanced

The concept of body paragraphs is somewhat troubling, since DEAR_EMAIL will
not match this for example:

body  DEAR_EMAIL /^\s*Dear\b.{0,70}\w\@\w/i

-------------------
Dear foo,

Spam me at foo@bar
-------------------

Only solution for that would be making separate subrules to match both Dear
and email etc, but it can't see how "near" the matches are to each other.

So we should really implement some new ruletypes or tflags for 4.0.0, like
fullbody and fullrawbody where the text is not split to chunks in any way.
It's really not a problem to match 50-500k blobs (*_part_size_limit) these
days.  Of course they would be only used when necessary, like "full" rules
already.

They should also do complete matching per mimepart, not across them.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to