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

RW <[email protected]> changed:

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

--- Comment #2 from RW <[email protected]> ---
Actually it is a bug that I pointed-out some time ago - I don't recall the bug
number.

The problem is in 

body __BODY_TEXT_LINE     /^\s*\S/
body __BODY_TEXT_LINE     multiple maxhits=3

the count usually include the Subject line, but only if the header is present
and contain a non-space character. 

In the attached email the multi-word paragraph is counted as if it were the
subject. 

IMO it should be 

body   __BODY_TEXT_LINE_FULL    /^\s*\S/
body   __BODY_TEXT_LINE_FULL    multiple maxhits=3

header __SUBJECT_HAS_NON_SPACE  Subject =~ /\S/

meta   __BODY_TEXT_LINE         __BODY_TEXT_LINE_FULL - __SUBJECT_HAS_NON_SPACE


The arithmetic for __BODY_SINGLE_WORD,  __BODY_URI_ONLY & __EMPTY_BODY then
needs to be adjusted for __BODY_TEXT_LINE being one smaller.

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

Reply via email to