On Thu, 2004-04-29 at 21:41, Aaron Stone wrote:
> I'm seeing a parse error with multipart messages. The ones I have are from
> outlook, with the contained message generated by applemail. So there's an
> original message sent from applemail (which I also received, and was parsed
> correctly) contained as an attachment because the message was also forwarded
> to me by one of the other recipients, who was using outlook.

Sounds like it will be pretty hard to reproduce.. :(
> 
> I've traced the error down to rfcmsg.c, in db_add_mime_children, around line
> 680, where there's a message "unexpected end of data" (n.b. not "unexpected
> end-of-data" which appears later on) and it returns -1. By changing it to
> return 0, the message appears to parse correctly. By removing the return
> altogether, the message parses correctly but is then repeated, unparsed
> headers, body and all, at the end.

ok. The mime parsing code is somewhat beyond me.. pretty hard to debug.
> 
> There are no nul characters in the message body, so it looks legitimately like
> an issue with the mime parsing.
> 
> I probably won't have time to look into this problem until next Wednesday :-[ 
> 

I've been doing some tests, sending myself messages with attachments and
all sorts of things, and I haven't found this bug yet...

I also wonder if this behaviour is reproducable using DBMail 1.2.x...
Aaron?

I'm going to perform some more tests now, and if I cannot reproduce this
bug (or find other bugs) I'll release RC5 this afternoon. 

Ilja



Reply via email to