docker-offlineimap/offlineimap
Adam Spiers d39a1f864f make savemessage() handle NO response to APPEND correctly
IMAP servers can return `NO` responses to the `APPEND` command,
e.g. here's an example response from Groupwise's IMAP server:

    NO APPEND The 1500 MB storage limit has been exceeded.

In this case, savemessage() should abort the repository sync rather
than returning UID 0 which would cause the local copy of the message
being saved to get irreversibly deleted.

Signed-off-by: Adam Spiers <offlineimap@adamspiers.org>
Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
2013-08-02 16:41:54 +04:00
..
folder make savemessage() handle NO response to APPEND correctly 2013-08-02 16:41:54 +04:00
repository Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
ui Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
utils Create global instance of command-line options 2013-02-11 23:34:18 +04:00
__init__.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
accounts.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
CustomConfig.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
imaplibutil.py IMAPlib mixin class: pass 'readonly' exception to our callers 2012-08-11 11:59:26 +02:00
imapserver.py Execute pre/post hooks for IDLE-toggled syncs 2013-08-02 13:53:21 +04:00
imaputil.py Improve 'find first quotation' regex 2012-08-21 16:58:32 +02:00
init.py Prune trailing whitespaces from code and documentation 2013-07-21 23:00:23 +04:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Allow custom sorting of mailboxes for mbnames 2013-08-02 14:46:44 +04:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Fix deadlock for IMAP folder synced in singlethreaded mode 2013-02-05 07:53:25 +04:00