Persistent timeout uploading email to gmail inbox

seanh snhmnd at gmail.com
Sun Mar 10 17:55:21 GMT 2013


> Anyone know what the problem might be here, or what I might be able to
> do about it? I'm getting this from offlineimap 6.5.4 every time I sync
> my gmail inbox (this was offlineimap run with -d imap):
> 
>  ERROR: Exceptions occurred during the run!
>  ERROR: command: APPEND => no response after 60.0 secs
> 
> Traceback:
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/IMAP.py",
> line 549, in savemessage
>     date, content)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 608, in append
>     return self._simple_command(name, mailbox, flags, date_time, **kw)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 1595, in _simple_command
>     return self._command_complete(self._command(name, *args), kw)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 1360, in _command_complete
>     typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 173, in get_response
>     raise typ(exc_fmt % str(val))
> 
>  ERROR: Saving msg in folder 'INBOX', repository 'xxx at xxx.org-remote'
> failed (abort). Server reponded: command: APPEND => no response after
> 60.0 secs
> Message content was: Delivered-To: xxx at gmail.com
> Received: by 10.236.207.170 with SMTP id n30csp24852yho;
>         Mon, 2 Jul 2012 12:40:51 -0700 (PDT)
> Received:...V9PP1MvrU/I//Z
> --e0cb4efe309efc5b8b04c3ddf6fc--
> 
> 
> Traceback:
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/Base.py",
> line 335, in copymessageto
>     new_uid = dstfolder.savemessage(uid, message, flags, rtime)
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/IMAP.py",
> line 561, in savemessage
>     OfflineImapError.ERROR.MESSAGE)
> 
>  ERROR: command: APPEND => no response after 60.0 secs
> 
> Traceback:
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/IMAP.py",
> line 549, in savemessage
>     date, content)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 608, in append
>     return self._simple_command(name, mailbox, flags, date_time, **kw)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 1595, in _simple_command
>     return self._command_complete(self._command(name, *args), kw)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 1360, in _command_complete
>     typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
>   File "/home/seanh/Source/offlineimap/offlineimap/imaplib2.py", line
> 173, in get_response
>     raise typ(exc_fmt % str(val))
> 
>  ERROR: Saving msg in folder 'INBOX', repository 'xxx at xxx.org-remote'
> failed (abort). Server reponded: command: APPEND => no response after
> 60.0 secs
> Message content was: Delivered-To: xxx at gmail.com
> Received: by 10.223.85.201 with SMTP id p9csp48468fal;
>         Wed, 19 Dec 2012 15:02:37 -0800 (PST)
> X-Received...BJRU5ErkJggg==
> --00032557b37ad3cff004d13c99de--
> 
> 
> Traceback:
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/Base.py",
> line 335, in copymessageto
>     new_uid = dstfolder.savemessage(uid, message, flags, rtime)
>   File "/home/seanh/Source/offlineimap/offlineimap/folder/IMAP.py",
> line 561, in savemessage
>     OfflineImapError.ERROR.MESSAGE)

In the end I guessed which messages were causing the timeout, there were
a couple of messages that I kept deleting from my inbox in the webmail
client, then when I ran offlineimap they would reappear in my inbox
(instead of being deleted from the local copy of the inbox). I deleted
these two messages again using the webmail client, and then deleted
them locally as well using my maildir client, and then ran offlineimap,
and now everything seems fine. Luckily there weren't many messages in
this folder so it wasn't too hard to see which messages were causing the
problem.




More information about the OfflineIMAP-project mailing list