Gmail with nested labels
alex1452 at gmx.net
Fri Aug 5 10:22:31 BST 2011
For me it is still 3 folders with a dot in their filename instead of 1
Folder with 2 subfolders regardless of sep = / or sep = .
To clarify again: I want a folder structure like
but instead I get three folders on the same level like this
I suggest I need to add a line that converts the "." in a "/" but I
really have not been able to do this in nametrans.
My current line looks like this:
nametrans = lambda foldername: re.sub('^\[Google Mail\].','',
m 05.08.2011 03:14, schrieb Jimmy Wu:
> On Fri, Aug 5, 2011 at 03:08, Alexander<alex1452 at gmx.net> wrote:
>> I have "nested labels" in my Gmail account (e.g. "Receipts Travel" and
>> "Receipts Work" under the label "Receipts")
>> Unfortunately they sync as the folders
>> in the Maildir directory.
>> Instead I would love to have real subfolders
>> Can anybody help me with the syntax for nametrans?
>> Below my .offlineimaprc
>> metadata = ~/.offlineimap
>> accounts = test
>> maxsyncaccounts = 1
>> ui = Noninteractive.Basic
>> socktimeout = 120
>> [Account test]
>> localrepository = LocalTest
>> remoterepository = GmailChuck
>> [Repository LocalTest]
>> type = Maildir
>> localfolders = ~/test/Maildir
>> [Repository GmailChuck]
>> holdconnectionopen = no
>> #sep = /
> With sep = / my nested labels sync as folders.
More information about the OfflineIMAP-project