Exchange2010 issues with empty bodies

chris coleman christocoleman at yahoo.com
Thu Feb 9 00:29:04 GMT 2012


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.

And It looks like OLI is not made to handle this very well !

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.  

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.






________________________________
 
I was forced in a recent transition to move to an Exchange2010 server,
and now my offlineimap process isn't able to fetch any of the mail bodies.

I am using mutt and Thunderbird just fine with this server, so I'd love to
figure out how to fix offlineimap.

I'm using python2.7.1

Here's what I see when I try to run, and Ctrl-C.


OfflineIMAP 6.5.2.1-rc1
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account AMD_Exchange
Establishing connection to ausimap10.amd.com:993
Syncing Calendar: IMAP -> Maildir
Syncing Contacts: IMAP -> Maildir
Establishing connection to ausimap10.amd.com:993
Copy message 1 (1 of 4) RemoteAMD2010:Contacts -> LocalAMD2010
Copy message 2 (2 of 4) RemoteAMD2010:Contacts -> LocalAMD2010
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '1'
Copy message 5 (3 of 4) RemoteAMD2010:Contacts -> LocalAMD2010
Copy message 7 (4 of 4) RemoteAMD2010:Contacts -> LocalAMD2010
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '2'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '5'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '7'
Syncing Conversation History: IMAP -> Maildir
Copy message 10250 (1 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
Copy message 12299 (2 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
Copy message 4113 (3 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
Syncing Deleted Items: IMAP -> Maildir
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'
Copy message 28700 (4 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
Terminating NOW (this may take a few seconds)...
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '12299'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '4113'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '28700'
Syncing Drafts: IMAP -> Maildir
*** Finished account 'AMD_Exchange' in 0:13
ERROR: Exceptions occurred during the run!
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '1'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '2'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '5'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '7'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '12299'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '4113'
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '28700'


####################################################################
Here is a snippet with -d imap of just the FETCH for a message
####################################################################

Copy message 10250 (1 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar [async] UID ('FETCH', '10250', '(BODY.PEEK[])')
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar state_change_pending.acquire
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar state_change_pending.release
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar _get_untagged_response(OK) => ['[UNSEEN 7] Is the first unseen message']
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar _get_untagged_response(READ-ONLY) => ['']
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar _request_push(LLFL9, UID, {}) = LLFL9
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar data=LLFL9 UID FETCH 10250 (BODY.PEEK[])
[imap]:   07:08.84 ausimap10.amd.com writer > LLFL9 UID FETCH 10250 (BODY.PEEK[])\r\n
[imap]:   07:08.84 Copy message from RemoteAMD2010:Calendar UID:LLFL9.ready.wait
Copy message 12299 (2 of 784) RemoteAMD2010:Calendar -> LocalAMD2010
[imap]:   07:08.98 ausimap10.amd.com reader poll => [(4, 1)]
[imap]:   07:08.98 ausimap10.amd.com reader rcvd 27
[imap]:   07:08.98 ausimap10.amd.com reader < LLFL9 OK FETCH completed.\r\n
[imap]:   07:08.98 ausimap10.amd.com handler state_change_free.set
[imap]:   07:08.98 ausimap10.amd.com handler _request_pop(LLFL9, ('OK', ['FETCH completed.'])) = LLFL9
[imap]:   07:08.98 ausimap10.amd.com handler UID:LLFL9.ready.set
ERROR: IMAP server 'RemoteAMD2010' does not have a message with UID '10250'
['  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']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20120208/1891972b/attachment-0003.html>


More information about the OfflineIMAP-project mailing list