i just changed the mbox setting to 0 and got this error:
"The mime parser could not process the file - invalid header name line:0"
since the problem occurs immediately when mbox is 0 (i.e. line 0), i'll paste the beginning here with the real server names altered:
****
From
[email protected] Wed Jul 23 13:04:22 2008
Received: from prod.nobody.com (prod.nobody.com [65.201.162.17])
by server1.nobody.com (8.13.1/8.13.1) with SMTP id m6221
for <
[email protected]>;
****
I think this also has to do with the check that happens at line 544. I didn't mention this before but if i comment out lines 544-557 and then line 570 (the closing brace of the if), then my files are imported correctly! The problem seems to revolve around the check for the "From ", and the fact that at least when mbox = 1, the parser doesn't account for "From " starting a new line by just being part of the english language, apart from the fact that it can appear in the headers.