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
1 vote
2 answers
690 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
  • 365
1 vote
0 answers
61 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
39 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
1k 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
129 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
0 votes
0 answers
2k views

Mutt won't let me send emails because "Sasl authentication failed"

I've installed all the required packages for mutt to send emails smtp. mutt -v Mutt 1.13.2 (2019-12-18) Copyright (C) 1996-2016 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; ...
Joshua's user avatar
  • 3
1 vote
0 answers
673 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
1 answer
773 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
0 answers
591 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.2k
1 vote
0 answers
444 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
0 votes
1 answer
548 views

Open a specific email in Mutt in just one command

Reading a specific email in Mutt is simple. Just do $ mutt in the terminal. It opens and then directly from there you type the message ID from the message you want to read, followed by enter. ...
Harald's user avatar
  • 1
1 vote
0 answers
622 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
528 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
540 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
486 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
633 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
  • 767
-1 votes
1 answer
659 views

Failing to send email via mutt using Ubuntu VirtualBox

The above screenshot shows the problem while trying to send an email
Lasya artham's user avatar
6 votes
2 answers
929 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
4 votes
1 answer
792 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
1 vote
0 answers
107 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
2 votes
2 answers
964 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
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
2 votes
0 answers
236 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
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
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
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
  • 37.9k
1 vote
1 answer
1k 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
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
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
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,105
4 votes
0 answers
523 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
  • 596
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
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
2 answers
906 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
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

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
1 vote
1 answer
92 views

help with email commands [duplicate]

I want to send emails from my Ubuntu PC to other PCs on internet. I also have an account on yahoo.gr,there are some commands like ssmtp or mail or mutt but they don't work for me. Perhaps I should ...
teobass's user avatar
  • 29
1 vote
1 answer
168 views

Mutt attachments in cache

I am planning to try out mutt (and if it feels "solid" enough, migrate from Thunderbird) Do I need to use offlineimap or some other solution to save the attachment locally, or does the built-in ...
taz's user avatar
  • 83
1 vote
0 answers
107 views

Updated to 14.04, Mutt only S/MIME? Whence PGP/MIME?

I might be going senile. Using the stock Mutt on 13.04 I was able to something like (E)ncrypt (from memory) and have it use GnuPG. With 14.04, the Mutt 1.5.21 that came with the upgrade, there's an '...
James in UK's user avatar
4 votes
1 answer
9k 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
0 votes
1 answer
3k views

How to send an email attachment from terminal? [duplicate]

I am using Ubuntu 14.04. I think the mutt command is not available with this version of Ubuntu. Then how can I mail an attachment using terminal commands?
Anandu M Das's user avatar
  • 2,233
0 votes
1 answer
3k views

email body empty when I use "echo" in mutt commandline mode with root account

I have use mutt to send mails. It works fine when I use my own user account: e.g. echo "foo bar" | mutt [email protected] However, when I put the above command in /etc/lightdm/lightdm.conf (I want ...
Starry's user avatar
  • 43
1 vote
1 answer
631 views

shell script + mutt: mutt terminating while loop

I am having a problem with mutt exiting my while loop prematurely in my shell script. The while read MAILTO loop of my function sendFiles will only process (send) the first file and then returns. ...
Van's user avatar
  • 771
2 votes
1 answer
125 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
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
1 vote
1 answer
548 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
2 votes
0 answers
210 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
0 votes
1 answer
987 views

How to configure mutt to work with POP and Horde Webmail Service?

I have installed mutt from repositories and somehow configured from scratch .muttrc configuration file for Gmail and its working hassle free. But, I would like to use mutt for my office mail. We ...
SAGAR's user avatar
  • 53
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
0 votes
1 answer
2k views

Disable localhost postfix sending emails outside my machine

I configured postfix & mutt to read mails being sent by applications locally, but I just found out that they are going out on the internet too. Sometimes they reach my inbox and many times get ...
Ashfame's user avatar
  • 3,214