[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [imapsync] IMAP Sync to Gmail with sublabels
|
From |
Gilles LAMIRAL <gilles dot lamiral at laposte dot net> |
|
Subject |
Re: [imapsync] IMAP Sync to Gmail with sublabels |
|
Date |
Wed, 28 Mar 2012 13:06:29 +0200 |
Hi Dmitry,
> imapsync --host1 localhost --user1 dmitry --password1 PWCHANGED --host2 imap.gmail.com --port2 993 --user2 dmitry.labutin --password2 PWCHANGED --ssl2 --justfolders
Ok, normal options.
I've just had a look (I'm not a gmail user) and you're right
the label is then the whole "folder/subfolder1/subfolder2".
It's a gmail choice to map it like that, I understand why,
sometimes (rarely in fact) label1/label2 doesn't mean
the same as label2/label1. But I think gmail is wrong
for 99.99% of email sorting (or any data sorting).
It's also why labels are better than folder hierarchy,
easier to sort and retrieve data with labels than with folders.
I guess sublabels are in fact just a set of labels like
folder subfolder1 ...
meaning "has label folder and has label subfolder1 and ..."
without order nor hierarchy.
Sorry imapsync can't do that right now but I think your need
is the good one to code. I'll do it this way when I'll
code --gmail option.
--
Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06