https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7219
Bug ID: 7219
Summary: Incorrect use of __BODY_TEXT_LINE
Product: Spamassassin
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Rules
Assignee: [email protected]
Reporter: [email protected]
__BODY_TEXT_LINE counts the number of lines (i.e. paragraphs) in the body
counting the Subject as one. Where this is used in __BODY_URI_ONLY and
__EMPTY_BODY, no account is taken of the possibility that the the subject is
missing or empty. This allows __EMPTY_BODY to fire when there is one paragraph
in the body and __BODY_URI_ONLY when there is a second paragraph.
I suggest adding:
header __NONEMPTY_SUBJ Subject =~ /\S/
and using it to adjust the arithmetic in __EMPTY_BODY and __BODY_URI_ONLY.
--
You are receiving this mail because:
You are the assignee for the bug.