[spambayes-dev] RE: [Spambayes] Delete As Spam - Doesn't always work

Kenny Pitt kennypitt at hotmail.com
Mon Feb 23 15:43:30 EST 2004


[Geoff Campbell]
> Another try to forward - I'm forwarding the "sent" item (which shows
> the two attachments).
> 
> Maybe it's more of an "outlook" problem!
> 
> [Tim Peters]
>> Does this log file ring bells with anyone?  I haven't seen errors
>> coming out of GetHTMLFromRTFProperty before.
>> 
>> Geoff, you may have intended to attach the email message you couldn't
>> delete as spam, but no such attachment arrived -- just the log file.

I still don't see the original message, but I have a suspicion that you
are correct in guessing that this is some sort of Outlook problem.

The error number shown in the spambayes1.log maps to
MAPI_E_CORRUPT_DATA, and it appears that it can only appear as a Python
exception if it occurs in the low-level MAPI function call to
WrapCompressedRTFStream (inside win32all).  From what I can gather, the
only way that this could happen is if something is corrupted in the
message data of that particular message.  I'm afraid I can't offer any
ideas as to what might cause that, though.

>From the log, it appears that SpamBayes tries repeatedly to process the
message but fails each time.  We may need to add some additional error
handling to prevent that.  It might also be good to log a more
descriptive message instead of just a traceback.

-- 
Kenny Pitt




More information about the spambayes-dev mailing list