Exchange2010 issues with empty bodies

Mark Anderson MarkR.Anderson at amd.com
Wed Feb 8 23:14:57 UTC 2012


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']





More information about the OfflineIMAP-project mailing list