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

learn more… | top users | synonyms

2
votes
2answers
263 views

Automatically attach a file to a mail with mutt

I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt. I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it doesn't work. ...
0
votes
0answers
12 views

Empty mbsync slave when syncing

I'm syncing my Gmail mailboxes locally with mbsync. Currently, the Gmail and local mailboxes reflect eachother 1:1, however I'd rather not store deleted mail locally. After I have marked messages for ...
1
vote
0answers
14 views

Show current email address in Mutt status line

I have multiple email accounts configured with Mutt, however it's not always clear to me in which account I'm currently on. I'm looking forward to add my current email address (from the from ...
0
votes
1answer
10 views

mutt read message change to unread messages

I'm using mutt: [alexus@wcmisdlin02 Desktop]$ mutt -v Mutt 1.5.21 (2010-09-15) Copyright (C) 1996-2009 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt ...
1
vote
1answer
25 views

How to configure Mutt for gmail securely

I've setup mutt on Ubuntu to work with my gmail. It works if I change the setting in gmail "Allow less secure apps" to ON but I'd rather connect securely. I have OpenSSL installed. When I do mutt -v I ...
3
votes
3answers
2k views

IMAP folders: how big is too big?

I've switched from using Thunderbird to offlineimap and mutt. My mailboxes have over 50k messages. After tweaking some settings, mutt is very responsive with this many messages. notmuch is extremely ...
2
votes
1answer
23 views

Can I automatically send from specific email addresses in Mutt?

Background I own a domain with a catch-all, so that all email sent to *@foo.bar goes to one account. I have unique usernames for particular organisations, e.g. stackexchange@foo.bar. If an email ...
26
votes
2answers
8k views

Mutt: how to safely store password?

My .muttrc file looks something like this one or see below a glimpse. I am hesitant with the password. How should I store my password to use it with mutt? set imap_user = "username@gmail.com" set ...
11
votes
1answer
464 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
0answers
18 views

Is there a way to import a recipient's address from mutt into abook?

I am using abook as my addressbook with mutt. I have set up a Macro that lets me import the sender's address from an e-mail via the abook --add-email command: macro index,pager A ...
1
vote
1answer
26 views

Mutt authentication fails because username string is malformed

I'm trying to set up mutt to work with our internal email server. Our user names have the form user@domain.lan But when mutt tries to authenticate, it appends the mail server's url to the username ...
0
votes
0answers
21 views

Get mutt to open files >2G

According to the very likely sounding answer to How to access and manage a large mailbox (11 GB) I need to use mutt to open the large mailbox. However the 2G limit was supposed to have been removed ...
6
votes
6answers
3k 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 ...
0
votes
1answer
54 views

Select latest updated file from directory and send it via email

I want to select latest error(timestamp).log file from some directory and send it via email as attachment. What I am trying is: Filename: abc.sh echo 'An error occured' | mutt -s "Logs" -a ...
9
votes
1answer
2k views

Mutt: select multiple messages

I am looking for a way to select multiple messages in Mutt. For example select the first and the last message would select a whole block of messages. Possible also to select by regexp for subject. I ...
1
vote
0answers
101 views

Fetch patches from mailing list with mutt and vim

How can I fetch patches from a subscribed development mailinglist with mutt and vim so that they can be applied with "git am" or "git apply" command easily? Is it either possible to save it ...
11
votes
2answers
579 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 ...
8
votes
2answers
362 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 ...
0
votes
1answer
105 views

Why use user@privatedomain@smtp.gmail.com in Mutt configuration file?

I cannot authenticate to my university smtps server with Mutt, with the same error message as http://askubuntu.com/questions/81924/sasl-authentication-failed-with-mutt-and-gmail-why/ ...
3
votes
0answers
96 views

mutt: how to display emoji characters correctly?

I'd like to be able to see emoji characters properly in mutt, but e.g. 💗 shows up as ^J in mutt's pager. Running :set pager=view and re-opening the message displays the character correctly with ...
9
votes
3answers
3k 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. ...
3
votes
1answer
35 views

Can I stop mutt from asking for the recipient when pressing m to send a new email?

When I press m to send a new email in Mutt, it first asks for the recipient ("To" header), and then for the Subject. After that, it opens the email in Vim so I can actually write my email. I've set ...
13
votes
2answers
4k views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
3
votes
2answers
168 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
2
votes
2answers
62 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 ...
1
vote
3answers
4k 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
73 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
30 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 ...
6
votes
1answer
1k 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
171 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, ...
5
votes
1answer
288 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
3k 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 ...
1
vote
1answer
133 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
165 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
61 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
664 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
85 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 ...
8
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 ...
1
vote
1answer
25 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
86 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
48 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
129 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
528 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
84 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
34 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 ...
6
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
29 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
44 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
80 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 ...