<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>It looks like the Message UID's have changed - between the old version of your mail server (Exchange 2007?) - and the new Exchange 2010 mail server.</div><div><br></div><div>And It looks like OLI is not made to handle this very well !</div><div><br></div><div>Probably would be simple enough to add the feature - "detect remote (and local) IMAP server's brand and version - and regenerate UID's" - in your case originally it was probably "Microsoft Exchange 2007" or something close to that - and OLI would save this IMAP server brand and version text string and associate it with the locally cached copies of the UID's. </div><div><br></div><div>When a brand change, or major version change, is detected - OLI would notify/warn the user, then test whether the UID's on the new server are the same as the old server. If not,
tell the user, and give the option to regenerate the UID's.</div><div><br></div><div><br></div><div><span><br></span></div><div><span><br></span></div><div><br></div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> </font></div><br>
I was forced in a recent transition to move to an Exchange2010 server,<br>and now my offlineimap process isn't able to fetch any of the mail bodies.<br><br>I am using mutt and Thunderbird just fine with this server, so I'd love to<br>figure out how to fix offlineimap.<br><br>I'm using python2.7.1<br><br>Here's what I see when I try to run, and Ctrl-C.<br><br><br>OfflineIMAP 6.5.2.1-rc1<br> Licensed under the GNU GPL v2+ (v2 or any later version)<br>*** Processing account AMD_Exchange<br>Establishing connection to ausimap10.amd.com:993<br>Syncing Calendar: IMAP -> Maildir<br>Syncing Contacts: IMAP -> Maildir<br>Establishing connection to ausimap10.amd.com:993<br>Copy message 1 (1 of 4) RemoteAMD2010:Contacts -> LocalAMD2010<br>Copy message 2 (2 of 4) RemoteAMD2010:Contacts -> LocalAMD2010<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '1'<br>Copy message 5 (3 of 4) RemoteAMD2010:Contacts -> LocalAMD2010<br>Copy
message 7 (4 of 4) RemoteAMD2010:Contacts -> LocalAMD2010<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '2'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '5'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '7'<br>Syncing Conversation History: IMAP -> Maildir<br>Copy message 10250 (1 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>Copy message 12299 (2 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>Copy message 4113 (3 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>Syncing Deleted Items: IMAP -> Maildir<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'<br>Copy message 28700 (4 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>Terminating NOW (this may take a few seconds)...<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '12299'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID
'4113'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '28700'<br>Syncing Drafts: IMAP -> Maildir<br>*** Finished account 'AMD_Exchange' in 0:13<br>ERROR: Exceptions occurred during the run!<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '1'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '2'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '5'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '7'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '12299'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '4113'<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '28700'<br><br><br>####################################################################<br>Here is a snippet with -d imap of just the FETCH for
a message<br>####################################################################<br><br>Copy message 10250 (1 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar [async] UID ('FETCH', '10250', '(BODY.PEEK[])')<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar state_change_pending.acquire<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar state_change_pending.release<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar _get_untagged_response(OK) => ['[UNSEEN 7] Is the first unseen message']<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar _get_untagged_response(READ-ONLY) => ['']<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar _request_push(LLFL9, UID, {}) = LLFL9<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar data=LLFL9 UID FETCH 10250 (BODY.PEEK[])<br>[imap]:
07:08.84 <a target="_blank" href="http://ausimap10.amd.com">ausimap10.amd.com</a> writer > LLFL9 UID FETCH 10250 (BODY.PEEK[])\r\n<br>[imap]: 07:08.84 Copy message from RemoteAMD2010:Calendar UID:LLFL9.ready.wait<br>Copy message 12299 (2 of 784) RemoteAMD2010:Calendar -> LocalAMD2010<br>[imap]: 07:08.98 ausimap10.amd.com reader poll => [(4, 1)]<br>[imap]: 07:08.98 ausimap10.amd.com reader rcvd 27<br>[imap]: 07:08.98 ausimap10.amd.com reader < LLFL9 OK FETCH completed.\r\n<br>[imap]: 07:08.98 ausimap10.amd.com handler state_change_free.set<br>[imap]: 07:08.98 ausimap10.amd.com handler _request_pop(LLFL9, ('OK', ['FETCH completed.'])) = LLFL9<br>[imap]: 07:08.98 ausimap10.amd.com handler UID:LLFL9.ready.set<br>ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'<br>[' File "$HOME/src/spaetz-offlineimap-6.5.2.1-rc1/offlineimap/folder/Base.py", line 295, in
copymessageto\n message = self.getmessage(uid)\n', ' File "$HOME/src/spaetz-offlineimap-6.5.2.1-rc1/offlineimap/folder/IMAP.py", line 240, in getmessage\n raise OfflineImapError(reason, severity)\n']<br><br><br> </div> </div> </div></body></html>