this is my setup: ```unset spoolfile set virtual_spoolfile = yes set nm_default_uri = $HOME/.cache/mutt set nm_query_type = threads set nm_db_limit = 2048 set vfolder_format = $index_format # i.e. default $index_format set folder = 'imaps://imap.gmail.com/[Gmail]/All Mail' set spoolfile = + mailboxes ! account-hook imaps://imap.gmail.com/ "set imap_user = foo; set imap_pass = bar; set message_cachedir = $HOME/.cache/mutt/g/foo/; set header_cache = $message_cachedir;" virtual-mailboxes "* " "notmuch://?query=\'*\'" ``` inbox, urd, *, they all have 'N' and they light up as having new messages. changing folder to them show no message. not that this query: ``` notmuch search -- '*' ``` will return all the messages in notmuch's database. same with 'vfolder-from-query' with simple query string of '*'; i get: ``` notmuch:///$HOME/.cache/mutt?query=* [Msgs:0 Inc:3] ```
did this work on previous releases?
(In reply to Fabian Groffen from comment #1) > did this work on previous releases? with isync yes, isync's maildir looks a bit different though. i'm hoping to move to mutt's imap to take advantage of CONDSTORE and QRESYNC Support and this happens when i point notmuch to mutt's header/message cache directory.
just tested with isync's maildir and it works as expected.
I'm midly confused here. Mutt's header cache dir? That's in a specific-to Mutt format, isn't it? Isn't notmuch supposed to operate on maildir/mbox itself? Is isync imapsync?
(In reply to Fabian Groffen from comment #4) > I'm midly confused here. Mutt's header cache dir? That's in a specific-to > Mutt format, isn't it? Isn't notmuch supposed to operate on maildir/mbox > itself? perhaps i'm abusing message_cachedir. notmuch however read that directory into its db and will return results on queries run on cli! fyi, for testing puposes, note the '/' at the end of message_cachedir though. mutt will create a directory of caches instead of a single file. > Is isync imapsync? mbsync : http://isync.sourceforge.net/
oh, even with isync's maildir if i set the following: ``` set index_format = "%4C %Z %?M ?+& ?[%02M] %?Gh?%Gh& ? %[%d/%b] %-32F %-32s" ``` which used to work btw, i will get 'N' report on the sidebar but switching to vfolder will only list 'N' and 'L'.
notmuch support was dropped from recent Mutt ebuilds, use NeoMutt instead.