docker-offlineimap/offlineimap
Sebastian Spaeth de537dc09c Implement change_message_uid
Previously, assigning a new UID to a mapped IMAP or Maildir repository
was done by loading the "local" item, saving it under a new UID and
deleting the old one. This involved lots of disk activity for nothing
more than an effective file rename in Maildirs, and lots of network
usage in the MappedUID cases.

We do this on every upload from a local to a remote item, so that can
potentially be quite expensive. This patch lets backends that support it
(Maildir, MappedUID) efficiently rename the file rather than having to
read the mail content, write it out as a new file and delete the old
file. This speeds up uploads from Maildir and the MappedUID server.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-01-06 19:08:48 +01:00
..
folder Implement change_message_uid 2012-01-06 19:08:48 +01:00
repository Fix "getfolders() asked to get nonexisting folder" bug 2012-01-05 14:23:33 +01:00
ui Remove unneeded import in MachineUI 2012-01-06 14:06:03 +01:00
__init__.py Release 6.4.4 2012-01-06 13:22:34 +01:00
accounts.py Do not create folders on readonly repositories 2012-01-05 14:05:51 +01:00
CustomConfig.py Remove deprecated calls to apply() 2011-09-27 13:00:12 +02:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py Bump bundled imaplib2 to 2.29 2011-11-02 10:55:42 +01:00
imaplibutil.py Fix mbox.select(foldername) readonly parameter comparison 2011-11-02 08:57:01 +01:00
imapserver.py Remove unused imapserver getdelim() 2011-12-01 10:12:54 +01:00
imaputil.py Do not fail calling dequote() with empty string 2011-09-26 15:16:59 +02:00
init.py Implement clean CTRL-C termination 2012-01-04 19:31:27 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00