Skip to main content

Questions tagged [mutt]

Mutt is a console based Mail User Agent that allows one to send and receive plaintext or even encrypted mail via either its MIME or PGP implementations. It also has POP3 and IMAP support so that popular services such as Gmail can be used with it. It has an infinitely configurable rc file that can be tailored to suit most of its users requirements.

Filter by
Sorted by
Tagged with
16 votes
1 answer
28k views

"SASL authentication failed" with mutt and Gmail, why? [closed]

I am confused by this, I have installed a lot of new packages and followed some tutorials after googling but I keep getting this kind of SASL -error. I am not sure whether the mistake is in some Gmail ...
user avatar
14 votes
3 answers
26k views

How to manage multiple imap accounts with mutt

I love mutt, and the mutt version shipped with Ubuntu is awesome (it even has a patched version), the only caveat I've found so far it's that I had not been able to manage several imap accounts at the ...
Javier López's user avatar
10 votes
2 answers
2k views

How do I install mutt 1.7.0 on Xenial or Trusty?

My favorite command line email client has a big new version. Mutt version 1.7.0 has been released on August 18th 2016 and among other changes and improvements the developers have merged the very ...
andrew.46's user avatar
  • 38.2k
9 votes
2 answers
9k views

Migrate from Thunderbird to Mutt

I am contemplating moving from Thunderbird to Mutt (provided it is feasible) to move to a faster, simpler application. My current Thunderbird set-up consists of multiple IMAP accounts (gmail and ...
deshmukh's user avatar
  • 4,081
7 votes
3 answers
21k views

How to change my the From: address in mutt?

When I use mutt under Ubuntu like below, my email address is shown as maemo@maemo-TomXue. I want to change it but didn't find how to do, who could help me? Thanks! y:Send q:Abort t:To c:CC s:Subj a:...
user866735's user avatar
6 votes
1 answer
15k views

Mutt not working due to "gnutls_handshake: A TLS packet with unexpected length was received." error

I am expecting lots of problem trying to make mutt work in Ubuntu 12.04. Here is my .muttrc : http://paste.ubuntu.com/1273585/ Here is the bug I am getting when i tried to connect. gnutls_handshake: ...
Vinit Kumar's user avatar
6 votes
2 answers
943 views

After upgrade to 18.04, Mutt shows raw html when opening html mails in chrome

I use Mutt to read email and most of my email displays just fine as plain text. For the few exceptions I got used to hitting 'v', selecting the html part of the message and then hitting enter to view ...
Ingo's user avatar
  • 293
6 votes
3 answers
6k views

How do I integrate gpg with the GNOME keyring?

I use Mutt for gpg-signed email. With previous versions of Ubuntu I could tell Mutt to use gnome-gpg, which would ask for my GPG passphrase with a GUI window and then store it my GNOME keyring for 24 ...
Marius Gedminas's user avatar
6 votes
0 answers
345 views

gnome-keyring error sending email in mutt [duplicate]

here is my .msmtprc : defaults account gmail host smtp.gmail.com from [email protected] port 587 auth on tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt user ...
Bqsj Sjbq's user avatar
  • 161
5 votes
4 answers
4k views

How can I get mutt to stop making vim insert line breaks every few characters?

Every time I type an email with mutt, it inserts these line breaks every 70 characters or so. I'd rather it just relied on word wrap instead, since my editing style (lots of revision) makes ...
Jonathan's user avatar
  • 7,450
5 votes
2 answers
32k views

Problem sending an email via mutt

I'm trying to send an email using mutt like this: echo 1.txt | mutt [email protected] -s Hello -a file.tar.bz2 It's getting no error, but I didn't receive the email. What's the problem?
Sina's user avatar
  • 241
5 votes
1 answer
2k views

How do I parse emails with Mutt?

How would I go about parsing new message subject lines non-interactively using Mutt? Mutt is already configured and fetches mail from our Exchange server. What I'd like is for an action to be ...
SirCharlo's user avatar
  • 39.6k
4 votes
2 answers
9k views

Mutt runng from Crontab

I have a bash script that is sending an email through command line mutt. This bash script is being called from a cron job (setup using crontab -e because of permissions needed to do all items in the ...
klcant's user avatar
  • 559
4 votes
1 answer
10k views

Mutt won't log in: Login failed

I have tried to configure mutt, but it won't login to Gmail. I copy and pasted the following into muttrc (with my own details), but it always says: Login failed. Some people have said to change: set ...
Thomas Paul Whalan's user avatar
4 votes
1 answer
800 views

Mutt-patched package missing in Bionic Beaver?

I need a patch for mutt which is called "sidebar" and was a part of the mutt-patched package in Ubuntu 16.04. Now I've switched to Ubuntu 18.04 and it does not seem to exist in Ubuntu 18.04's ...
Teekin's user avatar
  • 175
4 votes
0 answers
528 views

How to use Mutt as the mail transport agent used by crontab?

I am using Mutt to send emails from my server. Using the MAILTO variable to send the result of running crontab tasks is not working as it seems that it expects to find /usr/bin/mail. This is the ...
marcanuy's user avatar
  • 606
3 votes
2 answers
2k views

How to read and write email in terminal? Does gmail require a special software?

I wonder if anybody still does something like this. What are current options today? I'm using Ubuntu12, and trying to install mutt. What should I apt-get-install, mutt of mutt-patched? While I'm ...
Peret Finctor's user avatar
3 votes
2 answers
3k views

Mutt message: "Alarm Clock"

short version: I'm trying to send mail with Mutt. It fails and says "Alarm clock". What does that mean, how do I fix it? long version: I have an ubuntu server running tiny tiny rss. It sends daily ...
Adam R. Grey's user avatar
3 votes
2 answers
6k views

How to get desktop notification for new mails using mutt?

I have switched my email client to mutt. Currently, I have a pull-workflow, meaning I have to check regularly if new mails have arrived. As email is a communication tool I barely use (or even avoid to ...
k0pernikus's user avatar
  • 6,125
3 votes
2 answers
950 views

mutt: reading/sending messages via IMAP but saving locally

My .muttrc file specifies Gmail for sending and receiving via IMAP: set folder = "imaps://imap.gmail.com:993" But I would like to be able to archive both sent and read messages locally, ...
brannerchinese's user avatar
3 votes
2 answers
5k views

error message " Mailing to remote domains not supported" in mutt how to fix

How can I set up any command line mail agent to deliver to gmail accounts?
user246422's user avatar
2 votes
2 answers
970 views

How do you setup mutt for a KolabNow email address?

I use KolabNow for my email needs rather than other services like Gmail or Outlook. I spend a lot of my time in the terminal and I am hoping to setup a way to read and send emails without leaving the ...
user avatar
2 votes
1 answer
1k views

Viewing inbox in mutt

I have installed fetchmail, procmail and mutt. I am able to see my sentmail but I am not able to see my inbox. This is my ~/.muttrc file # Boring details set realname =Aparna set from = kdasaparna@...
Aparna k das's user avatar
2 votes
1 answer
1k views

How to use crontab and mutt properly?

I would like to automatically send emails via mutt. I have configured mutt and its works fine when using: echo "Hi" | mutt -s "Hu Hu" -a /home/.../some.pdf -- [email protected] However when using crontab ...
Googme's user avatar
  • 121
2 votes
1 answer
126 views

OpenVZ Ubuntu 12.04 Mutt accent problem

I'm trying to resolve the problem of accent on mutt because, they are displayed like '?' or '\123'. I know there is a good documentation on mutt (http://dev.mutt.org/trac/wiki/MuttFaq/Charset) for ...
user2156353's user avatar
2 votes
0 answers
243 views

Mutt e-mail client get stuck

I am experimenting with Mutt under Ubuntu 16.04. It almost always feezes after a few minutes on the index page. What is the cause for this? I didn't use extensive setup, I just added three standard ...
Hendrik's user avatar
  • 225
2 votes
1 answer
2k views

How to prevent mail sent from Mutt from winding up in junk folders?

I have mutt configured to send/receive mail on behalf of an email address on a domain that I own (i.e., not a gmail, yahoo or other major domain). I'm attempting to set up a notification system to ...
Parker Kemp's user avatar
2 votes
1 answer
1k views

mutt installation

I tried to install mutt on ubuntu 14.04 as follows, sudo apt-get install mutt and i get Reading package lists... Done Building dependency tree Reading state information... Done Some ...
Rakesh KR's user avatar
  • 225
2 votes
0 answers
214 views

Mutt Notify on Finish Sending

I'm looking for a way in .muttrc to tell it to invoke notify-send when it's done sending an email. I use Mutt inside a Guake window. So when I hit y to send I immediately hit F12 to close the terminal ...
jfreak53's user avatar
  • 1,022
1 vote
1 answer
2k views

What command can read email mailbox file and produce output to stdout?

Is there any CLI email client/program which can read email mailbox file (with single email message) and produce output to stdout main headers and text? $ mailcmd < email.file From: [email protected] ...
Dimetry's user avatar
  • 247
1 vote
1 answer
570 views

How do I activate SSL as a 'mutt' user?

My provider says I have to activate SSL in order to (continue to) be able to read my mail. I use 'mutt', and I haven't been able to find out how to do this (activate SSL). The provider was unable to ...
G.Heinlein's user avatar
1 vote
2 answers
944 views

Mutt stopped sending email

I'm using mutt to send mail like this: mutt -s "Subject" [email protected] <<< "Text" A few days ago, mutt stopped working and now I am getting this error: msmtp: cannot ...
s3idani's user avatar
  • 363
1 vote
1 answer
832 views

Mutt: change background color of expanded threads

Does anyone know how to change the color of the background of an expanded thread? I know it's possible to change the color of the tree that shows the thread, but the color I put after the color ...
shamiv's user avatar
  • 31
1 vote
1 answer
564 views

Neither mail, nor mutt sends emails with file attaches

My web provider recently changed from Ubuntu 14.04 to 18.04. This broke an automated script I use to send emails with no body, but with an attach. I shortened the code below to simplfy. This used to ...
geohei's user avatar
  • 153
1 vote
1 answer
1k views

Search in all folders of imap mailbox with Mutt

I have just configured Mutt with my Gmail settings. I am able to fetch, read, and send email. I can also search messages in my inbox and specific folders. However, I would like to know if there is a ...
synack's user avatar
  • 121
1 vote
1 answer
3k views

How can I specify the default image viewer in mailcap?

I have most of my home directory dot files shared across my home and work systems, each running a different version of Ubuntu. I'm looking for a way to specify the default image viewer for each ...
Jeffrey Bauer's user avatar
1 vote
0 answers
62 views

How do you output the contents of an .eml file [ Not including all of its metadata ] to the commandline in plaintext? [duplicate]

I can do this: cat foobar.eml Delivered-To: [email protected] Received: by 2002:a4a:6c09:0:0:0:0:0 with SMTP id q9-v6csp1498994ooc; Thu, 23 Aug 2018 10:00:37 -0700 (PDT) X-Google-Smtp-...
Anon's user avatar
  • 12.1k
1 vote
0 answers
41 views

Confusion over the location of mail location

I have alpine installed on my system and I installed mutt to use its methods to delete older emails. I might have done something wrong and I that /var/mail/userid is empty now (file size is 0), but &...
SEU's user avatar
  • 139
1 vote
1 answer
2k views

Can't locate [mutt]'s `muttrc`

The config file for mutt, muttrc, is not where mutt -h says it should be. Could someone help? ~ $ mutt -v Mutt 1.9.4 (2018-02-28) Copyright (C) 1996-2016 Michael R. Elkins and others. Mutt comes with ...
Erwann's user avatar
  • 125
1 vote
0 answers
142 views

auto install email attachments to file?

I'm semi-new to Linux and ubuntu. I'm setting up a Linux server for a small office that doubles as a network drive. I'm trying to find a software that will take all email attachments and save them to ...
Giodude's user avatar
  • 19
1 vote
0 answers
780 views

Searching over all IMAP folders on terminal?

Problem I am aware that this problem might be rooted in the way IMAP works and what I can expect from a mail client. For IMAP folders are mailboxes and according to the protocol specification (afaik) ...
Piwi's user avatar
  • 111
1 vote
0 answers
643 views

Automatic date-based deletion of old mails in mutt from a cron / shell script

I would like to automatically delete all mails older 22 days using mutt So i have created a shell script - which works when started manually: #!/bin/bash # define mail environment variable to make ...
dufte's user avatar
  • 13.5k
1 vote
0 answers
486 views

Mutt email client not working

Having issues running the mutt command on Ubuntu Linux Which mutt: /usr/bin /usr/bin/mutt -s “test” -a /var/sftp/file.txt [email protected] Does not work. Also tried this: cat file.txt | mutt -...
Donny Forbes's user avatar
1 vote
0 answers
637 views

mutt html-attachments

jCalling up mails containing a html-attachment with 'v' and clicking on the attachment (to be read with Mozilla Firefox), I get: Problem loading page File not found Firefox can’t find the file at /...
G.Heinlein's user avatar
1 vote
1 answer
555 views

Mutt through PHP, Could Not Send Message

I'm running a small LAMP server on ubuntu. At some point, I need a php script to send an email using Mutt. I use a system call from the php script like this mutt -s $file1 -a threedplot.jpeg -a ...
David Atri Schuller's user avatar
1 vote
0 answers
515 views

Bash Script to take Back up of a switch's Config via sshpass, then send results with mutt (email)

for the past 2 days i was trying to get the results of a show run on my switch and send it to me via mail. i alrdy made a bash script for it but still i dunno what i'm doing wrong here and after ...
Hamid's user avatar
  • 11
1 vote
0 answers
660 views

Mutt not displaying HTML attachments in w3m after upgrade

(Note: This may be the same problem as After upgrade to 18.04, Mutt shows raw html when opening html mails in chrome, except the accepted solution there doesn't help me, as can be seen from one of the ...
jwodder's user avatar
  • 797
1 vote
0 answers
111 views

How can I prevent mutt to delete random mails?

It is a really big problem with mutt: mutt 1.5.24-1build1 mutt-patched 1.5.24-1build1 with following ...
L.Integra's user avatar
1 vote
2 answers
5k views

Email client, "Mutt", is not sending messages?

I recently installed mutt on my computer... I configured my muttrc to be like this: set ssl_starttls=yes set ssl_force_tls=yes set imap_user = '[email protected]' set imap_pass = 'password' set from ...
Just don't be user123's user avatar
1 vote
0 answers
1k views

Iam unable to send mail from mutt it always gives an error

So hi I followed this guide. But whenever I try to send mail it gives an error message like this :: Output of the delivery process (all) msmtp: authentication failed (method PLAIN) msmtp: server ...
sidzama's user avatar
  • 11