docker-offlineimap/offlineimap
Abdo Roig-Maranges fc4c7549d6 Do not ignore gmail labels if header appears multiple times
There should be just one header storing gmail labels, but due to a bug,
multiple X-Keywords (or equivalent) headers may be found on the local
messages.

Now we, when extracting the labels from a message, we read all label
headers, instead of just the first one.

This has the consequence that some old labels stored locally in a second
X-Keywords (or third...) header, which effectively was rendered
invisible to offlineimap until now, may pop back up again and be pushed
to gmail. No labels will be removed by the changes in this commit,
though.

Signed-off-by: Abdo Roig-Maranges <abdo.roig@gmail.com>
2014-11-20 14:15:59 +01:00
..
folder Do not ignore gmail labels if header appears multiple times 2014-11-20 14:15:59 +01:00
repository Enable tilde and environment variable expansion on some items 2014-11-12 09:40:12 +03:00
ui Fix warning processing for MachineUI 2014-10-05 11:34:23 +04:00
utils Add default CA bundle location for DragonFlyBSD 2014-10-08 10:39:43 +04:00
__init__.py Properly capitalize OpenSSL 2014-10-05 11:33:22 +04:00
accounts.py Brought CustomConfig.py into more proper shape 2014-10-09 19:24:11 +04:00
CustomConfig.py Enable tilde and environment variable expansion on some items 2014-11-12 09:40:12 +03:00
emailutil.py Add support for alternative message date synchronisation 2013-08-09 10:48:00 +04:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
globals.py Create global instance of command-line options 2013-02-11 23:34:18 +04:00
imaplib2.py Imaplib2: trade backticks to repr() 2014-11-02 10:35:43 +03:00
imaplibutil.py Extend handling of cert_fingerprint 2014-05-11 22:45:34 +04:00
imapserver.py Make IDLE mode to work again 2014-05-23 10:24:55 +04:00
imaputil.py Extend handling of GMail labels header 2014-05-06 23:37:03 +04:00
init.py Add version qualifier to differentiate releases and development ones 2014-06-01 22:39:10 +04:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Enable tilde and environment variable expansion on some items 2014-11-12 09:40:12 +03:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Fix deadlock for IMAP folder synced in singlethreaded mode 2013-02-05 07:53:25 +04:00