0

Let's say I am in mutt, exploring "c" and "?" and am now looking at this screen:

y:Exit  c:Chdir  m:Mask  ?:Help
 1     IMAP                                  ../
 2     IMAP                                  Boring
 3     IMAP                                  Drafts
 4     IMAP                                  Junk

and let's say Boring is INBOX.Boring, Drafts is INBOX.Drafts, etc.

So how might I navigate into just plain INBOX, without having to quit mutt and restart?

OK, I hit RET on the first item, and now see

y:Exit  c:Chdir  m:Mask  ?:Help
 1     IMAP +                                INBOX.

But hitting RET on that just gets me to the previous screen. How do I open that INBOX to see the mail in it, but without using the easy solution of just quitting mutt and starting again? Other keys didn't help.

1 Answer 1

4

From that navigation screen (which I assume you got to by c?) you can press q to quit it and return to the mailbox you currently have open.

If you're in a mailbox looking at messages (not at the folder navigation screen) and want to go to the "new mail" (incoming) mailbox, then c!.

http://www.mutt.org/doc/manual/#shortcuts lists a number of short-cuts for mailboxes.

! your $spoolfile (incoming) mailbox

> your $mbox file

< your $record file

^ the current mailbox

- or !! the file you've last visited

~ your home directory

= or + your $folder directory

@alias to the default save folder as determined by the address of the alias

5
  • But if I have navigated to a second folder, then I can only "q" back to that second folder. So let's face it, I'll really have to exit mutt to get back into INBOX in such a case. Oh well, not the end of the world. Commented Nov 10 at 6:41
  • You q back to that second folder, then c! to get to $spoolfile Commented Nov 10 at 12:18
  • Ah! For me not c! but c=INBOX. That finally worked, at least for my IMAP situation. Thanks! Commented Nov 10 at 17:48
  • 1
    @DanJacobson In your .muttrc try adding set spoolfile=imaps://my-imap-host.example.com/INBOX. Then restart mutt and see if c! works. If that doesn't work, then also add set folder=imaps://my-imap-host.example.com and again restart, and try again. Commented Nov 11 at 17:27
  • set spoolfile worked. Thanks. Commented Nov 11 at 21:14

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.