<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><br></span></div><br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">
On Tue, 3 May 2011 11:13:28 -0700 (PDT), chris coleman &lt;<a ymailto="mailto:christocoleman@yahoo.com" href="mailto:christocoleman@yahoo.com">christocoleman@yahoo.com</a>&gt; wrote:<br>&gt; It uses some python 2.6 syntax for the exception handling, and compile failed.&nbsp; <br><br>Ohh right, for python 2.5 you would need to use it as you did. Nice<br>catch. <br><br>&gt; Indeed that corrupt line is there.&nbsp; but it's a sequence of non-consecutive numbers... Here is an excerpt:<br>&gt; <br>&gt; 40213:<br>&gt; 40214:<br>&gt; 40215:<br>&gt; 40217:R<br>&gt; 40218:S<br>&gt; 40229:S<br>&gt; 4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S<br>&gt; 40261:S<br>&gt; 40262:S<br>&gt; 40264:<br>&gt; 40269:S<br>&gt; 40270:<br>&gt; 40276:<br>&gt; 40279:R<br><br>Actually, all other lines are OK, they just have no flags. The only<br>damaged line is:<br><br>4023(0x00)(0x00)P(0x00)(0x01)(0x00)(0x00)(0x00)0:S<br><br>I suspect that it is supposed to
 mean:<br>40230:S<br><br>but I have no clue how those spurious "0" and the "1" entered the<br>picture.<br><br>&gt; The big question: how do you recommend regenerating these damaged lines of data without losing any email in this user's INBOX?<br><br>Try the above.<br> <br>&gt; Will an email be deleted if it doesn't have its corresponding number in this file?&nbsp; <br><br>No, but you will get another crash when it tries to access an email that<br>is not listed in here and you will know which one was missing :-).<br> <br>&gt; Or...&nbsp; is it the opposite, will this file automatically regenerate the missing number of any email that is not listed in it ?<br><br>No.<br><br>========================<br><br>Sebastian, Nicolas,<br><br>I did what you recommend, fixed the line 40230:S in the LocalStatus/INBOX file, and ran 6.3.3.<br><br>"Copy message xxxxx IMAP[INBOX] -&gt; MappedIMAP[INBOX]"<br><br>It copied probably 100 messages from remote to local (this is
 expected... ) until it got to message 55428.&nbsp; <br><br>It's sitting there for over 5 minutes now.. clearly it has hung.<br><br>What do you recommend ?<br><br>Chris<br><br></div></div></div></body></html>