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

learn more… | top users | synonyms

0
votes
1answer
21 views

Automating deletion of mail in mutt

How can I delete a group of mails from inbox, say that has been received on a particular date, via cmd line in mutt? Thanks in advance.
2
votes
0answers
5 views

How can mutt indicate the presence of all attachments?

Indicating the presence of attachments In mutt, I can tell an email has an attachment because it is indicated in the email's display itself: [-- Attachment #1 --] [-- Type: text/plain, Encoding: ...
0
votes
1answer
9 views

Why does mutt hang when running gpg in tmux?

I run mutt in tmux and when I run gpg to sign or encrypt, gpg shows a blank screen where I would expect to type my passphrase. I've straced gpg and it shows that it's hanging waiting on a socket ...
-1
votes
1answer
30 views

Mutt : render html within mutt

I wan't to render html within mutt but I haven't succeed configuring it yet. I wan't to use w3m so my .mailcap looks like : text/html; "$BROWSER" %s &; test=test -n "$DISPLAY"; needsterminal; ...
1
vote
1answer
17 views

mutt: select top message on startup

Currently, when I start mutt, it selects the top unread message in the index. How can I configure mutt to select the top message (read or unread) on startup?
2
votes
1answer
24 views

Mutt and Postfix : relay access denied

I try to send mail with Mutt through my own mail server. My mail server run Postfix and Dovecot, I configured it by following this tutorial. So, I can send / receive email on my server with Gnome ...
1
vote
1answer
11 views

Don't show first line with common key bindings in mutt's menus

In the usual message index, mutt uses one line for displaying q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help Similar key bindings are displayed in other menus, e.g in the ...
0
votes
0answers
52 views

gpg: passwordless decryption works in terminal, but not in tmux based msmtp/mutt (can't open /dev/tty)

first try: (with --no-tty in my msmtp config) (reboot) head -n 1 ~/.gnupg/gpg.conf use-agent gpg agent is started: % systemctl --user status gpg-agent.service gpg-agent.service - GnuPG private ...
0
votes
0answers
35 views

How to enable secure authentication (ssl,tls,starttls) in nullmailer 1.0.5. and upgrade nullmailer to 1.11

I am using a linux based device where we use nullmailer to send email using smtp. nullmailer version: 1.0.5 User-Agent: Mutt/1.5.19 (2009-01-05) In the existing mechanism, our smtp server does not ...
2
votes
3answers
62 views

How do I tell Mutt to ask for a gpg passphrase?

I'm slowly migrating to mutt after years of Thunderbird and stumped by gpg. I have Mutt signing messages by default, but I don't get asked for a passphrase and then the message fails: gpg: can't ...
0
votes
1answer
16 views

Using corrected time in the “attribution” variable of mutt?

I receive quite a few email messages displaying UTC time within the "Date:" header. I found the following perl script by user hyperair, very useful to display a new header "Local-Date" for incoming ...
1
vote
0answers
23 views

highlight the current thread in mutt, but not in thread mode

A sample mail structure in mutt: - L1: thread1 mail1 - L2: thread2 mail1 - L3: thread2 mail2 (cursor here) - L4: thread3 mail1 - L5: thread1 mail2 - L6: thread3 mail2 - L7: thread1 mail3 - L8: ...
3
votes
1answer
37 views

How can I change the default “save” folder in Mutt?

By default, Mutt wants to archive messages to folders by sender name. So when I hit s it prompts me with Save to mailbox ('?' for list): =sendername. I'd like to have it default to ...
3
votes
2answers
18 views

How do I save a reply to an MBOX email to the same MBOX file in mutt?

Here is the use case. From time to time I read messages contained in an MBOX file using mutt. For the sake of this question I'll use the following to create an MBOX file for reference: curl -L ...
3
votes
1answer
66 views

mutt: Delay in emails delivery

It is the first time I am sending emails from Bash. For a test I have sent about 80 emails with mutt to (and from) my GMail address. Not all emails have been delivered in the 24 hours following me ...
2
votes
1answer
99 views

mutt send mail from command line, with headers inside text file

Can mutt send mail from command line without command line parameters, with subject, cc, bcc, reply-to, in-reply-to all defined inside mail.txt file with body of the message too (the same file format ...
0
votes
2answers
48 views

Can I send email in the background in Mutt while still being notified of errors?

Removing mutt's send delay I originally used mutt's built-in SMTP MTA. However, there is a considerable pause after hitting send. This can be disabled by using an external MTA with set ...
4
votes
2answers
74 views

Set terminal title from within Mutt?

With the help of Display command in xterm titlebar I've got gnome-terminal changing the title to reflect the running command, so that I can see which terminal Mutt is running it. But what I'd really ...
4
votes
2answers
36 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
93 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 ...
2
votes
0answers
12 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
34 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
46 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
25 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
29 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 ...
3
votes
0answers
10 views

How to create a send-hook 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. That is, encrypt if ...
3
votes
1answer
40 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
47 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
20 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
92 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 -- ...
3
votes
1answer
41 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
0answers
41 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
54 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 ...
3
votes
2answers
114 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
157 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
416 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
3
votes
1answer
104 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
51 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 ...
3
votes
0answers
42 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
30 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
293 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
78 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
48 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
42 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
33 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
84 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 ...
0
votes
1answer
628 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/ ...
6
votes
0answers
220 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
52 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
165 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 ...