Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mutt]

Mutt is a text-based e-mail client for Unix-like systems

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

Automatically respond to spécific subjects with mutt

I need to automate some tasks. Is there a way to receive a mail using mutt and respond to it if the subject match a desired list? Example: If I receive a mail subject beginning with hello or hi or ...
Damien 's user avatar
0 votes
0 answers
13 views

Prevent mutt from uncollapsing threads after imap-fetch-mail

If I delete an email using another client, then run :exec imap-fetch-mail in mutt to have the email deleted in mutt, all threads in the folder become uncollapsed. Is there a way to prevent this?
Andrew's user avatar
  • 267
0 votes
1 answer
37 views

mutt: bcc to /var/mail/myself instead of out via IMAP?

During mutt -f imaps://imap.example.com/INBOX, when I send an email, if I bcc to myself, then the bcc gets sent to the inbox at my email provider at example.com. Then it's an extra step to retrieve ...
Camille Goudeseune's user avatar
0 votes
1 answer
739 views

Simple and lightweight .eml html renderer on linux? [closed]

I'm testing various email utilities (neomutt, notmuch, mu) and productivity gains they offer are great, but being CLI tools none of them allow you to view rendered html email messages (e.g. .eml files)...
Daniel Krajnik's user avatar
0 votes
0 answers
234 views

Mutt and Gmail with Local Storage for Readmail

I've been using Mutt with Gmail (Google Workspaces) and when I save readmail, it saves them on the imap with a label. I'd like sentmail and readmail to be stored locally. I only want to use Gmail for ...
Warner's user avatar
  • 491
0 votes
0 answers
77 views

Why mutt don't accept the password?

I have a problem when I enter my gmail password, mutt shows me a notification "login failed" my password is correct
CodeWeb's user avatar
2 votes
1 answer
130 views

mutt: keybind to run external script just before imap-fetch-mail

I use offlineimap to manage receiving mail from my IMAP server. I use folders in mutt which offlineimap populates to view them. I would love to be able to bind a key to run the offlineimap external ...
kevr's user avatar
  • 121
0 votes
1 answer
63 views

Location of .vimrc sourced by vim editor in mutt

I am having trouble trying to customize the vim editor that mutt opens while composing and reading emails. While composing an email, mutt opens a vim text editor. The name of this file/buffer seems to ...
Tryer's user avatar
  • 111
2 votes
1 answer
1k views

How to combine local mailboxes and imap ones in mutt?

I used to read my email with neomutt and get them from server with fetchmail. For a time, I switched to using mostly my webmail, but now I'd like to combine mail archives managed by mutt and ...
Joce's user avatar
  • 1,060
1 vote
0 answers
98 views

mutt disallows deletion of message with error "Mailbox is read-only" in WSL

MAIL in .bashrc is set thus: MAIL=/var/spool/mail/Tryer && export MAIL fetchmail and mutt commands work fine and display any new message received. However, on trying to delete a message in ...
Tryer's user avatar
  • 111
0 votes
1 answer
132 views

ssh'd-to terminal background becomes white only from WSL2

I read email with mutt on an Ubuntu 18 host, which I ssh into. When I ssh from macOS 11 (via iTerm2, if that matters) or from another Ubuntu 18 host, all is well. But when I ssh from WSL2 (running ...
Camille Goudeseune's user avatar
7 votes
1 answer
4k views

How to continue using msmtp OAuth 2.0 for Gmail in mutt after oob deprecation?

background For two years I've been happily accessing my Gmail accounts with neomutt. I'm sync'ing between neomutt locally and my online Gmail account with mbsync and a "2-Step Verification" ...
joharr's user avatar
  • 373
0 votes
1 answer
210 views

Validation for local DKIM signature fails after sending through msmtp

due to my mail provider's setup, I need to DKIM sign my messages locally. I do this by piping messages composed in mutt through a simple Python script to msmtp. These messages will fail a DKIM check ...
janeden's user avatar
  • 425
0 votes
0 answers
261 views

Mutt cannot delete messages

Running mutt on AWS EC2 instance with Amazon Linux, I cannot delete any messages, running mutt either as a regular user or as root for root mailbox. When quitting, following 'Purge deleted messages' I ...
user48297's user avatar
0 votes
1 answer
606 views

Can't send mails as root with Mutt through MSTP

I successfully set up Mutt and SMPT to send to myself some logs through emails. As user, it works perfectly However, when I ask through sudo crontab -e as root to send some logs after running some ...
Dude17's user avatar
  • 3
0 votes
1 answer
165 views

How to resend bounced email messages using mutt

Background An email relaying issue was resolved. 32 email messages to sponsors had bounced to root. I copied /var/mail/root to /tmp/root. I deleted irrelevant messages from /tmp/root (using mutt). ...
badams's user avatar
  • 13
2 votes
1 answer
2k views

What is the difference between Gmail SMTP port 465 and 587 in Mutt?

Which Gmail SMTP port should I use in Mutt's smtp_url configuration option? I noticed that port 465 only works with smpts://..., while port 587 only works with smtp://... (by "works", I mean ...
Flux's user avatar
  • 241
2 votes
1 answer
183 views

Bulk delete text/html parts of email messages

I would like to reduce the size of my mail archive by deleting text/html parts of multipart/alternative messages. I can do this individually in mutt by opening each message, but it gets tedious. Is ...
András Korn's user avatar
2 votes
1 answer
523 views

Saving an attachment in Mutt - how to select a directory using the list view

I want to save an attachment to directory ~/a/b/c. I can manually type in (tab complete etc) the path upon entering ~/a/b/c/ and mutt prompts to save. Fine. But how can I achieve the same thing using ...
Tristan's user avatar
  • 123
1 vote
1 answer
215 views

neomutt: Stop new mail banner for folders other than inbox

I'm using neomutt as my local mail reader (I use isync to mirror my Gmail account locally). I am noticing that sometimes when I start neomutt, it informs me in the bottom banner that there are new ...
NOP's user avatar
  • 363
1 vote
1 answer
592 views

Get input from a command on Mutt

Mutt can be used to send email from command line, for that we do something like: mutt -s "Subject" -i file.txt -- [email protected] < /dev/null My file.txt can have the output of a ...
KcFnMi's user avatar
  • 604
1 vote
0 answers
351 views

Intermittent issue of receiving emails when emails are sent using "mutt" email client in Linux

To send an email to a specific set of users, I am currently using mutt (command line based email client). Below is the command that I have used in my shell script to send an email: echo "Initiating ...
Deepak Jain's user avatar
2 votes
1 answer
1k views

Opening every mailbox in read-only mode in Mutt

I’d like to use Mutt (or NeoMutt, if that makes a difference) to view maildirs in read-only mode. I know that I can use the -R command-line argument to start Mutt in read-only mode, or press the % ...
scy won't contribute anymore's user avatar
0 votes
1 answer
299 views

Bash: How can i send one mail instead of multiple mails

I am learning shell scripting and i was stuck at sending an email. here in below code i am using conditions to check the files size if it is greater than 0 bytes then send an email. if [ -s file1 ] ...
sai prudhvi's user avatar
2 votes
2 answers
549 views

Mutt/Neomutt: Custom commands / named macros

I know mutt allows me to define custom keyboard macros. But is it possible to define custom functions - unbound macros so to speak - that can be executed via mutt's command line. Like so ":...
80KiloMett's user avatar
3 votes
2 answers
614 views

Alternate html and text plain - avoid short messages like "your mailreader don't support html message"

I would like to read multpart (html and alternative text together) text/plain first. So, I set muttrc as follow: .mutt/muttrc auto_view text/html alternative_order text/plain text/html and mailcap ...
Tatui1969's user avatar
3 votes
1 answer
992 views

view two maildirs as one in mutt/neomutt

Simplifying another question about merging multiple email accounts: I have two maildirs. How do I get a combined listing of both - either in Mutt or NeoMutt? This means where the messages are sorted ...
Metamorphic's user avatar
0 votes
1 answer
1k views

GPG autologin with pam, pinentry

Recently I started using Neomutt with Luke´s mutt-wizward and therefore I have to setup pass and gpg, which were both new to me. I know how public and private key encryption works but after playing/...
braunbearded's user avatar
2 votes
1 answer
9k views

Configuring mutt for Office365 - displaying threads and sent mail correctly

I'm trying to set up mutt to use it with my business email that is hosted by Office365. I used a muttrc i found on github for my initial configuration and changed it a bit according to my needs and ...
Zlatan Sičanica's user avatar
2 votes
2 answers
3k views

Archiving Gmail messages using Mutt: does simply deleting the message in mutt work?

Question: can someone confirm and/or explain the following observation? After shopping for ~/.mutt/muttrc settings over the web and digging into years-old (if not decades old) posts, I found the ...
llinfeng's user avatar
  • 1,291
2 votes
1 answer
759 views

how can I specify the default domain for mutt to append to unqualified addresses

I would like to be able to type just the username of a recipient for people within my domain, and have mutt automatically qualify it for me. That is, if I type user1 I would like it to be transformed ...
Eric Renouf's user avatar
  • 1,784
2 votes
1 answer
2k views

Yahoo IMAP with mutt, login failure

set imap_user = "imap://(user)@imap.mail.yahoo.com:993/" set imap_pass = "(password)" set ssl_starttls=yes set ssl_force_tls = yes #set smtp_url = "smtp://(user)@smtp.mail.yahoo.com:587/" #set ...
user avatar
2 votes
1 answer
231 views

Flush (Neo)Mutt Flags

I wonder how can I flush flags for messages without close (Neo)Mutt or switch the mailbox. I tend to keep the window open, but I want that messages that get marked as read (more likely unmarked to be ...
weilbith's user avatar
  • 141
1 vote
1 answer
1k views

bulk email sending with an attachment using mutt

A friend of mine who uses Windows needs to send an email to a few hundred people regularly. A simple greeting line and a PDF attachment (not a spam, nothing illegal!). Until recently she managed to ...
Alex's user avatar
  • 11
0 votes
0 answers
501 views

Mutt: sort last mail first

I use mutt and this is in my config to sort my mails: set index_format = "%4C %Z %{%Y %b %d %R} %-15.15L (%4l) %s" set sort = threads set sort_aux = reverse-last-date-received But I get a little ...
beli3ver's user avatar
  • 171
4 votes
2 answers
2k views

Getting neomutt to download all headers and messages

By setting the variables header_cache and message_cachedir, you can make neomutt cache messages headers and even the message bodies. This allows way quicker searching among other benefits. The ...
sudoremo's user avatar
  • 165
1 vote
0 answers
292 views

Mutt, Gmail and the new mail

I have my Gmail account accessible via IMAP in Mutt. And I'm probably missing something but why Mutt doesn't marks my email as read when I open it? I mean, in Mutt, I press Enter on an email, it opens ...
A S's user avatar
  • 131
1 vote
1 answer
666 views

how to send mail attachment from ubuntu 16.04 using Gmail service?

I have been using filezilla to import/export some data from server. How to send a file in a zip file via email in unix?
Ishwar Chandra Tiwari's user avatar
3 votes
1 answer
200 views

Mutt Direct Email Organization

I have been using the Mutt Terminal email client and have been enjoying it thus far. I am getting into some Linux Kernel programming lately and have recently become a part of the lkml(linux kernel ...
user avatar
1 vote
1 answer
655 views

OSX Mutt Mailcap Not Viewing text/html

I have installed Mutt on OSX. I am trying to configure Mutt to view HTML emails. I have added an auto_view directive and mailcap file. However whenever I open an email in html it simply shows up as ...
Noah Huppert's user avatar
0 votes
1 answer
368 views

Starting Mutt on raspberry pi gives errors processing Muttrc

I recently apt-get upgraded my pi, running stretch. When I start mutt, it displays the error messages below. Error in /usr/lib/mutt/source-muttrc.d, line 3: for: unknown command Error in /usr/lib/...
Bryan's user avatar
  • 138
1 vote
1 answer
419 views

w3m - work offline for email HTML attachement preview

I'm using w3m for reading HTML mail in Mutt. I'm not using auot_view but rather open the HTML attachements in w3m. w3m seems to download resources like stylesheets and images by default (it has just ...
Mark Howard's user avatar
8 votes
1 answer
1k views

Limiting the number (by date) of IMAP headers fetched in mutt

I'm using mutt to open an IMAP folder (gmail) that has a lot of messages (hundreds of thousands), so I'd like to tell mutt to fetch only messages less than 1 week old (for example), since fetching ...
Bojan's user avatar
  • 81
3 votes
1 answer
4k views

Setting up mutt with pass to handle encrypted passwords

As mentioned in the comments on this article, https://blog.christophersmart.com/2016/08/10/command-line-password-management-with-pass/ and as described in this blog entry, http://schnizle.in/blog/...
Stefan Boehringer's user avatar
2 votes
1 answer
3k views

Mutt email client not receiving or sending mail

I am trying to setup the mutt email client on my Linux system, however, I am running into some issues. To begin with, when Mutt launches it states the following at the bottom of the screen: ...
user avatar
2 votes
1 answer
1k views

mutt loses 'new' flag on unread emails when changing mailbox

I have an anoying misconfiguration in my mail setup and I can't tell where it comes from. I configured my mutt client to retreive email from Offlineimap with folder-hook to handle multiple accounts. ...
Plup's user avatar
  • 141
2 votes
2 answers
944 views

How do you to configure a hotkey in Lynx browser to open page the system browser?

When you're viewing an HTML page in Lynx, sometimes text-only formatting isn't adequate (especially for poorly designed HTML). Can Lynx be configured to open the current page in another browser (e.g. ...
Chris Hubley's user avatar
2 votes
0 answers
553 views

In notmuch search results, which maildir contains each of the emails?

I am using notmuch with the mua mutt (actually, neomutt). When I perform a search, all matching mail is accessible via a special maildir which I can open in mutt. However, I do not see any way to ...
Joce's user avatar
  • 1,060
1 vote
0 answers
198 views

How can I configure Mutt's GPG support to use simple ASCII armor instead of PGP/MIME?

Since I started using signed (and sometimes encrypted) mail with PGP/MIME, I've heard about messages being marked as spam, making the communication less reliable. I found that this wasn't the case if ...
Maya's user avatar
  • 171
0 votes
1 answer
445 views

How do I get mutt to send data over SMS?

I'm trying to use mutt to send emails to ##########@vtext.com, effectively using mutt for SMS. Unfortunately all of the mail I've sent hasn't reached my phone. I'm thinking that mutt needs some ...
Steve Mucci's user avatar

1
2 3 4 5