unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Rainer M Krug <R.M.Krug@gmail.com>
To: notmuch@notmuchmail.org
Subject: Subfolders as local subfolders in maildir after sync from gmail?
Date: Wed, 28 Nov 2012 11:57:31 +0100	[thread overview]
Message-ID: <k94qmq$rtu$1@ger.gmane.org> (raw)

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

                 reply	other threads:[~2012-11-28 10:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='k94qmq$rtu$1@ger.gmane.org' \
    --to=r.m.krug@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).