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

learn more… | top users | synonyms

1
vote
3answers
3k views

Mutt not sending email when specifying smtp server

I am trying to use mutt as my email client, and it works fine for my gmail account. But when I use my work email, it does not send the emails. It doesn't give any error, it just doesn't send them. The ...
2
votes
1answer
32 views

Procmail not running

I'm using: Mutt-kz + Isync + msmtp + spamassassin + Procmail Mutt-kz, Isync and msmtp are working. I cannot make procmail start automatically when mail arrives. I'm doing everything as non-root user ...
6
votes
0answers
230 views

Why does mutt keep asking for imap username and password?

Unsetting mutt's configuration variables imap_user, imap_pass (and perhaps preconnect, imap_authenticators as well) via an account-hook . "unset ... " call, seems to be common practice, if not a ...
2
votes
1answer
42 views

Displaying emails with mutt

After being able to retrieve emails from an IMAP account on a remote mail server using fetchmail and POSTFIX as an MTA, I am able to see the emails in the spool folder /var/spool/mail/ghassan in a ...
1
vote
1answer
22 views

Integrate pattern matching examples in mutt's Help

How can I integrate the following (scrapped from mutt's manual) in mutt's Help? Or, if one thinks it's better to call it independently, how to make it callable via a shortcut? Via a macro? Many of ...
5
votes
1answer
958 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
1answer
123 views

Mutt: gmail archive

I want to recreate the gmail archiving method. I sync (using offlineimap) my inbox and my all mail folders, and, by archiving, I want to keep the one in All Mail and delete the one in inbox. Also, ...
9
votes
1answer
382 views

How can I configure mutt to display my replies within threads?

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 ...
5
votes
1answer
235 views

Greek characters in mutt's sidebar (mailboxes names sourced via offlineimap)

Mutt's sidebar, does not read properly Greek characters (mailboxes named by using Greek characters). Anyhow, there is no such problem inside both the index and the pager, where Greek ...
8
votes
2answers
2k 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 ...
5
votes
3answers
1k views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
1
vote
1answer
29 views

Mutt in script, no recipient specified - attachment, multiple recipients

I'm getting the No Recipients Specified error when sending an email from Mutt in a bash script. I've looked around at other forum questions and don't think the typical syntax errors are the problem ...
2
votes
1answer
58 views

use mutt to send email through specific port on CentOS 7

What specific syntax do I use to get mutt to send an email through port 587 on a CentOS 7 server? For example, the sender is me@mydomain.com, the recipient is someone.else@someotherdomain.com, the ...
0
votes
1answer
23 views

How to modify recipient when bouncing email in Mutt?

I would like to send several times the same email to different recipients. I cannot put all recipients in CC or BCC because 1. one recipient should not see emails of the others (so not CC) and 2. I ...
2
votes
2answers
585 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 ...
1
vote
1answer
56 views

mutt: Decode quoted-printable encoded author name

I have to deal with several mails having a quoted-printable encoded From field like this one: From: =?UTF-8?Q?=22Foo_Bar=22?= <foo@bar.com> The =22 result in " in mutt's index which looks ...
6
votes
2answers
6k 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 ...
1
vote
1answer
19 views

mutt: two character sequence commands

Is there any way to define a two-sequence command in the mutt email client? I would like to map gg to the first email, similar to the first line on vim, but I can only find ways to map commands to ...
1
vote
1answer
63 views

How use mutt to manage /var/spool/mail/user

I've just installed apticron to get mails as available update notifications. Now I was wondering if there was a way to set up mutt to manage my mails from /var/spool/mail/daedalus? I'm on Debian ...
1
vote
1answer
40 views

Log monitoring directly from a mail client

I have a mutt mail client installed for receiving backup logs on my server for monitoring, Is there a way I can read the body of a mail message directly in the client in a way that I can search for a ...
1
vote
2answers
89 views

Getting vim to go to the first line and enter insert mode when writing an email with mutt

Mutt uses vim as its editor, and its temp files are in /tmp/mutt-* I want vim to auto-insert on the first line when replying to an email in mutt. here is the applicable line from my .vimrc: autocmd ...
2
votes
3answers
379 views

Suppresss “~/Mail does not exist” in mutt

I use Mutt (1.5.21 on a headless Debian 7.2 Wheezy VPS) only occasionally, to see and delete messages from cron and the likes. However, it keeps pestering me with this non-existent ~/Mail folder. ...
2
votes
1answer
50 views

Mutt: define macro for a specific folder

I'd like the following configuration for my mutt. If the email is in the foo folder in mutt, then the s key in the attachment view should save the attachment to the ~/bar directory. In any other ...
0
votes
1answer
26 views

How do I delete messages specified by a number range?

The delete-by-pattern is the D command. But how can I specify a range, say from message number 1234 through 2345? Using D with something like 1234-2345 obviously fails because it treats it as a ...
5
votes
1answer
2k views

How to receive meeting invitations from Office365, so that they can be parsed and added to a calendar?

How to receive iCalendar (.ics or .ical) meeting invitations from outlook.office365.com, so that they can be parsed and added to a calendar (such as remind + wyrd)? I've searched long and hard for an ...
1
vote
1answer
25 views

How can I select messages in mutt based on character set usage?

I am trying to mark all messages that use either chinese characters or cyrilic (russian) characters for deletion, since to me, they are all spam.
2
votes
1answer
17 views

How to properly specify a country code top-level domain in a mutt search

I'm getting mail from countries that have no business addressing me. Examples: China .cn, Russia .ru, Argentina .ar. I want to mark all messages for deletion by searching the bodies of the messages ...
0
votes
1answer
33 views

Postfix or mutt changes subject string

I suspect that when I send a message to my postfix server with Re: in the beginning of the subject I get the following view in mutt: The first message containg Re: looks fine. But if I resend ...
1
vote
1answer
60 views

How to get guake to update background characters?

This is actually a problem that also goes on with screen. Here is what it looks like (in mutt): When running a terminal application that builds an updated interface from Guake, tmux and screen ...
3
votes
1answer
54 views

Mutt overheads or missing switches

I have a problem with Mutt at the moment. I have a 4GL routine that creates some quite large output files and I want them to go in a single mail ideally. The total of these files is 21889119 (sum of ...
0
votes
0answers
49 views

A problem using Mutt with Gmail

I'm using Mutt with a Gmail account via IMAP (with Exim), and keep getting warnings Mailbox was externally modified. Flags may be wrong. every time when I move with 's' command a message to ...
3
votes
2answers
86 views

mutt: trash macro

In my previous question I have learned how to implement trash functionality in mutt. unset confirmappend folder-hook . set trash="=trash" folder-hook trash$ unset trash That works well, except ...
0
votes
0answers
153 views

Gmail and mutt: msmtp error

Invalid SMTP URL: ssmtp://REDACTED@gmail.com@smtp.gmail.com:465/ I can use mutt to read my Gmail, but when I try to send I get the above message. When I installed mutt a screen came up for postfix ...
0
votes
1answer
24 views

Mutt: Emaillist emails not be shown in inbox and still readable in some file, how to do it?

I get emails from mail lists such as best-h@list.ayy.com. I don't want them to my inbox, I want them to a new inboxes that I can only read when I select them or basically move all mails like this to a ...
3
votes
2answers
189 views

Avoid mutt sending mail with too many entries in To: or Cc: fields

Frequently, I use mutt's alias functionality, to send a message to larger groups of people (legitimate, not spam!). Normally, I put the alias into the Bcc: field, to cancel out spam harvesters, and ...
0
votes
0answers
72 views

Can You Send Mail With MSMTP Without Putting the Location, ISP, and Hostname in Header?

I've been testing sending mail with mutt and msmtp. I've noticed when replying to a message I sent with msmtp, my state, hostname, and isp show up in the In-Reply-To: header ...
3
votes
1answer
35 views

Search in mutt by date and time

I've been using mutt for some days now, and I think I have the basics by now. I'm able to search messages by date (l, ~d date ...) but what I need is to also search by time. Is it even possible?
0
votes
1answer
70 views

Header about MIME email

Morning, can some body help me about MIME email? I want to send HTML email like this: MIME-Version: 1.0 Content-type: multipart/alternative; boundary=lazuardi --lazuardi After that email. I have ...
0
votes
0answers
94 views

Mutt multi content type

Good afternoon I want to send multiple content_type with mutt. Can I do that? Here is my code : mutt -e "set content_type=text/html" -e "set content_type=text/plain" someone@mail.com -s "Multi ...
4
votes
1answer
155 views

Using mutt and thunderbird together

I'd love to use both thunderbird and mutt together. At times I just want a GUI over CLI or the reverse. I also love thunderbird's search and contact features. I especially love its mail filtering ...
2
votes
1answer
54 views

Move to next flagged message in Mutt

Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like ...
3
votes
3answers
849 views

Script to email all matching files in a directory

Trying to set up a bash script to automate sending data files. Desired end result is to check a specified directory once per week, make a list of all Excel files modified within the last 2 days, and ...
1
vote
2answers
154 views

Sending most recently created file via Email

I'm trying to send a log file every 24 hours or so via email. Currently I am using mutt for this. You can call mutt like this: mutt -s "Log" -a file_attachment example@example.com I know I can ...
2
votes
0answers
47 views

Create a new command for mutt

I try to create a command (and not a macro) on mutt to print the mail in file, for this a put the following line on the ~/.muttrc: macro index,pager print-on-file '<enter-command>set ...
5
votes
1answer
306 views

accessing Maildir locally with Mutt and remotely over IMAP simultaneously

I have Postfix + Maildir + Dovecot + IMAP on my mailserver. I am accessing my mailbox remotely over IMAP with one or more clients (Thunderbird). Additionally, on the server I have mutt configured for ...
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 ...
3
votes
1answer
138 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 ...
2
votes
1answer
27 views

How to display every message in a thread with at least one new message?

I currently have a macro to quickly show only new messages: macro index ,sn "l ^a^k~N\n" "show only new messages" However, this macro loses the context for new messages in ongoing threads. I ...
2
votes
0answers
28 views

Can you change mail accounts by recipient in mutt?

I have a pretty good mutt setup for dealing with multiple mail accounts (work and personal). I'd like to be able to have a send-hook that will change the account based on the recipient. I can do this ...
7
votes
2answers
204 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 ...