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>
This commit is contained in:
committed by
Eygene Ryabinkin
parent
3a580049ad
commit
d39a1f864f
@@ -22,6 +22,9 @@ OfflineIMAP v6.5.5-rc1 (2012-09-05)
|
||||
|
||||
* Execute pre/post-sync hooks during synchronizations
|
||||
toggled by IMAP IDLE message processing. (maxgerer@gmail.com)
|
||||
* Catch unsuccessful local mail uploads when IMAP server
|
||||
responds with "NO" status; that resulted in a loss of such
|
||||
local messages. (Adam Spiers)
|
||||
|
||||
OfflineIMAP v6.5.5-rc1 (2012-09-05)
|
||||
===================================
|
||||
|
||||
Reference in New Issue
Block a user