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

learn more… | top users | synonyms

2
votes
0answers
85 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
1k 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
360 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
179 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
552 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 ...
8
votes
1answer
668 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 ...
4
votes
1answer
3k 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
36 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 ...
3
votes
2answers
863 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. ...
5
votes
1answer
219 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
581 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
298 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
438 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
1answer
358 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
551 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 ...
3
votes
1answer
740 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
236 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.
5
votes
3answers
356 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 ...
6
votes
1answer
1k 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?
7
votes
1answer
894 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
2k 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
253 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
266 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 ...
3
votes
1answer
454 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 ...
4
votes
2answers
2k 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
169 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 ...
11
votes
3answers
1k 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
164 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
131 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
497 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, ...
7
votes
1answer
1k 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
1k 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
6k 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
394 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
201 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
635 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
220 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
199 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
333 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
674 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
418 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 ...
4
votes
1answer
1k views

Pretty print mails from mutt?

I know that I can configure a print command in Mutt via .muttrc, e.g.: set print=ask-yes set print_command="..." But what print command should I use for pretty printing? Well, a2ps output seems a ...
7
votes
1answer
569 views

How to make Firefox open mailto: links with mutt in terminal

All I want to do is pass mailto: links to urxvt -e mutt -F ~/path/to/muttrc with the rest of the mailto: URL appended. I've tried every script I can find online that purports to do this, from simple: ...
6
votes
1answer
794 views

Rename mailboxes in mutt

I'm using mutt with mutt-patched to manage 5 different Gmail accounts. For each of this accounts, I have INBOX as a mailbox with the mailboxes +INBOX configuration statement for each one. Then, I have ...
5
votes
5answers
2k views

How do I configure mutt to display the date header in my local time zone in the pager?

When I view a message in the pager mutt displays the time in the Date header in UTC rather than my local time zone. The index view displays the local time correctly. I found this old mailing list post ...
1
vote
1answer
2k views

how to configure mutt as email client in linux for a remote microsoft exchange server?

I have a windows xp laptop that has ms-outlook 2007. i didnt have to do anything to set it up. i connected my laptop to office network and it picked up all settings by itself. Now i want to dump this ...
3
votes
1answer
638 views

Mutt: Automatically subscribe to IMAP mailboxes

I'm using a bunch of mailboxes in mutt which are populated by imapfilter. To avoid manual reconfiguration (by going to the folder list and pressing s at every new entry), I'd like to configure mutt to ...
4
votes
2answers
537 views

Run command when checking for new mail in mutt

I'd like to run a command (specifically imapfilter) whenever Mutt is checking for new email, to avoid getting "wrong" messages about email in =INBOX which hasn't been filtered yet.
7
votes
1answer
482 views

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 ...