Problem: Mails with attachment are duplicated hundreds of times in Sent folder

Timo Schmiade timo.schmiade at
Wed Apr 9 16:18:38 BST 2014

Hi again,

after sending my first mail, I noticed that there was an error message
in my ~/.xsession-errors, which I think is related to one run producing
the issue:

--- 8< ---

ERROR: Exceptions occurred during the run!
ERROR: command: APPEND => no response after 30.0 secs

  File "/usr/lib/python2.7/site-packages/offlineimap/folder/", line 540, in savemessage
    date, content)
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 624, in append
    return self._simple_command(name, mailbox, flags, date_time, **kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 1615, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 1378, in _command_complete
    typ, dat = rqb.get_response('command: %s => %%s' %
  File "/usr/lib/python2.7/site-packages/offlineimap/", line 176, in get_response
    raise typ(exc_fmt % str(val))

ERROR: Saving msg in folder 'Sent', repository 'gmxremote' failed (abort). Server responded: command: APPEND => no response after 30.0 secs
Message content was: Date: Mon, 24 Mar 2014 15:43:59 +0100
From: Timo Schmiade <timo.schmiade at>


  File "/usr/lib/python2.7/site-packages/offlineimap/folder/", line 358, in copymessageto
    new_uid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/usr/lib/python2.7/site-packages/offlineimap/folder/", line 566, in savemessage

--- >8 ---

Hope this helps.

Kind regards,


On Sat, Apr 05, 2014 at 11:35:58AM +0200, Timo Schmiade wrote:
> Hi all,
> I have a very strange issue with offlineimap. My MUA is mutt and it is
> configured to store sent mail in my 'Sent' folder. Now, when a sent mail
> is stored there and it has an attachment, the mail sometimes seems to
> get copied over and over inside the 'Sent' folder, multiplying hundreds
> of times over the course of days.
> These copies are then sync'ed with the IMAP server, which has them show
> up on all machines I sync my mails on. Interestingly, it happens only
> and exclusively with the 'Sent' folder.
> OS: Arch Linux 64 bit
> # offlineimap --info
> OfflineIMAP 6.5.5
>   Licensed under the GNU GPL v2+ (v2 or any later version)
> I tried reproducing the bug forcefully while capturing debugging output
> but failed. So my question is:
> Is this a known bug?
> Kind regards,
> Timo

More information about the OfflineIMAP-project mailing list