Does offlineimap fails to upload the following email?

Victor Pablos Ceruelo victorpablosceruelo at gmail.com
Tue Sep 13 10:13:51 BST 2011


Hi there,

I've tried to upload to a Gmail server the following email (it is a
file downloaded by fetchmail from a pop3 server):

http://babel.ls.fi.upm.es/~vpablos/problematic_emails/1314874127_1.9999.chiquitin,U=12437,FMD5=35a1bb6a04ed69ea9ea83515dfac8694:2,

without any luck.
I've tried for 5 times and offlineimap always says:

Folder sync [Acc-Main]:
 Copy message 12437 Maildir[Gmail_All_Mail] -> Gmail[[Gmail]/All Mail]
 WARNING: ERROR attempting to copy message 12437 for account
Acc-Main:Traceback (most recent call last):
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/IMAP.py",
line 459, in savemessage
    date, content)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <class 'socket.error'> -
[Errno 32] Broken pipe

 WARNING: ERROR attempting to sync flags for account
Acc-Main:Traceback (most recent call last):
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 421, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 318, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/IMAP.py",
line 459, in savemessage
    date, content)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <class 'socket.error'> -
[Errno 32] Broken pipe

 WARNING: ERROR in syncfolder for Acc-Main folder Gmail_All_Mail:
Traceback (most recent call last):
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/accounts.py",
line 355, in syncfolder
    localfolder.syncmessagesto(remotefolder, statusfolder)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 421, in syncmessagesto
    action(dstfolder, statusfolder)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 318, in syncmessagesto_copy
    self.copymessageto(uid, dstfolder, statusfolder, register = 0)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/Base.py",
line 255, in copymessageto
    newuid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/folder/IMAP.py",
line 459, in savemessage
    date, content)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 577, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1549, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 1310, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' % rqb.name)
  File "/home/vpablos/secured/encrypted/local/offlineimap/offlineimap/imaplib2.py",
line 172, in get_response
    raise typ(exc_fmt % str(val))
abort: command: APPEND => socket error: <class 'socket.error'> -
[Errno 32] Broken pipe

Could you please test with a imap server different from Gmail to see
if this problem only affects
Gmail servers or it is a bug in offlineimap?

Thanks.

Victor.




More information about the OfflineIMAP-project mailing list