Questions tagged [mutt]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Can I launch mutt in composing view from command line?

I would like to precompose a message in a script and then give it to mutt, without sending it automatically. When I do echo -e "This\nis\nmy\ncool\nmessage" | mutt -s "Test message"...
Bowi's user avatar
  • 1,375
0 votes
0 answers
33 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
1 vote
0 answers
60 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
  • 111
0 votes
1 answer
34 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
1 vote
1 answer
246 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 NoToPutinsWarInUkraine's user avatar
1 vote
0 answers
54 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
73 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
5 votes
1 answer
2k 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
  • 345
0 votes
1 answer
130 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
  • 415
0 votes
0 answers
179 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
315 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 ...
Azertux0's user avatar
0 votes
1 answer
130 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
1k 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
  • 189
1 vote
1 answer
131 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
307 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
160 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
  • 353
1 vote
1 answer
370 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 -- someone@gmail.com < /dev/null My file.txt can have the output of a ...
KcFnMi's user avatar
  • 564
1 vote
0 answers
273 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
718 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's user avatar
  • 308
0 votes
1 answer
243 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
1 answer
311 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
280 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
2 votes
1 answer
495 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
7k 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
1 answer
2k 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,123
2 votes
1 answer
559 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,704
2 votes
1 answer
1k 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
169 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
0 votes
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
  • 1
0 votes
0 answers
363 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
  • 161
4 votes
2 answers
1k 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
230 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
617 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
174 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
533 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
322 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
360 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
872 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
756 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
363 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 NoToPutinsWarInUkraine's user avatar
1 vote
0 answers
151 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
414 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
4 votes
0 answers
292 views

How to cancel fetching/downloading big messages/folders in mutt?

How can I cancel the download of big messages or folders in Mutt? ctrl+c does nothing and I tried different things and keys and searched the web for how to cancel ... I don't want to quit the ...
MacMartin's user avatar
  • 823
1 vote
1 answer
968 views

Mutt, Mailcap, Cygwin, Chrome: Opening HTML attachments in Mutt

I am unable to open HTML attachments in Chrome when running Mutt on Cygwin. I view the message, then enter the list of attachments (v), then choose the text/html attachment and press m to execute ...
ChaimKut's user avatar
  • 523
1 vote
1 answer
62 views

Does installing Sendmail(using apt install) allow my computer to act as an email server?

I am new to networking and have installed sendmail to allow me to send mail via mutt. I wanted to know if by doing this I have allowed my computer to act as an email server, or if the sendmail ...
Rollelaw's user avatar
1 vote
1 answer
433 views

The way to indicate that new messages are present (mutt)

So the basic problem I want to discuss, is there a way to indicate that new messages were got into the mail box? What I mean, currently I have about ~8 separate folders managed by sieve, I do not ...
M.Mass's user avatar
  • 133

1
2 3 4 5