Parsing of certain MIME messages, e.g. Vonage

Matt Garretson <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Organization New York State Assembly
Message-ID <[email protected]>
Greetings, all. Over the years, I've noticed that bogofilter
sometimes seems to mis-parse messages with MIME attachments.
Usually, it correctly skips over non-text or non-html 
attachments, but sometimes it ends up tokenizing the encoded 
strings of binary attachements. This usually leads to a score
of .5 due to dozens/hundreds/thousands of brand-new tokens.

I've not figured out what characteristics trigger this issue,
but one consistent offender is voicemail messages from Vonage.
A simplified example is at:

  http://pastebin.com/m13e6623

At first glance, the boundary string seems odd, though I'm
not sure if that's the root of the problem. My bogolexer
output showing the errant tokens is here:

  http://pastebin.com/m3fb9a0bd

Any thoughts? My Bogofilter version is 1.2.1 built from source 
on Fedora 11.

Thanks,
-Matt
_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.