Skip to main content

Questions tagged [mutt]

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

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

Using a backslash for an imap_user for mutt to send an email from terminal

I am trying to send an email from a shell script, and I am using mutt with sendmail. The imap_user has a backslash in the user name, and I have not been able to create the variable such that the ...
Samantha Garcia's user avatar
2 votes
1 answer
129 views

Cannot open an .mbox file with neomutt (although it works with mutt)

Cannot open an .mbox file with mutt I want to open a 10GB .mbox file that I downloaded from my gmail account. When I use the command neomutt -f 10GB_mboxfile.mbox neomutt takes 10-20 seconds to open ...
ecjb's user avatar
  • 455
0 votes
0 answers
31 views

Different format in .mbox and email saved locally with mutt: convert split .mbox file into the same format as mutt?

I am trying to move to mutt for mail client and am trying to have email localy. I have 2 sources of saved email: the first one was obtained from the .mbox file form google: I wrote a script which ...
ecjb's user avatar
  • 455
0 votes
1 answer
23 views

How to move message from user-system-mailbox to personal-mailbox using mutt

Is there a way to configure mutt to have the same behaviour as the mail command (from mailutils package), i.e. move messages from user-system-mailbox (e.g. /var/mail/root) to personal-mailbox (e.g. /...
3r1d's user avatar
  • 103
0 votes
0 answers
27 views

Mutt: do not execute send-hook for aborted unmodified messages

I use two identities in Mutt (say, [email protected] and [email protected]), and for one of those (say, [email protected]) I need a Bcc header to be added automatically to all outgoing messages. I have ...
nvx's user avatar
  • 35
0 votes
0 answers
48 views

Kindle ignores mutt emails

Problem Summary kindle ignores epub attachments send to the kindle address (<x>@kindle.com) when using mutt but not with gmail. (same sender address) System Specs Apple Silicon MacBook Pro 2021 ...
Ben Raz's user avatar
0 votes
1 answer
198 views

How to view sent messages in Mutt using the default mbox format?

How do I view the record of sent messages in NeoMutt? How do I do so using the default values of the following variables: record=~/sent mbox_type=mbox
Rafael X Villalobos's user avatar
0 votes
0 answers
132 views

Moving a message to a different IMAP folder in mutt

Let's say I do $ mutt -f imaps://.......%40...........:[email protected]/INBOX.Spam and I want to move a certain message there in INBOX.Spam to INBOX.Junk . How do I do that? How to switch IMAP ...
Dan Jacobson's user avatar
0 votes
0 answers
111 views

mutt hangs when connecting to SMTP server on an unreliable connection

When sending email with mutt and connecting to an external SMTP server, on an unreliable connection (e.g., bad Wifi), it often happens that mutt remains stuck at the "Connecting to..." stage ...
a3nm's user avatar
  • 9,257
2 votes
1 answer
73 views

Mutt: unset previously set macro when switching between accounts

I have a multi-account Mutt configuration. For a specific account, I have set two macros to switch between sender identities: macro compose o "<edit-from><kill-line>Name1 <name1@...
nvx's user avatar
  • 35
0 votes
1 answer
73 views

Save all attachments of all tagged messages with mutt

I have around 100 messages in a mailbox in mutt, each of which has an attachment. (These are scanned documents sent by a printer.) I would like to save all attachments of all these messages in a ...
a3nm's user avatar
  • 9,257
2 votes
1 answer
160 views

Set Mutt's default save folder depending on the current folder

I would like to configure Mutt so that the default save folder changes depending on the current folder: When reading messages in the folder =account1/Unsorted or =account1/Important or any other sub-...
Kusalananda's user avatar
  • 339k
1 vote
1 answer
66 views

Mutt fails to send email

In my Azure ci/cd pipeline, I am executing tests on Ubuntu 20.04. At the end of the test, I created task in the azure pipeline , to send an email to team with attachment of test reports. I am using ...
Jay's user avatar
  • 115
0 votes
2 answers
439 views

neomutt oauth stopped working

Since last week oauth2 just stopped working. It did a while before and healed itself mysteriously and I am eager to find out what is happening here. I installed thunderbird for reference and it is ...
karlsebal's user avatar
  • 815
0 votes
1 answer
165 views

Mutt silently fails to send an email from the ci/cd pipeline

Mutt is silently failing to send an email . There are no errors or failures. But sometimes the email is sent while other times it fails to send an email. This is how I am installing all the required ...
Jay's user avatar
  • 115
0 votes
1 answer
155 views

Failures while setting up mutt on Ubuntu 20.04

Following is my shell script which I am running on Ubuntu 20.04 as pipeline task. echo "line1" sudo apt-get update echo "line2" sudo apt install snapd echo "line3" #sudo ...
Jay's user avatar
  • 115
0 votes
1 answer
164 views

"mailx -a x.txt ..." hangs, while "cat x.txt | mailx..." works

As described in the subject, mailx -a somefile.txt -s "blah blah" [email protected] hangs, while emails sent via cat somefile.txt | mailx -s "blah blah" [email protected] ...
RonJohn's user avatar
  • 1,154
0 votes
1 answer
110 views

mutt: configure index color based on To: header

i access proton mail through mutt and i've added a custom domain that goes through the proton account. therefore my INBOX has incoming mail to 2 different addresses. i'd like to color (in the index ...
bungee1980's user avatar
2 votes
0 answers
117 views

automatically change the “fcc:” field with the sender when composing mails in neomutt

when i compose a message in neomutt, the “fcc:” field is set by, i presume, the record variable in my configuration; now i can manually change this field when composing the message using edit-fcc (...
user567130's user avatar
1 vote
1 answer
70 views

Mutt: ask before deleting messages from Trash

I have defined in Mutt two "trash" macros -- one for the Trash folder (just mark as deleted and sync) and one for the remaining folders (save into Trash and sync): folder-hook . 'macro index ...
nvx's user avatar
  • 35
1 vote
1 answer
378 views

does mbsync know i deleted folders?

Newly working with neomutt and mbsync. I did an initial grab of all my mail and folders which was fine. Then I started organizing my folders and mail. Some of the folders (or "mailboxes") ...
examplebear's user avatar
1 vote
0 answers
349 views

How to enable gpg password prompt for OAuth2 token in mutt

I am using mutt with outlook365 which has OAuth2 support. I generated an access token which is checked by the following lines in my muttrc: set imap_authenticators = "xoauth2" set ...
FluidFox's user avatar
1 vote
1 answer
97 views

Can't get systemd to run a script

Here's my mailsync.service and mailsync.timer files located in ~/.config/systemd/user/: [Unit] Description=Mail sync [Service] Type=oneshot Nice=10 ExecStart=/home/singularis/.local/bin/systemd/...
SingularisArt's user avatar
1 vote
2 answers
584 views

mutt & mutt_oauth.py - mutt_account_getoauthbearer: Command Returned Empty String

I am trying to setup the Mutt terminal email client with an Exchange 365 email account. I am using mutt_oauth.py in order to facilitate the OAuth flow. I have followed the instructions in the README ...
JLCarveth's user avatar
1 vote
1 answer
261 views

Sending an email to myself using Mutt results in SMTP session failed: 554 5.7.1 You are sending spam

I use two OpenBSD machines (notebooks) that have configured mutt clients. One of them has OpenBSD 7.0 on it with mutt version 2.1.3, while the other runs OpenBSD 7.1 with mutt 2.2.3 . Both of them use ...
zajer's user avatar
  • 213
4 votes
0 answers
85 views

In mutt, <End> and <Home> do not work

I had a very old (10+ years) Debian system, which I recently updated to the latest one. Everything works fine (or I already fixed the problems), except one thing. In mutt, Home and End stopped working....
Igor Chubin's user avatar
  • 1,144
0 votes
1 answer
2k views

Mutt Login Failed

I was using mutt for few months until it started giving an error: "Login failed". When I do mutt -d 5 [2022-06-08 14:27:17] SASL local ip: 2401:4900:170d:264a:c146:ad26:5e83:fe0e;45008, ...
Garv's user avatar
  • 1
3 votes
2 answers
578 views

Installing a newer version of mutt on quite old Debian

I have a machine with Debian 7 (yes, I know this system is quite old, but right now I can't upgrade to a newer version). This version has mutt version 1.5.21 in the repositories, but I would like to ...
raj's user avatar
  • 1,133
2 votes
1 answer
2k views

Configure mutt and hydroxide for Protonmail

I am trying to use my protomail account with mutt. I installed hydroxide, authenticated in protonmail and started both imap and smtp following its repo instructions like this: $ hydroxide auth LOGIN@...
Pedro's user avatar
  • 23
0 votes
1 answer
2k views

Restore deleted message in mutt/neomutt

When we delete message in mutt, it is just marked as deleted until we sync the mailbox. Before we sync the mailbox, we can "undelete" the message, removing the delete mark. My question, is ...
Eldrvarya's user avatar
1 vote
1 answer
198 views

mutt: show email list with collapsed threads by defalt

There is collapse-all function in mutt. I bound it to _ symbol in .muttrc: bind index _ collapse-all Is it possible to run it by default when opening the emails list, so all the unread threads were ...
user4035's user avatar
  • 1,115
2 votes
0 answers
2k views

How to switch IMAP folder in mutt?

Hello how do I switch between IMAP folders in mutt? I have several folders in one IMAP account: Inbox Sent Trash Old Spam ... etc but all I can see is inbox. I have tried reading the help text, and ...
turtle's user avatar
  • 196
1 vote
0 answers
350 views

How do I send a Git patch series from within Mutt?

Suppose I have generated a patch series in a Git repository using git format-patch --thread --cover-letter -2. This produces three files: 0001-cover-letter.patch, 0002-Add-another-thing.patch, and ...
Flux's user avatar
  • 2,978
0 votes
0 answers
581 views

mutt & attachment encoding

So, I have a simple bash script that is intended to send a note to a user (say, the fictitious [email protected]), where said note contains a short snippet of text (contained in the file message....
Johnny Canuck's user avatar
2 votes
1 answer
664 views

mutt: determine local path of current mail

CHALLENGE I want to determine the local path of the currently viewed mail within mutt and transfer it to a bash script, before or after saving the mail to a local project folder. CONCEPT I am using ...
nnako's user avatar
  • 21
5 votes
1 answer
5k views

mutt error sending mail: gnutls_handshake: An unexpected TLS packet was received

I keep on getting an error as indicated by the title sending email in neomutt, This is what I put in my muttrc: set from = "[email protected]" set realname = "my name" set ...
Jordan Herzstein's user avatar
0 votes
1 answer
188 views

How to "split" an attachment with Mutt ? (Message/partial)

A few days ago I started to use the library MUTT (send email) in the command line. I know how to "modify/create" headers with the command line "my_hdr", but I can't find a way to ...
Ludwig POILVE's user avatar
0 votes
1 answer
1k views

How to configure mutt to set From: header to the value of the original message To: header when replying?

I use a different email address for each service I sign up for, for example [email protected] or [email protected] (thanks to Fastmail's subdomain addressing). Mail to all these addresses ...
Jaap Joris Vens's user avatar
0 votes
1 answer
98 views

unix pass > press ENTER yields `^M` when typing

Whilst trying to learn pass password manager I noticed that I cannot press Enter key. This also happens when I try to use muttwizard for configuring mutt/neomutt, eg. during password I cannot press ...
molleweide's user avatar
1 vote
1 answer
41 views

How to not discard unchanged mails in mutt?

If I compose a new message, or reply to an existing message, mutt launches my editor. Then if I exit my editor with the mail unchanged mutt will discard the in-progress new mail or reply and drop me ...
Tom Ellis's user avatar
  • 263
0 votes
0 answers
1k views

How to add Lets Encrypt to local list of trusted certificates in /etc/ssl/certs/ca-certificates.ctr?

Question How can I add Lets Encrypt to the file /etc/ssl/certs/ca-certificates.crt ? This file is a list of certificates from trusted CA and I want to add Lets Encryt to it. I believe that by doing so ...
user avatar
2 votes
1 answer
1k views

gmail + mutt + isync: how to archive and delete mail

I want to switch from Thunderbird to (Neo)mutt, because I would like to read my mail in a terminal (offline). I have a gmail account and just can't figure out how to setup Mutt properly. I have setup ...
schuam's user avatar
  • 68
2 votes
1 answer
5k views

How to view the sent mails in Mutt?

I executed the "mutt" command and it only showed me the inbox mails. How should I view the sent emails? If I want to send a new mail against the first delivered mail, how should I do it? I ...
Asha's user avatar
  • 123
1 vote
1 answer
215 views

Sending HTML with Mutt mangles the reply history badly; How can I make replies survive a call to Pandoc?

In mutt, I'm trying to write formatted emails, but the pre-processing step that converts markdown to HTML is mangling the previous messages. I'm using this answer to convert my messages to HTML. In ...
Josh Vander Hook's user avatar
2 votes
2 answers
1k views

Mutt: reply in thread and add message from another conversation

I’m using mutt. There are two different e-mail threads (A and B) and I’d like to forward a single message from thread B to thread A. I could enter thread B and forward said message to the ...
Philipp's user avatar
  • 559
0 votes
1 answer
191 views

Check own attachments

If I'm writing an email and add some attachments I want to test, if they are really correct. The problem is, that I don't know how I can open them. For example, if I have the following: So this is ...
TornaxO7's user avatar
  • 187
2 votes
1 answer
611 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
  • 41
2 votes
2 answers
746 views

can I use my own variable in .muttrc config

I am using mutt, in my config I have: set smtp_url = "smtp://[email protected]:25/" set folder = imap://000.000.000.000:143 where 000.000.000.000 is the ip of my server (or could ...
user206904's user avatar
2 votes
1 answer
428 views

signing email with PGP key outside Mutt UI interface

I'd like to use mutt to send and sign the email directly from command line like e.g. mutt -s "MySubject" [email protected] < message OR echo " " | mutt -s "MySubject" -...
Marcel Tkáč's user avatar
2 votes
0 answers
259 views

Mutt - Tag all the mails sent by the sender's address with a macro

I want a macro that deletes all the mails that have been sent by the sender of the mail under my cursor. So far I read about the tagging by pattern command and I this post about yanking the sender's ...
Alakazam's user avatar
  • 121

1
2 3 4 5
9