irreversible silent loss of mail when server account is full

Adam Spiers offlineimap at
Wed Mar 27 18:56:07 GMT 2013

Hi all,

Regret to announce that I just lost the last 14 days of email due to a
bug in offlineimap :-(  It took a while but I finally tracked down the

When savemessage() performed the APPEND command to upload a new local
mail to the Groupwise IMAP server I use, the server responded:

    NO APPEND The 1500 MB storage limit has been exceeded.

This is correct behaviour according to RFC 3501:

but savemessage() considered this as a successful upload, returned UID
zero, and offlineimap then irreversibly deleted the local copy :-/
Here is the fix:

However, this led me to notice a separate issue where single-threaded
mode doesn't properly handle exceptions.  I'll send a separate mail
about that.


More information about the OfflineIMAP-project mailing list