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

learn more… | top users | synonyms

4
votes
2answers
518 views

How to tell mutt not to wait for an attachment program to return?

I use this line for images in my mailcap: image/*; eog %s &; but mutt immediately deletes the temp file and eog can’t load it. When I remove the & mutt waits for eog to be closed until it ...
1
vote
1answer
485 views

How to make an address list in mutt

I use Mutt as my main client and use the alias command quite frequently. How to group mail addresses, or—even better—aliases into a list I can then use like an alias to send mail to?
1
vote
1answer
697 views

How do I make mutt show Cyrillic characters on OpenBSD?

I'm using mutt-1.5.21p0v0 to read my mail on OpenBSD 5.2 every now and then. Why does mutt show question marks instead of Cyrillic characters when I open standards-compliant email messages in ...
1
vote
1answer
894 views

How to bind <Control><Arrowkey> in Mutt?

I’m stuck here: Is it possible to bind one of <enter>, <backspace>, <up>, <down>, <left>, <right> together with control? \C<foo> shows up as |foo> in the ...
4
votes
0answers
1k views

Using Trash with Mutt: Does it make sense?

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
4
votes
1answer
644 views

Modify an incoming mail from text/plain to text/html

I'm using mutt to process my mail. There is one sender which declares the wrong content type. The mail arrives with Content-Type: multipart/alternative; boundary=--… and has two parts. They are ...
3
votes
1answer
72 views

Separate .muttrc into parts

My .muttrc file is starting to get quite large. What I would prefer is to create a ~/.mutt/config directory to store various config files for the account, status bar, composition,... etc and then ...
12
votes
3answers
4k views

Saving a 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 the attachment is saved, is that configurable?
3
votes
0answers
115 views

Remove prefix from subject header in index view

I subscribed to several mailing lists that prefix the Subject: header with a fixed string like [list-foo]. This clutters my index view and limits the usable space. I'd like to strip this [list-foo] ...
2
votes
1answer
2k views

Email picture attachments as inline along with the email body

I'm right now working with a script for emailing attachment (.png pics). Since I'm using mutt command with -a option, the email is sent as a mail attachment. I want these .png pictures to be mailed ...
3
votes
1answer
635 views

Peculiar issue with mutt & my_hdr From:

I've been pulling my hair out for hours trying to figure this out and I'm not entirely sure this is a unix issue (perhaps someone could enlighten me) First off, I started from scratch installing mutt ...
3
votes
1answer
262 views

Mutt scripting: interactive dialog macro using `dialog`

I would like to do the following: Press a macro combination Enter a script of my own making (Python) which has user interaction (think: UNIX dialog utility for shell scripts) Do some processing ...
6
votes
1answer
1k views

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 ...
11
votes
1answer
1k views

Continuous use of mutt

I would like to use mutt continuously, allow me to explain what I mean with an example. My typical workflow is this: Open up mutt Compose a message Press y to confirm send action ... wait! Compose ...
7
votes
2answers
7k views

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 ...
0
votes
1answer
41 views

tmux malloc() fault on sorting mailbox

I am getting a lot of these errors from mutt: Sorting mailbox...*** glibc detected *** mutt: malloc(): smallbin double linked list corrupted: 0x08f12d20 *** No particular condition triggers the ...
4
votes
2answers
2k views

Mutt new e-mail notifications in tmux window

I am on tmux, with mutt in an inactive window. If IMAP flags change on a message through external means, I see the visual bell and the status bar changes, drawing my attention to the e-mail client. ...
7
votes
3answers
479 views

Rebinding “clear prompt” in mutt

By default, when entering information at the command prompt in mutt, you can clear the prompt with Ctrlg, as described in the manual: ^G n/a abort I have been trying to bind ...
5
votes
1answer
958 views

How to pipe text for a Mutt email body, then edit the email interactively?

I've been trying to figure out how to start Mutt in such a way that it's just like starting up an interactive Mutt and creating a new email, then copying the output of git request-pull into the body ...
2
votes
2answers
594 views

mutt: move IMAP folder

Can an IMAP folder be moved within mutt? If one navigates to the list of folders (c?), the default key bindings allow one to create a new mailbox (C), change mailbox/folder (c), delete a mailbox (d), ...
3
votes
1answer
733 views

mutt: rename IMAP folder

How does one interactively rename an IMAP folder within the mutt MUA? Currently, if I want to change a folder name, I use the gmail web browser interface, but this is rather inefficient. Is there an ...
2
votes
2answers
648 views

mutt: gmail IMAP unresponsive

I read gmail via IMAP with the mutt MUA. If I leave mutt open and idle for several minutes, then the program becomes unresponsive to keyboard input, requiring me to kill the process. I am not certain ...
3
votes
2answers
881 views

mutt: mark as read and delete

I discard some messages without reading them. After deleting said messages, however, I am soon alerted to the presence of unread mail in my trash can. Is there a way to either: disable the alert ...
4
votes
1answer
2k views

mutt: rendering html emails using w3m

I occasionally receive html messages and I would like to see whether text has been formatted or colored by the sender. I can simply navigate to the attachment list and open the text/html MIME type ...
4
votes
1answer
397 views

mutt sidebar: expand/collapse folders

Is there a way to expand/collapse a single folder or all folders in the mutt-patched sidebar? I couldn't find anything about this in the sidebar documentation.
7
votes
3answers
583 views

mutt: return to index after deleting or saving message in pager view

After deleting or saving a message in pager view in the MUA mutt, the program remains in pager view and jumps to the next message in the current folder. Can this default behavior be changed so that ...
8
votes
1answer
2k views

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?
10
votes
1answer
2k views

Open html attachments externally in mutt

I recently managed to set up the my mailcap so that mutt can show html e-mails in the message window: # ~/.mailcap text/html; lynx -dump '%s' | more; nametemplate=%s.html; copiousoutput; which is ...
5
votes
2answers
4k views

How to switch mailboxes in mutt?

I want to switch between "Sent" mailbox and current mailbox, I use the maildir type. It's best If there could be a macro bound to a shortcut key
2
votes
1answer
530 views

How to use whitespace in procmailrc recipe destination path?

I use Mutt Maildir for storage mails. I created one mailbox like this Stack Exchange/. (whitespace between Stack and Exchange here) procmailrc recipe: :0 * From: .*Stack\ Exchange Stack Exchange/ ...
1
vote
1answer
458 views

Customized Work Emails and Signatures with Each Firm, perhaps with Mutt and Procmail to look Professional?

CompanyA sends mail, I want to respond to them with me@companyA.com and signatureA. When CompanyB sends mail, I want to respond to them with me@companyB.com and signature B. Etc. 1. How can I do a ...
5
votes
1answer
856 views

What does it mean for an email message to be “old”?

I just recently converted my mbox over to Maildir, and when I opened up mutt, I saw an 'O' flag on some messages. Looking this up, I find that it means the message is marked as "Old". However as ...
6
votes
2answers
4k views

Opening .eml files with mutt

How should one open .eml files in linux ? I'm not sure if mutt can handle it ? UPDATE I worked it out partially , by creating a new mailbox: mkdir -p a/{cur,tmp,new} And place the eml file in ...
3
votes
1answer
204 views

Mutt send-hook to sanitize “to” address?

Is there a hook available that allows to sanitize email recipients before sending the email? Ideally, upon pressing "y", the name part is removed from all recipients and only the email address ...
14
votes
3answers
3k views

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 ...
1
vote
1answer
302 views

How to view full bounce message in mutt?

I got an error when sending email with mutt , some "red" text shows at the bottom of terminal , how should I view the full error message ? Is there a shortcut / macro that I could use / define ?
0
votes
0answers
226 views

How to get nano to work properly under mutt?

I have set nano as the default editor in mutt; mutt launches nano normally enough, but when I try to send the message (ie. save and quit, separately) mutt says the message has been aborted. Any idea ...
3
votes
1answer
872 views

How to run mutt via ssh without going through an interactive shell

Mutt depends on curses according to this here, my discussion with Michael: @hhh: ssh hhh@server.com mutt <--- what is wrong here? trying to run mutt there... @MichaelMrozek: mutt uses curses, ...
8
votes
1answer
3k views

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 ...
1
vote
2answers
2k views

How do you install mutt on Mac OS X?

Is there any way of installing Mutt on Mac OS X without using a compiler, homebrew or MacPorts?
1
vote
1answer
2k views

Sending HTML with Mutt (or another terminal mail client)

While I can find some scattered info on the topic, I can't seem to find a straight walkthrough (or even a definite answer)... Basically I'm too low on the totem pole to start sending plain-text ...
1
vote
1answer
14k views

How can I fake sending -time when sending email with Mutt?

Suppose a student is two hours late in returning an assignment. Now the assignment needs to travel a long way in internet so there is a good excuse that it got lost in somewhere or got jammed (well ...
3
votes
1answer
705 views

Mutt silently failing when trying to send an e-mail from command line

I'm trying to send and e-mail from mutt from command line using following command: mutt -F /my/path/to/muttrc -s "Hello" an@email.com < test.txt But nothing happens. Mutt doesn't display any ...
4
votes
1answer
257 views

Mutt: can I define my own rules for quoted message detection?

I recently started using mutt with my gmail IMAP mail address. Because I loved it so much, I also set it up with my college email address. This, sadly, is hosted by the college ICT team under ...
1
vote
1answer
890 views

How to easily set up multiple accounts in mutt?

I want to use mutt with multiple accounts. I would like to use different smtp servers for sending email via ssmtp. One internal provided by the company (imap is supported) and one for my private ...
1
vote
1answer
271 views

How to save email sorted by date?

I seem to remember a patch to mutt that allowed to modify the path of the mailbox in mbox-hook in include the date. For example, you could have this: mbox-hook Maildir +Archive/%y/%m/maildir Which ...
3
votes
1answer
237 views

How to use expandos in backtick shell command

In my .muttrc I have attribution set to emulate Outlook-style message quoting like this: set attribution="\n\n-----Original Message-----\nFrom: %f\nSent: %d\n%t\nSubject: %s\n" However, the %t ...
1
vote
0answers
412 views

Email signature is distorted in Yahoo's new webmail client

I'm using vim+mutt to write e-mails which I send via IMAP through Google. When I include a signature file to be used, and that file contains an ASCII signature (figlet font), it is badly displayed by ...
1
vote
3answers
1k views

Does mutt support saving to an mbox?

Is it possible to save messages in mbox format? I have set mbox_type = Maildir, because I use offlineimap to retrieve my mail. Unfortunately it seems to affect the global settings, and it will save in ...
4
votes
1answer
754 views

Open message with given message-id from command line in mutt

I have the value of the Message ID header of a particular message in my mutt's inbox and I want to open it with a one shot mutt command, read and close. Currently, I open mutt, do a with ~i ...