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

John Wilcock <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from John Wilcock <[email protected]> 2010-04-07 08:18:50 UTC ---
(In reply to comment #7)
> What appears to be saving this rule from more FPs is the check for base64
> encoding of the headers. Thunderbird, for instance, appears to use
> quoted-printable encoding for ISO-8859-1, its default charset, and only
> switches to base64 for UTF-8 and other multibyte charsets. 

Thinking a bit more about this, could this be the basis for reducing the FP
rate of the rule? 

Something like the following:

header __FROM_1BYTE_B64 From:raw =~
/=\?(?:iso-8859-1?\d|windows-125\d|koi-8r?)\?B\?/i 
header __SUBJ_1BYTE_B64 Subject:raw =~
/=\?(?:iso-8859-1?\d|windows-125\d|koi-8r?)\?B\?/i 

meta DOS_HIGHBIT_HDRS_BODY_BUG6389 __FROM_NEEDS_MIME && __SUBJ_1BYTE_B64 &&
__FROM_1BYTE_B64 && __SUBJECT_NEEDS_MIME && __HIGHBITS && !__MIME_QP_TO_8BIT

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