Complete.Org: Mailing Lists: Archives: offlineimap: June 2009:
Re: protocol error when syncing with exchange 2007
Home

Re: protocol error when syncing with exchange 2007

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Simon P. Ditner" <simon-oi@xxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: protocol error when syncing with exchange 2007
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Fri, 05 Jun 2009 10:29:41 -0500

Exchange is well-known for having issues with IMAP.  You might try
running under -d imap -1 and see just what the command that it disliked was.

Simon P. Ditner wrote:
> Hi,
> 
> I'm running into a problem when syncing with an Exchange 2007 server; it 
> kind of sounds like the message is being deleted by another IMAP client 
> at the same time that I'm attempting to sync it. Anyone else run into 
> something similar? (offlineimap 6.0.0)
> 
> Thread 'Folder sync Acct_3[INBOX]' terminated with exception:
> Traceback (most recent call last):
>    File "/var/lib/python-support/python2.5/offlineimap/threadutil.py", line 
> 153, in run
>      Thread.run(self)
>    File "threading.py", line 440, in run
>      self.__target(*self.__args, **self.__kwargs)
>    File "/var/lib/python-support/python2.5/offlineimap/accounts.py", line 
> 223, in syncfolder
>      localfolder.cachemessagelist()
>    File "/var/lib/python-support/python2.5/offlineimap/folder/UIDMaps.py", 
> line 75, in cachemessagelist
>      self._mb.cachemessagelist(self)
>    File "/var/lib/python-support/python2.5/offlineimap/folder/IMAP.py", line 
> 153, in cachemessagelist
>      response = imapobj.fetch(idstofetch, '(FLAGS UID INTERNALDATE)')[1]
>    File "imaplib.py", line 437, in fetch
>      typ, dat = self._simple_command(name, message_set, message_parts)
>    File "imaplib.py", line 1055, in _simple_command
>      return self._command_complete(name, self._command(name, *args))
>    File "imaplib.py", line 892, in _command_complete
>      raise self.error('%s command error: %s %s' % (name, typ, data))
> error: FETCH command error: BAD ['Protocol Error: "Specified message set is 
> invalid".']
> 
> Last 2 debug messages logged for Folder sync Acct_3[INBOX] prior to exception:
> imap: dequote() called with input: INBOX
> imap: SEARCH returned ('NO', ['The requested item could not be found.'])
> 
> 
> Cheers,
> spd
> 
> --
> | It ain't what you don't know that gets you into trouble. It's what
> | you know for sure that just ain't so.   -- Mark Twain
> |
> | Network: http://www.linkedin.com/in/spditner
> |          http://facebook.com/people/Simon-P-Ditner/776370031
> |          http://twitter.com/spditner
> 
> 
> 




[Prev in Thread] Current Thread [Next in Thread]