[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wishlist: sync gmail labels to imap labels or keywords


From txemi <txemitron at gmail dot com>
Subject wishlist: sync gmail labels to imap labels or keywords
Date Thu, 23 Oct 2008 12:01:15 +0200

Please consider sync imap keywords. I want to sync gmail labels to imap keyword but I am not sure it is possible due gmail imap implementation as seen in this link:

http://weblog.timaltman.com/archive/2008/02/24/gmails-buggy-imap-implementation

Could be found some workaround?

I want this for completely backing up gmail in my imap server, labels included.

As a workaround, and as we don't know if google will implement imap
keywords in near future perhaps could be implemented some trick as this:

A new option --extractgmaillabels1 that will process gmail imap folder
structure so as to extract label information. Later label information
could be synchronized in destination imap server as imap keywords in a
standard way.

I supposed it was necessary to look up folders as I did not find label information in message header.

imapsync  --host1 imap.gmail.com --authmech1 LOGIN  --user1 userlogin1
--password1 userpass1 --ssl1  --extractgmaillabels1  --host2
myserver.org --user2 userlogin2 --password2 userpass2 --ssl2
--authmech2 PLAIN --folder '[Gmail]/Todos' --useheader 'Message-Id'
--skipsize

There is a bug report on debian bug tracking system at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503159

thanks,
txemi.