Questions tagged [mutt]

Mutt is a text-based email client for Unix-like systems.

443 questions
56
votes
3 answers

Mutt: select multiple messages

I am looking for a way to select multiple messages in Mutt. For example, selecting the first and the last message would select a whole block of messages. I'd also like to select a subject using a regular expression. Then, I want to run a command on…
user55518
42
votes
2 answers

mutt responsive way to refresh inbox

Using mutt with Gmail I "check for e-mail updates" sometimes through the $ binding (sync-mailbox), sometimes just by using c (change folder) and just supplying = (defaults to MAILBOX) as the IMAP folder path to change to. Is there a better (in…
34
votes
5 answers

Why does mutt retain deleted emails in view until you "sync your mailbox" using $?

Every other mail client I have used will remove emails from my sight when I delete them. If I change my mind and want the email back, I can always go look for it in the trash. Why does mutt continue to show emails in my inbox after I have deleted…
Cory Klein
  • 18,911
33
votes
5 answers

Saving email as file in mutt?

When I press S in mutt, it saves the mail to a mail folder format (cur/ tmp/ new/), but I want a single file to be saved, just like how attachments are saved. Is that configurable?
daisy
  • 54,555
25
votes
1 answer

How to really easily save all tagged attachments in mutt?

You can save all attachments via tag all attachments via hitting t ; s choose destination directory and hit a (all) This works but has following severe side effect: you have to hit n-times enter for n attachments. That means even if there are no…
maxschlepzig
  • 57,532
24
votes
2 answers

mutt: save message to specific folder

I have several folders defined in Mutt: mailboxes "~/Mail/inbox" mailboxes "~/Mail/sent" mailboxes "~/Mail/archive" I can save (move) a message to archive, by pressing s and then ? to see a list of folders, and then I…
user1968963
  • 4,083
23
votes
1 answer

Detaching an attachment in Mutt

Once I've attached a file to an email in Mutt, I can't find a way to detach it again. Surely there must be one?
Toothrot
  • 3,435
20
votes
1 answer

How can I make mutt show Date field of mail on the index screen?

I'd like to see the mail's date in the list that appears when I start mutt. How can I do that?
19
votes
1 answer

Can I open the next unread message in mutt with a single key?

Is there a way to open the next unread message in mutt with a single key? I can move to the next unread with next-new-then-unread, which is bound to Tab by default. However, if there are no unread messages in the current mailbox, then I'd have to…
Sparhawk
  • 19,941
16
votes
3 answers

How to switch mailboxes in Mutt?

I want to switch between the "Sent" mailbox and the current mailbox. I use the maildir type. Ideally, there would be a macro bound to a shortcut key that does this.
daisy
  • 54,555
15
votes
2 answers

How to bind in Mutt?

I’m stuck here: Is it possible to bind one of , , , , , together with control? \C shows up as |foo> in the help and ^ isn’t bound. '\C, '\C ' don’t work, too (same with " instead). …
Profpatsch
  • 1,799
15
votes
1 answer

sorting threads in mutt

I'd like to have mutt sort messages newest first, and have threads displayed with the newest message at the top of the thread. Right now I have the message list in the correct order, but the sub-sorting within threads is backwards (newest at bottom…
steve
  • 151
15
votes
1 answer

How do I see the value of a mutt configuration option?

When trying to debug my mutt configuration, I needed to see what was the value of some configuration setting in a running mutt process. How do I figure out what is the current value of a variable in mutt?
a3nm
  • 9,207
14
votes
1 answer

How can I generate email statistics from mutt header cache?

When configured accordingly (set header_cache=) mutt saves the mail headers in a cache file. That could be used to generate mail statistics. Does anybody know something about the file format? Are there any tools available to extract the…
wnrph
  • 1,444
14
votes
2 answers

Use alternative file selector in mutt

In mutt, is it possible to use a file browser such as vifm or ranger (possibly in a tmux split) instead of the default file browser to select a file to attach to an email?
1
2 3
9 10