Exchange2010 issues with empty bodies

chris coleman christocoleman at yahoo.com
Thu Feb 9 04:08:49 GMT 2012


I dug into this and found a lot of Microsoft users experiencing what might be / probably is the same issue.

1) Are you running OLI with Oulook and/or Outlook Web App (OWA) open at the same time ?

2) Could you close Outlook and/or your OWA webmail - run OLI again - and see if it runs cleanly.


http://collaboration.hyperoffice.com/known-issues-a-workarounds/491-uid-error-message-imap-email.html

UID Error Message - IMAP Email 
Issue
When reading email in your 3rd-party mail client (eg Outlook, Thunderbird, etc), you sporadically receive a pop-up stating:
"The UID of a message changed unexpectedly.  This typically indicates a server bug.  Your program may not function properly after this."
MsgSeqNum 000: Previous UID: 12345678, New UID: 12345789.
Protocol: IMAP
Server: imap.HyperOffice.com
Port: 143
Error Code: 0x800CCCDB
Explanation
This error occurs when you have both an IMAP connection open to a specific folder and also a WebMail session open looking at that same folder.  This is a known issue with the IMAP protocol.
Workaround
Navigate away from that folder in your browser or your 3rd-party mail client.  It is advised that you only access your mail through only one method at a time.
 




________________________________
  chris coleman wrote on Wed, Feb 08, 2012 at 16:29:04 -0800:
> 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.
> 

I'd also like to know what the old server version was.

> 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"

I believe offlineimap already handles IMAP UIDVALIDITY correctly.

Now, if the server changed UID's without changing UIDVALIDITY...

(...then I'd first like to see evidence of that, before I waste
electrons on speculations :-))

Cheers,

Daniel

> - 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/6a6de101/attachment-0003.html>


More information about the OfflineIMAP-project mailing list