Questions tagged [mutt]

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.

276 questions
7
votes
3 answers

starting remote script via ssh containing nohup

I want to start a script remotely via ssh like this: ssh user@remote.org -t 'cd my/dir && ./myscript data my@email.com' The script does various things which work fine until it comes to a line with nohup: nohup time ./myprog $1 >my.log && mutt -a…
litro
  • 509
  • 2
  • 6
  • 8
6
votes
4 answers

How to :set spell in Vim only for emails?

Google is not being very helpful here. I'd like to compose emails with :set spell on, but for all other files, :set spell should be off. I am using mutt, and Vim as the editor for composing emails. In fact, I'm curious, how does Vim know that it's…
Oliver Zheng
  • 7,831
  • 8
  • 53
  • 59
6
votes
1 answer

git-am with mailbox patch fails when it contains a cover letter

When running git-am to apply a patch series I had saved into an mbox file from a mailing list, if the mbox also contains the cover letter (otherwise known as PATCH [0/N]), it complains as follows: 128 git … am --3way ~/patches/sample.mbox Patch is…
Larunbe
  • 61
  • 2
6
votes
1 answer

Import local Apple Mail.app messages (.emlx) into mutt

I am a mutt newbie, but am learning steadily, highly encouraged by its speed of searching and message display. I use mutt to read email from two Gmail IMAP accounts, and I cache the headers on my disk in ~/.mutt/cache/hcache and message bodies in…
punkish
  • 13,598
  • 26
  • 66
  • 101
6
votes
1 answer

mutt - index search on yanked text

I'm wondering if there is anyway to "search" or "limit" in the mutt index based on text yanked from either an "edit" or "page" mode. I'm trying to build a macro for the index, that when pressed will limit the index to only mail from (~f) the From:…
joefromct
  • 1,506
  • 13
  • 33
6
votes
1 answer

How to display GMail labels in Mutt?

I'm having a hard time trying to display GMail labels inside Mutt. I'm able to display the labels folders very easily, but I would like to display the labels for each mail, using index format. It seems that GMail exposes labels using the extension…
Baptiste Wicht
  • 7,472
  • 7
  • 45
  • 110
6
votes
2 answers

Mutt, send email without saving it to Sent folder

I can manage to send email and save a copy using Mutt with its own ui. mutt -s topic receiver This will bring up mutt's interface to edit and send mail. It will first upload to imap server, and send the email through smtp server. There is a Fcc…
nils
  • 97
  • 1
  • 8
6
votes
2 answers

"Open attachment with" macro in mutt email client

Sometimes I receive email attachments whose mimetypes are not in my mailcap file. To open such attachments from mutt, I usually select the attachment from the list, hit s to save the file to /tmp, and then use ! to open the saved file with whatever…
sieste
  • 8,296
  • 3
  • 33
  • 48
6
votes
1 answer

Multiple Headers for Mutt Command

I want to set two headers for mutt command. Here is what I am using. mutt -s "Subject" -e "my_hdr From:abc@gmail.com Content-Type: text/html" xyz@gmail.com < body.html But it doesn't work. How can I set multiple headers with -e option?
divinedragon
  • 5,105
  • 13
  • 50
  • 97
5
votes
2 answers

Show if a message in the mutt index has an attachment

Is there a way to have Mutt's index show if a message has an attachment? This would be similar to how Gmail shows a paperclip next to messages with an attachment. I can limit the messages with attachments using ~X 1-15, but it's nice to see whether…
EarthIsHome
  • 655
  • 6
  • 18
5
votes
1 answer

mutt how to move messages to folder containing a literal space

I am trying to use a gmail account in Mutt 1.5.3 on OS X, installed through brew. Using s and navigating to 'All Mail', I can manually save files from my inbox to the all mail folder, but the process is annoyingly manual. I have tried to define a…
Greg Nisbet
  • 6,710
  • 3
  • 25
  • 65
5
votes
2 answers

How to program Mutt to take an action upon new email arriving?

There is an option beep_new in the Mutt's configuration variables, which causes Mutt to issue a beep when new email arrives. Also there is command, which executes a command in internal shell. Is there a way to cause Mutt to execute some…
Al Berger
  • 1,048
  • 14
  • 35
5
votes
1 answer

Mutt - Could not connect to smtp.gmail.com (Interrupted system call)

Thought I would try out Mutt on Ubuntu and after trying to get it to work for a couple days now I'm stuck on this error. Could not connect to smtp.gmail.com (Interrupted system call). I've looked all over the internet trying to figure out how to…
Elijah
  • 561
  • 1
  • 7
  • 19
5
votes
2 answers

mutt threads--display replies in inbox

While mutt has set sort = threads to show threaded "conversation" style messages, it doesn't display one's own replies in the threads. Instead, you have to change to the Sent folder to see your own messages. Is there any way to display one's own…
Reed G. Law
  • 3,897
  • 1
  • 41
  • 78
5
votes
2 answers

Using python in mutt for creating multipart/alternative mails

I'd like to create a text/plain message using Markdown formatting and transform that into a multipart/alternative message where the text/html part has been generated from the Markdown. I've tried using the filter command to filter this through a…
Chris W.
  • 302
  • 1
  • 3
  • 10
1
2
3
18 19