Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Mutt with Gmail with an effective filter of "in:inbox in:important" (ie. neither just important mail nor just the inbox)

104 views
Skip to first unread message

landon...@gmail.com

unread,
Mar 31, 2012, 2:40:30 AM3/31/12
to
Hello mutt users and discussers,

Currently I am successfully seeing everything in my Inbox when I execute mutt but I don't want to see the entire Inbox. I pretty much have almost everything the way I want it otherwise though. I also don't want to see all Important mail regardless of if it's in the Inbox or not. I have approximately 65000 emails in my Important mailbox - for comparison I have about 21000 in my Sent mailbox. I have had a Gmail account for a very long time now and I use it for everything.

Effectively I would like to have the contents of the search string "in:inbox in:important" in my mutt message listing when I open mutt.

The applicable parts of my current muttrc look like this:

set folder = imaps://imap.gmail.com:993
set spoolfile = imaps://imap.gmail.com:993/INBOX
set postponed = "+[Gmail]/Drafts"
set message_cachedir=~/.mutt/cache/bodies
set header_cache =~/.mutt/cache/hcache
set certificate_file =~/.mutt/certificates

I've tried setting things up the following combinations but have had no luck thus far:

set folder = imaps://imap.gmail.com:993/INBOX
set spoolfile = "+[Gmail]/Important"


set folder = imaps://imap.gmail.com:993
set spoolfile = "+[Gmail]/Important +[Gmail]/Inbox"

... and some other non-sense combinations that didn't work.

Is what I'm attempting to do possible and how can I achieve it?

Thanks for reading and pondering this predicament! :-D

0 new messages