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

Re: [imapsync] wishlist: sync gmail labels to imap labels or keywords


From txemi <txemitron at gmail dot com>
Subject Re: [imapsync] wishlist: sync gmail labels to imap labels or keywords
Date Wed, 29 Oct 2008 01:58:46 +0100

Does imapsync sync imap keywords? (Now I am not speaking about gmail labels, just imap standard keywords).


2008/10/23 Gilles LAMIRAL <gilles dot lamiral at laposte dot net>
Hello Tx,

> 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 don't know. Maybe.

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

Ok.

> 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 didn't play much with gmail. What I understood is :

- From Gmail -> Extern
      Label -> Folder

- From Extern -> Google
      Folder -> Label

So as a backup point of view we need to restore several
times a message in different gmail folders to see all labels
restored. This is stupid but I didn't write gmail.

So even you save time for backuping, you can't save time
when restoring. I won't try to code such a useless scenario.

We need an imap way, or any protocol way, to backup and
restore labels. Ask google.

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

Google Labels are imap folders.

> 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,

I know, I'm subscribed.

--
Au revoir,                               02 99 64 31 77
Gilles Lamiral. France, Chavagne (35310) 06 20 79 76 06