docker-offlineimap/offlineimap
Nicolas Sebrecht 2ac68d82aa UIDMaps: prevent from leaving a truncated map file
If the map file is not properly written (e.g. due to unexpected kill)
offlineimap might wrongly consider some UIDs to have been deleted from the local
side which could lead to data loss.

Use a temporary map file rather than writing to the map file directly.

Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/380
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-10-24 20:02:53 +02:00
..
folder UIDMaps: prevent from leaving a truncated map file 2016-10-24 20:02:53 +02:00
repository repository: IMAP: cache the idle folders in memory 2016-09-20 02:36:56 +02:00
ui Fix flickering in Blinkenlights UI 2016-10-20 14:11:51 +02:00
utils minor: utils: distro: fix copyright line 2016-09-21 00:51:42 +02:00
__init__.py v7.0.8 2016-10-08 10:10:56 +02:00
accounts.py add the repository name when connecting 2016-07-30 01:44:27 +02:00
bundled_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00
CustomConfig.py ConfigHelperMixin must be new-style class to not break inheritance 2016-07-30 04:26:25 +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 improve error message when ssl_version must be set due to the tls_level 2016-07-25 03:29:25 +02:00
imapserver.py imapserver: minor code cleaning: reorder methods 2016-09-23 16:27:22 +02:00
imaputil.py Add workaround for string.split for Python3 2016-05-10 02:53:09 +02:00
init.py Import ui before threadutil to resolve circular dependency 2016-10-07 08:47:21 +02:00
localeval.py minor code enhancements 2016-07-28 00:42:35 +02:00
mbnames.py mbnames: add info output messages in dry run mode 2016-08-26 01:44:15 +02:00
threadutil.py threadutil: use 'with' statements for lock 2016-07-03 20:03:14 +02:00
virtual_imaplib2.py bump from imaplib2 v2.53 to v2.55 2016-06-11 11:08:02 +02:00