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





--- Comment #12 from Karsten Bräckelmann <[email protected]>  2009-05-27 
03:55:22 PST ---
The second mail in attachment 4451, DBMail ID 610117 (same as the paste in
comment 0) got 0/20 spaces for the Subject, and 1/83 spaces in the body. Ratio
of 1, though I kind of would have expected a 0, since the body doesn't actually
have any space.

The first message, DBMail ID 610202, a human generated short note, is NOT a FP.
TVD_SPACE_RATIO just doesn't fire on that one. The note itself has a ratio of
19 (11/57). Just as expected. Michael, why did you put that one in?


It does show some odd results, though. A paragraph seems to always be ended
with a space internally, even though there is no space in the mail and the
single-word paragraph is the very last content. Merely following a newline to
end the message.

That appended space means that tvd_vertical_words() actually does not identify
vertical words, as long as the average length of words in a "paragraph" is not
greater than 10. Like...

Viagra

That one will exonerate the entire message from triggering TVD_SPACE_RATIO. As
would this.

VIAGRA
and
CIALIAS
only
$1.2
per_pill

Seems hardly intended. So, again, was this actually meant to be evaluated per
paragraph or line by line? And an additional question: Was the trailing space
added by SA internally intended to be counted?


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