docker-offlineimap/offlineimap/folder
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
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Implement change_message_uid 2012-01-06 19:08:48 +01:00
Gmail.py Remove visiblename as parameter to IMAPFolder creation 2011-09-16 12:54:29 +02:00
IMAP.py Implement change_message_uid 2012-01-06 19:08:48 +01:00
LocalStatus.py Don't fail on empty LocalStatus cache files 2011-12-01 23:57:54 +01:00
LocalStatusSQLite.py Don't pass in 'root' as para to LocalStatusFolders 2011-09-16 12:54:12 +02:00
Maildir.py Implement change_message_uid 2012-01-06 19:08:48 +01:00
UIDMaps.py Implement change_message_uid 2012-01-06 19:08:48 +01:00