unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Subfolders as local subfolders in maildir after sync from gmail?
@ 2012-11-28 10:57 Rainer M Krug
  0 siblings, 0 replies; only message in thread
From: Rainer M Krug @ 2012-11-28 10:57 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-28 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 10:57 Subfolders as local subfolders in maildir after sync from gmail? Rainer M Krug

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).