Subfolders as local subfolders in maildir after sync from gmail?

Rainer M Krug R.M.Krug at gmail.com
Wed Nov 28 02:57:31 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I have subfolders in gmail, and they are represented locally as flat folders, separated by "_". Is
it possible to maintain the subfolder structure locally?

Below my .offlineimaprc

Thanks,

Rainer

[general]
accounts = Gmail
maxsyncaccounts = 1

[Account Gmail]
localrepository = LocalRMKruggmailcom
remoterepository = RMKruggmailcom
postsynchook = notmuch new
status_backend = sqlite

[Repository LocalRMKruggmailcom]
type = Maildir
localfolders = ~/Maildir/R_M_Krug__gmail_com

[Repository RMKruggmailcom]
type = Gmail
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remoteuser = USERNAME
remotepass = PASSWORD
maxconnections = 3
folderfilter = lambda foldername: foldername not in ['[Gmail]/Trash','[Gmail]/Bin','[Gmail]/Spam']
readonly = true
createfolders = false
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlC17hYACgkQoYgNqgF2egrqBwCeKswJzQZITHkOwybQhw+vaWN6
IG8An2EfN10B6Q+UJyr0+8Cs1k1jkYsR
=8fFF
-----END PGP SIGNATURE-----



More information about the notmuch mailing list