Questions tagged [mutt]
Mutt is a text-based email client for Unix-like systems.
442
questions
2
votes
1
answer
38
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-...
1
vote
1
answer
42
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 ...
0
votes
0
answers
19
views
mutt intermittently fails to send email
In my azure ci/cd pipeline, I created a task to send an email using mutt. I use Ubuntu 20.04
There are no error messages. But the emails are sent intermittently. I created a trigger in the pipeline ...
0
votes
2
answers
141
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 ...
0
votes
1
answer
112
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 ...
0
votes
1
answer
60
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 ...
0
votes
1
answer
60
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] ...
0
votes
0
answers
31
views
Pipe current w3m buffer into new neomutt email
I am a very satisfied user of w3m and neomutt, both as separate applications, and with w3m being the default viewer for html emails within neomutt.
One aspect that has remained elusive for me however ...
0
votes
0
answers
24
views
mailx works, but mutt has stopped working
RHEL 8.4
I've got a script (run via cron, if it makes a difference, though the same problems occur interactively) which sends an email (through a corporate smtp server) based on several conditions.
If ...
0
votes
1
answer
42
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 ...
2
votes
0
answers
45
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 (...
0
votes
0
answers
36
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 ...
0
votes
0
answers
38
views
How can I copy an email to the highlighted mailbox in the mutt sidebar?
In mutt one copies an email to a mailbox with copy-message, bound to C by default. This will ask you for a mailbox to copy it to.
Is there a way to copy it directly to the mailbox currently ...
0
votes
0
answers
105
views
Mutt configure for local SMTP fails with "Only one STARTTLS command can be issued per session"
I need mutt to talk to email-oauth2-proxy SMTP and that connection should not use STARTTLS. So in my ~/.muttrc I have
set smtp_url="smtp://127.0.0.1:1587"
set ssl_starttls=no
set ...
0
votes
0
answers
23
views
How can I use email subject in the body automatically with [neo]mutt?
Say I'm composing an email with the subject Test Subject. Ultimately, I want an HTML body with <title>Test Subject</title> in it. Now, this could either be done by creating the text/...
0
votes
0
answers
12
views
mutt showing incorrect dates in main list and when opening the emails
Have mutt reading my gmail by IMAP.
The email dates seem to be correct up until the current date & time (ie. the most recent email). Then it starts listing old emails with nonsensical dates. From ...
1
vote
1
answer
115
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") ...
1
vote
0
answers
197
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 ...
0
votes
0
answers
68
views
Mutt 2.2.9 (2022-11-12) Sidebar Multiple Accounts
I'm hoping to find some direction with my sidebar config.
When I first open mutt, it looks like so:
q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help
Folders/Pipes & Wishes | 1 ...
0
votes
0
answers
160
views
Create/rename/remove folder in neomutt and sync that with gmail
Alright. I've got neomutt working nicely. I use isync to sync my emails from the gmail server, and load them up with neomutt. But, there's something that I don't know how to do. I tried reading the ...
1
vote
1
answer
84
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/...
1
vote
1
answer
312
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 ...
1
vote
1
answer
157
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 ...
3
votes
0
answers
51
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....
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, ...
3
votes
2
answers
483
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 ...
1
vote
1
answer
1k
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@...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
151
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 ...
0
votes
0
answers
1k
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 ...
1
vote
0
answers
229
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 ...
0
votes
0
answers
425
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....
2
votes
1
answer
458
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 ...
4
votes
1
answer
4k
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 ...
0
votes
1
answer
174
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 ...
0
votes
1
answer
789
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 ...
0
votes
1
answer
67
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 ...
1
vote
1
answer
33
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 ...
0
votes
0
answers
815
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 ...
2
votes
1
answer
754
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 ...
0
votes
1
answer
4k
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 ...
0
votes
0
answers
165
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 ...
1
vote
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 ...
0
votes
1
answer
165
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 ...
2
votes
1
answer
472
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).
...
2
votes
2
answers
517
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 ...
2
votes
1
answer
305
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" -...
2
votes
0
answers
186
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 ...
8
votes
2
answers
5k
views
KeepassXC-cli: Send password to stdout
I would like to authenticate to neomutt using keepassxc. I could not find a way to send password to neomutt's stdin. How can i do that ?
I imagine something like this:
keepassxc-cli exportpass ...
1
vote
2
answers
1k
views
(neo)mutt: Reply to email from the adress the original message was sent to (auto-adjust sender / from-address)?
I am a longtime mutt user (actually switched to neomutt) some time ago and there is one thing I never quite managed to configure to my liking:
I have several accounts that I map to several folders.
I ...