Open pascalfleury opened 5 years ago
Could you enable the debug logs and paste the result, please? (be care with presonal/confidential information there)
Hi,
is the regex fine?
nametrans= lambda folder: re.sub('^\[Gmail\]/', '', re.sub('.S/', 'S.', folder))
Could you try this one? The dot is "any character" and probably you want the dot character, so you need scape it (\.):
nametrans= lambda folder: re.sub('^\[Gmail\]/', '', re.sub('\.S/', 'S.', folder))
Cheers, kix
General informations
offlineimap -V
): offlineimap v7.2.3, imaplib2 v2.57 (system), Python v2.7.16, OpenSSL 1.1.1c 28 May 2019Why using dots ? Because they get sorted before the other labels in the right hand-side of GMail, as there is no other way to sort them than using the ASCII order.
Configuration file offlineimaprc
Logs, error
offlineimap --info will tell me that it does see the folders on Google's IMAP, will keep then through the folderfilter, and will do the nametrans properly.
but then when syncing, it will only sync Trash (empty in my case) and Drafts. I also tried without the nametrans, and did not wait until my xxGB would sync without the folderfilter.
Steps to reproduce the error
Notice that dirs get created, but that's about it.