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

learn more… | top users | synonyms

4
votes
2answers
71 views

Delete mails with attachments

Since I've limited quota on mail server, I'd like to delete large messages. I am thinking of the following flow: Tag all messages with attachments Delete the tagged messages. The mutt manual have ...
3
votes
1answer
106 views

Controlling the order in which files are put into an array

I have a script that grabs a bunch of time-stamped files and puts them into an array to be processed by Mutt and emailed to me. My problem is that the files are just randomly placed into the array and,...
2
votes
0answers
25 views

How does Mutt decide if an email has been replied to?

Mutt places an r flag next to emails that I've replied to. However, sometimes it errs, and there is no flag next to an email that I have replied to. notmuch correctly identifies the thread. If I move ...
2
votes
1answer
61 views

Sending Specific Files With Mutt

I'm trying to use Mutt to send specific files in a folder. I have a folder titled "Image Cache" that, with a picture being taken every second, has 30 seconds of pictures in it. I would like to use ...
1
vote
1answer
58 views

How to revert list of email by date using mutt?

I use the office365 mutt config connect my Microsoft Office 365 email account, and that works fine. One issue I am having is that I want to reverse the email view so that I see the most recent ones ...
1
vote
0answers
40 views

Can I create a mutt macro to reply and archive?

Is it possible to create a mutt macro to reply to an email, then move it to another folder? Currently I have the following two macros defined. bind index,pager r group-reply macro pager a ":set ...
2
votes
2answers
41 views

Can mutt macros obtain properties from the current message?

In mutt, can macros can obtain some of the properties from the current message, in order to use them as variables? Here are some examples of potential macros, with the properties I'd wish to obtain in ...
4
votes
1answer
29 views

How can I GPG encrypt for only a sole specific recipient in mutt?

I'm trying to set up a send-hook so that gpg encryption is enabled when I send to a specific recipient, but if it's sent to other recipients as well, then encryption is disabled. However, send-hooks ...
4
votes
1answer
75 views

How can I search gpg-encrypted email with notmuch-mutt?

I'm using mutt, with notmuch-mutt indexing the mail. I have a macro defined in mutt to search multiple mailboxes, using notmuch's integration (as suggested in the man page). macro index <F3> \ ...
3
votes
0answers
131 views

Can I open the next unread message in mutt with a single key?

Is there a way to open the next unread message in mutt with a single key? I can move to the next unread with next-new-then-unread, which is bound to Tab by default. However, if there are no unread ...
1
vote
0answers
23 views

Can I delete messages from the trash after x days in mutt?

I'd like to use a trash folder in mutt. I know how to create a macro that moves mail to the trash folder instead of deleting. However, I'd also like to automatically delete messages that sit there for ...
4
votes
1answer
163 views

Why does sending email via mutt work to gmail but not to evernote?

I have freshly installed sendmail and mutt on Ubuntu 14, with no configuration. It works fine like this when sending a test email to a gmail account, e.g. mutt -s 'test 1' < /dev/null -- me@...
3
votes
1answer
55 views

How can I change $record in mutt depending on the from address?

I use multiple accounts in mutt, and wish to save sent messages to different $record directories. I am aware of folder-hook; if I compose in different folders, I can change $record depending on the ...
4
votes
1answer
81 views

Can mutt show the index and body of emails in a horizontal split?

I'd like to have mutt show an index of emails at the same time as the body of the selected email, horizontally next to each other. I understand that you can set mutt up to show the index of emails at ...
1
vote
2answers
394 views

Where to configure my smtp server in Mutt utility

I have my smtp server -- smtp.drdb.com which is registered in DNS. I need to setup Mutt utility in my RHEL 6 server. Where should I input my smtp server details in mutt.rc file so that I can send mail....
5
votes
2answers
310 views

How can I use mutt with local storage, IMAP and instant pushing of new email?

I'm thinking about switching to mutt for email. However, I have a few requirements. I'd like to be able to store the email offline. I'd like to have email pushed immediately to my local computer as ...
0
votes
0answers
227 views

configure command line mail client in centos 7

I have installed mutt. .muttrc file is not located in home directory Need to configure mutt as mail client where as mail server is MS exchange server. Error Message : Diagnostic-Code: X-Postfix; ...
1
vote
1answer
1k views

How to install/setup mutt with Gmail on CentOS and Ubuntu?

How to setup the email client Mutt to send, receive and read email under CentOS and Ubuntu using a Gmail account as a relay
4
votes
1answer
204 views

mutt SSL unknown protocol - not able to connect

I am facing following situation. I am using arch linux I installed mutt the email client I followed the simple guidelines in the arch wiki to configure mutt to use imap For the simple config where ...
0
votes
1answer
77 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 ...
4
votes
1answer
72 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 property)...
0
votes
1answer
52 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 -vv'...
2
votes
1answer
813 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 ...
2
votes
2answers
158 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 ...
2
votes
0answers
74 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 "<pipe-message>...
1
vote
1answer
60 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
39 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 ...
0
votes
1answer
161 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 '/xx/xx/...
0
votes
1answer
1k 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/ L'...
10
votes
1answer
423 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 ...
4
votes
1answer
71 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 ...
2
votes
0answers
234 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 ...
2
votes
2answers
139 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
1answer
70 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 ...
2
votes
1answer
206 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
1k 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
432 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 ...
1
vote
1answer
192 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 ...
1
vote
1answer
170 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 ...
19
votes
5answers
9k 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
62 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
132 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
2answers
298 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
1answer
164 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 ...
1
vote
1answer
58 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 ...
0
votes
1answer
166 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 ...
2
votes
1answer
22 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 ...
1
vote
1answer
49 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.
0
votes
1answer
55 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
2answers
176 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 don'...