You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/01/07 21:49:57 UTC

[Bug 3781] There should be a rule type for mime part headers

http://bugzilla.spamassassin.org/show_bug.cgi?id=3781

jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Future                      |3.1.0



------- Additional Comments From jm@jmason.org  2005-01-07 12:49 -------
this is now more important, as anti-spam rules are being found that *do* work
based on the MIME part headers, cf:

http://mail-archives.apache.org/eyebrowse/ReadMsg?listName=dev@spamassassin.apache.org&msgNo=14755

a quick list of 'pros' for this approach:

- if these are not eval tests, it will mean we avoid having links between rules
  and code in EvalTests.  That results in "dead code" if those rules get
  removed

- less code in EvalTests, which is overall a good thing

- inability for non-developers to write efficient rules for those bits;
  they have to use "full" which is very, very inefficient in this case

- should be quite efficient: the actual parts of text matched (the MIME
  headers) form less than 5% of the bytes in a typical message body, and
  there's generally < 15 lines of MIME-in-body headers in a typical
  message  (at a rough guess)

cons:

- it adds another rule type.  this is a very minor con, and one which could
  actually be a "pro" depending on your outlook ;)  (for example: allows
  third-party developers to use that code, and allows the matching algorithm
  and behaviour to be documented in Conf.pm.)





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