https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5491

--- Comment #8 from Mark Martinec <[email protected]> 2010-06-03 12:49:12 
EDT ---
Created an attachment (id=4766)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4766)
Proposed patch to change a QP line limit from 76 to 78

-        if (length > 77) {
+        # RFC 5322: Each line SHOULD be no more than 78 characters,
+        #           excluding the CRLF
+        # RFC 2045: The Quoted-Printable encoding REQUIRES that
+        #           encoded lines be no more than 76 characters long.
+        # Bug 5491: 6% of email classified as HAM by SA triggered the
+        #           MIME_QP_LONG_LINE rule. Apple Mail can generate a QP-line
+        #           that is 2 chars too long. Same goes for Outlook Web
Access.
+        # lines include one trailing \n character
+      # if (length > 76+1) {  # conforms to RFC 5322 and RFC 2045
+        if (length > 78+1) {  # conforms to RFC 5322 only, not RFC 2045


trunk:
  Bug 5491: MIME_QP_LONG_LINE triggering on valid email
  change a QP line limit from 76 to 78
Sending lib/Mail/SpamAssassin/Plugin/MIMEEval.pm
Committed revision 951065.

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