Mutt is an open-source CLI email client. It is highly customizable and fast. Lots of sorting and filtering criteria allow for highly efficient mail handling.
Questions tagged [mutt]
276 questions
80
votes
7 answers
How to change the sender's name or e-mail address in mutt?
How can I change the sender's name or e-mail address (From: header) used by mutt?

user1630087
- 811
- 1
- 7
- 5
52
votes
5 answers
How to start emacs server only if it is not started?
I'd like to use emacsclient to edit emails in Mutt.
I added this in .emacs
(server-start)
And in .muttrc I added
set editor="emacsclient -nw %s"
It seems they work.
When I start a second Emacs, it complains there is already a server running so it…

Meng Lu
- 13,726
- 12
- 39
- 47
42
votes
1 answer
How to move multiple messages in mutt
Before all of my messages were in one maildir. Now I want move all arch-general mail to another one.
From here, I see:
"move" as we know it from other places is "save" in mutt.
"save" as we know it from other places is "copy" in mutt.
~e EXPR …

Paul Yin
- 1,753
- 2
- 13
- 19
40
votes
5 answers
Send Html page As Email using "mutt"
I have been using mutt to send emails from inside another application &
it works fine. I have to send html files and currently I have to send
them as attachments. So I use
mutt -s "hi" -a attach.html user@domain.com < /dev/null
But if I try to send…

eldorado0o
- 528
- 1
- 4
- 10
23
votes
5 answers
mutt: Error sending message, child exited 127 (Exec error.)
I have to send a mail with an attachment from a shell script.
I am trying to do it using mutt as shown here: How do I send a file as an email attachment using Linux command line?
Command:
echo "This is the message body" | mutt -a…

Aditya
- 1,136
- 2
- 12
- 19
22
votes
4 answers
mutt command with multiple attachments in single mail unix
My requirement is to attach all the .csv files in a folder and send them in a single mail.
Here is what have tried,
mutt -s "subject" -a *.csv -- abc@gmail.com < subject.txt
The above command is not working (It's not recognizing multiple files) and…

Mariappan Subramanian
- 9,527
- 8
- 32
- 33
16
votes
1 answer
Shortcut key for "reply all" function
When replying to an email in Mutt, I know that I can reply by just pressing the r key. But what if there were other people in the to and/or cc fields and I would like to reply to all of them?
Long story short, is there any keyboard shortcut in Mutt…

Kubuntuer82
- 1,487
- 3
- 18
- 40
16
votes
3 answers
How do I tell Mutt to not store sent messages?
I'm trying to figure out how to disable storing sent messages in Mutt.
Is there a record value in .muttrc that would make it happen?

John Smith
- 1,813
- 4
- 15
- 18
14
votes
5 answers
How to apply this mutt sidebar patch?
Since the homebrew guys now have removed the option of appying the mutt sidebar patch during installation i went searching and found someone who had created an updated mutt sidebar patch for version 1.5.22 of mutt (every mutt sidebar versions seems…
user2959896
11
votes
0 answers
Mutt macros: How to set and then use a variable in one macro?
I'm trying to write a small mutt macro that will set a variable, and then re-use that variable in the same macro.
What I'm really trying to do is compose a message and sub in the To: address (which later I will populate dynamically).
This is in my…

Jagu
- 2,471
- 2
- 22
- 26
10
votes
1 answer
How to manage Gmail labels in mutt
Is there a way to manage Gmail lables(Virtual folders) with mutt??

in3xes
- 714
- 7
- 19
10
votes
2 answers
mutt config: reply with address that mail was sent to
Okay so here's the deal. I've got a school email adress (say romeo@school.com) that is held on an outlook server.
Because I really dislike outlook, I have this mail forwarded to a gmail address (say romeo@gmail.com).
I've managed to set up mutt and…

romeovs
- 5,785
- 9
- 43
- 74
9
votes
2 answers
Mutt: Saving a message as a text file
I would like to save a message in Mutt as a text file somewhere outside of my maildir. For example, ~/documents/notes. I have found instructions for Saving Messages to Files which says that I should press either C or esc-C (depending on if I want…

oakservice
- 521
- 1
- 5
- 5
9
votes
2 answers
using mutt to send html email with an attachment
I have been using mutt for some to time to send plain text emails with a pdf attachment using:
mutt -s "Subject" -a file.pdf < mybody.txt
and html emails without an attachment using:
mutt -e "my_hdr Content-Type: text/html" -s "Subject" <…

garyLynch
- 533
- 2
- 4
- 11
7
votes
2 answers
What's in your .muttrc?
I've just begun using mutt (what started out as slowly stripping myself of GUI applications, ended up with me just being holed inside a terminal window), and while I've managed to fetch my mail from my IMAP server, there are some customizations I'd…
user564376