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

learn more… | top users | synonyms

3
votes
1answer
540 views

mutt: trash folder

I am trying to set up trash in mutt. The macro at MacroSamples does not work: set maildir_trash=yes set wait_key=no folder-hook . 'bind index q quit' folder-hook inbox 'macro index q ":unset ...
10
votes
3answers
457 views

mutt: define which headers are displayed (in compose)

When composing a message in mutt, I see the following headers: From: To: Cc: Bcc: Subject: Reply-To: Fcc: ~/.mail/sent Mix: <no chain defined> Security: None ...
5
votes
3answers
1k views

mutt: conditional date format in “index_format”

I have following value set for index_format in mutt: "%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c " which displays date in the format as 2013 Dec 5 I was wondering whether ...
3
votes
1answer
311 views

mutt: bind CTRL+c to abort (CTRL+g)

In mutt, when I use the key combination Ctrl+C, I want it to behave as if I had pressed Ctrl+G. I understand that simple bind, such as the following, will not work: bind index \Cc &...
8
votes
2answers
4k views

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 ...
4
votes
2answers
775 views

bold text when using 256 colors

I am configuring colors in Mutt, but I think my problem is general to linux terminal. For the 16 predefined colors (such as red) I can make it bold, by specifying brightred However, when using 256 ...
1
vote
1answer
505 views

Mutt and maildir format

I am trying to set up mutt to use maildir format. I have the following in my .muttrc file: set mbox_type=Maildir set folder="~/.mail/" set mbox="~/.mail/" set spoolfile="~/.mail/" set record="~/.mail/...
0
votes
1answer
961 views

Sending emails from AutoMySQLBackup from Linux Mint

I have set AutoMySQLBackup on a Linux Mint machine and I want to have the backups sent to an email, but I cannot make it work. I'm new to Linux environment and don't understand it very much. I ...
13
votes
3answers
4k views

Search for mail content with mutt

Is it possible to use to search for specific mail content using built-in functionality of Mutt? Or, as last resort, how can I configure grep to be used in Mutt ? The documentation only mentions the ...
2
votes
0answers
329 views

Difference between urxvt -e and xterm -e

Create an executable file file1 as follows: cat > file1 <<EOF #!/bin/bash mutt -e "push '<'" EOF chmod +x file1 Running ./file1 in an existing terminal executes mutt and select the ...
3
votes
1answer
2k views

Mutt imap multiple account

My first question on this site, I come quickly. I'm a fan of command line tools and text-based application. I use tmux with a minimalist tiling wm is qtile, I can not change the environment. I'm a ...
0
votes
0answers
718 views

Error sending message, child exited 71 (Operating system error)

I'm trying to send mail through mutt command. I got the error message Error sending message, child exited 71 (Operating system error.). I was able to send email through this command earlier, but can'...
10
votes
3answers
547 views

mutt: Use gpgme or classic gpg?

Mutt's wiki on GnuPG integration and many other places (like default on Debian) use the classic way of connecting mutt to gnupg. That is, one configures a bunch of commands to call gpg directly. On ...
3
votes
1answer
701 views

Using mutt to fetch email from hotmail?

OK so I have mutt installed. But can't properly configure my hotmail acccount. I need some sample for hotmail configuration.
2
votes
0answers
232 views

Where does Mutt put deleted messages if no purge is performed?

If I delete one or more email messages in Mutt and then say no when it asks (when changing folders or quitting the program) if I want to purge the deleted messages, what does Mutt do with them? After ...
2
votes
1answer
496 views

urxvt map esc key to key sequence

This question is a spin-off of Rebinding "clear prompt" in mutt I use vim keybindings a lot and like using esc to abort commands. I've now moved to mutt but it is not possible to bind esc ...
1
vote
1answer
407 views

mutt weird action

I wrote a little script to send multiple mails from a list with differents subjects. #!/bin/bash while read -a line do mailadd=${line[0]} subject=${line[1]} mutt -s `echo $subject` `echo $...
2
votes
2answers
3k views

How to specify attachment encoding in mutt command line?

I'm trying to send an email with attachment from a perl script. First, I create the attachment (an xml file): open(XMLFILE, ">:utf8", $xmlfile); print XMLFILE "<?xml version=\"1.0\" encoding=\"...
5
votes
2answers
949 views

What to do with a message/partial MIME type?

I used a copier/scanner to scan a document and email me the resulting image. It sent me several emails, each with a message/partial MIME attachment. mutt doesn't seem to understand these messages. ...
1
vote
1answer
494 views

Using mutt and not revealing IP address

Here is mutt setup: I use offlineimap to fetch the mail and use msmtp to send the mail. My concern is that when using this (msmtp), it appends my IP address in the header in every email that is sent. ...
11
votes
2answers
4k views

local email storage syncing to imap - mutt-friendly

Summary My problem: I want to read email offline with my choice of client (mutt), but I want actions like moving emails, etc. to be kept in two-way snc with an imap server. My question: Is there a ...
2
votes
2answers
334 views

mutt: color messages with attachments differently

I tried this: folder-hook . 'color index green black "~B \"Content-disposition: attachment;\""' but got nothing except exceptionally slow rendering of the inbox. Is there any way to do this, or ...
9
votes
1answer
6k views

mutt SMTP TLS error sending mail

When I try to send a mail, I get the following error: gnutls_handshake: An unexpected TLS packet was received. This is my .muttrc (myname, myaddress and mymail are placeholders): # Automatically ...
4
votes
2answers
898 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 ...
2
votes
1answer
1k 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
988 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 Russian?...
3
votes
2answers
1k 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 ...
7
votes
1answer
2k 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
889 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
77 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 ...
18
votes
3answers
6k 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?
4
votes
0answers
133 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
3k 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
824 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
321 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
2k 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 sub-...
13
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 ...
14
votes
2answers
11k 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
48 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 ...
5
votes
2answers
3k 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. ...
8
votes
3answers
759 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
1k 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 (...
3
votes
2answers
782 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
951 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
3answers
889 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 ...
4
votes
4answers
1k 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 (...
5
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
495 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
4answers
740 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 ...
9
votes
1answer
3k 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?