offlineimap/offlineimap/folder
Nicolas Sebrecht 21332efb08 folder: IMAP: fix issue when the response of searchforheaders is the same UID multiple times
When the IMAP server doesn't support the UIDPLUS extension so we fallback on the
internal legacy way of mapping the UID to the uploaded message (with the email
header). If the server responds with 2 UIDs offlineimap doesn't know which one
is correct and reports an error.

If for some reason all the returned UIDs are equals it's very likely fine to
map either one.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
Tested-by: https://github.com/mpsq
Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/676
2020-07-22 22:31:01 +02:00
..
Base.py minor code refactoring 2016-11-07 23:03:40 +01:00
Gmail.py Gmail: allow parenthesis in labels 2018-05-18 02:10:56 +02:00
GmailMaildir.py GmailMaildir: don't add a tuple to syncmessagesto_passes 2016-07-27 16:29:34 +02:00
IMAP.py folder: IMAP: fix issue when the response of searchforheaders is the same UID multiple times 2020-07-22 22:31:01 +02:00
LocalStatus.py Add missing space to output string 2017-11-26 18:05:10 +01:00
LocalStatusSQLite.py sqlite: provide better message error for insert 2017-07-25 11:28:56 +02:00
Maildir.py Create filenames with no path separators in them 2018-04-09 20:09:56 +03:00
UIDMaps.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00
__init__.py IMAP/IMAP: fix import issue about UIDMaps 2016-07-25 05:26:57 +02:00