docker-offlineimap/offlineimap
Nicolas Sebrecht 1410a391bc avoid removing of data when user removed a maildir
When a maildir is removed it must be considered new for the sync. However, the
local cache of the folder remains. This means the sync of the folder removes all
the missing emails.

Avoid loosing of data for users not aware of the local cache by removing any
pre-existing status cache of a folder when we actually want to create the
database.

Improve style.

Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/333
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-06-26 17:00:23 +02:00
..
folder avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
repository avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
ui fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
utils Make OS-default CA certificate file to be requested explicitely 2015-01-18 22:05:49 +03:00
__init__.py v7.0.0-rc2 2016-06-04 12:45:45 +02:00
accounts.py avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
bundled_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00
CustomConfig.py repository/IMAP: add minor comment 2016-06-08 16:01:58 +02:00
emailutil.py Rename email.Parser to email.parser 2016-05-10 02:53:09 +02:00
error.py more consistent style 2015-01-07 21:31:43 +01:00
globals.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
imaplibutil.py introduce a virtual imaplib2 2016-06-04 12:17:53 +02:00
imapserver.py require usernames and passwords to be UTF-8 encoded 2016-06-26 16:57:22 +02:00
imaputil.py Add workaround for string.split for Python3 2016-05-10 02:53:09 +02:00
init.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
localeval.py localeval: avoid redefining 'file' keyword 2015-01-14 17:18:48 +01:00
mbnames.py fix: when called with -a, mbnames must not erase entries of other accounts 2016-06-25 17:33:42 +02:00
threadutil.py threading: improve comments 2016-06-04 02:25:44 +02:00
virtual_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00