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.

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.

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

Aaron

Reply via email to