[Spambayes] defaults vs. chi-square
Barry A. Warsaw
Tue, 15 Oct 2002 00:10:06 -0400
>> ... It appears to be a systematic error when a mailing list
>> manager appends plain text to what should be a base64 encoded
>> segment. Bad MLM, no biscuit. This confuses the MIME
>> decoder. Bad MIME decoder, too!
Known problem with MM2.0. MM2.1 does a better job of adding headers and
footers. If it can't do it in a MIME-safe way, it won't do it.
TP> So, Barry, what can we do about this? Filling the database
TP> with "skip" tokens from raw base64 is a Bad Idea, and I assume
TP> the email pkg doesn't know how to, e.g., "decode base64 up
TP> until it can't anymore, and then grab the rest as plain text".
TP> Heh -- just writing that made me want to puke. We have to do
TP> something better with this, though.
Upgrade to MM2.1 :)
Seriously, when the email package has to decode a base64 payload, it
just hands the whole string off to base64.decodestring(). Given that
that function isn't very forgiving, I'm not sure what to do. Sucks.