[PATCH] Syncing gmail labels for gmail accounts

Abdó Roig-Maranges abdo.roig at gmail.com
Wed Nov 28 14:32:59 GMT 2012


> Just saw one thing: the X-Keywords appears in the email as the first line.
> I assume this is  not by design. Also: it would be nice if these X-headers could be somehow
> encrypted, so that they are not to easily exposed in the emails send. Another option would be to
> delete the X-headers before sending.

Yeah, I saw that. This is my fault and has nothing to do with
offlineimap.

What happened is that before sending the email to the list I saved it as
a draft and tested the offlineimaprc to make sure it worked (I added
some comments). I accidentally called a script that automatically tags
my email, and it tagged the draft. When I sent the draft, with msmtp
(did not pass through offlineimap) it was sent with the X-Keywords
header. I should fix that ...

This patch already implements a feature to strip out the X-Keywords
header when moving a message from local to gmail.

Abdó.




More information about the OfflineIMAP-project mailing list