Exchange2010 issues with empty bodies
MarkR Anderson
manderso at mhdc-ns01.amd.com
Thu Feb 9 18:51:02 GMT 2012
On Thu, Feb 09, 2012 at 02:54:13AM +0200, Daniel Shahaf wrote:
> 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.
The old server was Exchange 2007, but I wouldn't worry about it.
I keep deleting my old .offlineimap areas, and I renames the Account
and Local/Remote repository names to try and avoid any persistent
UID issues.
I can attach a more complete imap log, which will show the server
listing these UIDs, that are then not found.
In response to the chris coleman, I am not subscribed to the list.
1) I was running Outlook and Thunderbird and mutt all at the same
time.
2) After quitting all the agents attached to my IMAP server, I don't
see any improvement.
Would a more extensive log of the IMAP session be helpful? I will
attach one.
Thanks
-Mark
>
> > 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']
>
> > _______________________________________________
> > OfflineIMAP-project mailing list
> > OfflineIMAP-project at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
> >
> > OfflineIMAP homepage: http://software.complete.org/offlineimap
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imap.txt.gz
Type: application/x-gunzip
Size: 39439 bytes
Desc: imap.txt.gz
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20120209/b31535fa/attachment-0003.bin>
More information about the OfflineIMAP-project
mailing list