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

learn more… | top users | synonyms

0
votes
0answers
22 views

Gmail and mutt: msmtp error

Invalid SMTP URL: ssmtp://REDACTED@gmail.com@smtp.gmail.com:465/ I can use mutt to read my Gmail, but when I try to send I get the above message. When I installed mutt a screen came up for postfix ...
0
votes
1answer
22 views

Mutt: Emaillist emails not be shown in inbox and still readable in some file, how to do it?

I get emails from mail lists such as best-h@list.ayy.com. I don't want them to my inbox, I want them to a new inboxes that I can only read when I select them or basically move all mails like this to a ...
0
votes
0answers
17 views

Can You Send Mail With MSMTP Without Putting the Location, ISP, and Hostname in Header?

I've been testing sending mail with mutt and msmtp. I've noticed when replying to a message I sent with msmtp, my state, hostname, and isp show up in the In-Reply-To: header ...
3
votes
1answer
22 views

Search in mutt by date and time

I've been using mutt for some days now, and I think I have the basics by now. I'm able to search messages by date (l, ~d date ...) but what I need is to also search by time. Is it even possible?
0
votes
1answer
20 views

Header about MIME email

Morning, can some body help me about MIME email? I want to send HTML email like this: MIME-Version: 1.0 Content-type: multipart/alternative; boundary=lazuardi --lazuardi After that email. I have ...
0
votes
0answers
18 views

Mutt multi content type

Good afternoon I want to send multiple content_type with mutt. Can I do that? Here is my code : mutt -e "set content_type=text/html" -e "set content_type=text/plain" someone@mail.com -s "Multi ...
3
votes
1answer
35 views

Using mutt and thunderbird together

I'd love to use both thunderbird and mutt together. At times I just want a GUI over CLI or the reverse. I also love thunderbird's search and contact features. I especially love its mail filtering ...
2
votes
1answer
20 views

Move to next flagged message in Mutt

Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like ...
3
votes
3answers
127 views

Script to email all matching files in a directory

Trying to set up a bash script to automate sending data files. Desired end result is to check a specified directory once per week, make a list of all Excel files modified within the last 2 days, and ...
1
vote
2answers
49 views

Sending most recently created file via Email

I'm trying to send a log file every 24 hours or so via email. Currently I am using mutt for this. You can call mutt like this: mutt -s "Log" -a file_attachment example@example.com I know I can ...
2
votes
0answers
23 views

Create a new command for mutt

I try to create a command (and not a macro) on mutt to print the mail in file, for this a put the following line on the ~/.muttrc: macro index,pager print-on-file '<enter-command>set ...
7
votes
1answer
109 views

accessing Maildir locally with Mutt and remotely over IMAP simultaneously

I have Postfix + Maildir + Dovecot + IMAP on my mailserver. I am accessing my mailbox remotely over IMAP with one or more clients (Thunderbird). Additionally, on the server I have mutt configured for ...
4
votes
0answers
51 views

Mutt: gmail archive

I want to recreate the gmail archiving method. I sync (using offlineimap) my inbox and my all mail folders, and, by archiving, I want to keep the one in All Mail and delete the one in inbox. Also, ...
2
votes
1answer
19 views

How to display every message in a thread with at least one new message?

I currently have a macro to quickly show only new messages: macro index ,sn "l ^a^k~N\n" "show only new messages" However, this macro loses the context for new messages in ongoing threads. I ...
3
votes
2answers
63 views

Avoid mutt sending mail with too many entries in To: or Cc: fields

Frequently, I use mutt's alias functionality, to send a message to larger groups of people (legitimate, not spam!). Normally, I put the alias into the Bcc: field, to cancel out spam harvesters, and ...
5
votes
1answer
73 views

Greek characters in mutt's sidebar (mailboxes names sourced via offlineimap)

Mutt's sidebar, does not read properly Greek characters (mailboxes named by using Greek characters). Anyhow, there is no such problem inside both the index and the pager, where Greek ...
2
votes
0answers
16 views

Can you change mail accounts by recipient in mutt?

I have a pretty good mutt setup for dealing with multiple mail accounts (work and personal). I'd like to be able to have a send-hook that will change the account based on the recipient. I can do this ...
0
votes
1answer
53 views

How can I use mutt execute command tag-pattern and then delete-pattern via shell?

Is there a way to execute mutt's tag-pattern and then delete-pattern via shell? -e <command> specify a command to be executed after initialization Could someone provide an example please?
2
votes
1answer
33 views

Where do drafts go when mutt crashes?

Sometimes a message doesn't get sent for whatever reason (e.g. a crash or shutdown). I can't find the message in the Drafts maildir (/new, /tmp, or /cur). Surely mutt must save the message somewhere ...
1
vote
0answers
30 views

Mutt hangs on close

After configuring mutt to monitor all of my Gmail, it hangs when I close it. I don't quite understand how it's using the spoolfile or mailboxes parameters, so perhaps I am using them incorrectly here. ...
3
votes
0answers
37 views

mutt: how to display selected new messages diferently in index

I have my own colors defined for mutt. When I start mutt, the cursor (i.e. indicator) is on the first message (i.e. the first message on the top is selected). I have defined colors for the selected ...
8
votes
1answer
172 views

mutt: automatically show new mesages

When I have mutt opened, I don't see new emails until I press a key, for example arrow down. Then new emails appear. Is there a way for mutt do recognize that new email has arrived, and display the ...
2
votes
0answers
28 views

mutt once promted password, used for both imap and smtp

my password for imap and smtp are the same and mutt version is using integrated smtp settings. if i do not want to store my password in any script nor encrypting it with pgp/openssl nor using wallet ...
2
votes
0answers
25 views

mutt: ask for confirmation before moving message to archive

I have following macro defined in my muttrc: macro index s ":set confirmappend=no delete=yes auto_tag=yes\n\ <save-message>=archive\n<sync-mailbox>:set delete=ask-yes\n" When I ...
1
vote
1answer
122 views

Configure sender address for all users in mutt

I have CentOS running mutt. When mails are sent from mutt (via a shell script), it takes the current user name as sender address causing it to go into the spam. I receive mail as From: tech ...
2
votes
1answer
27 views

How to select an expandable folder when saving?

I have IMAP folders like this: A A/A A/B B B/A C When I save (s in mutt) a mail and use ?, I'm presented with a view like this: A + B + C It works perfectly until I want to move to A or B. If I ...
2
votes
2answers
202 views

IMAP folders: how big is too big?

I've switched from using Thunderbird to offlineimap and mutt. My mailboxes have over 50k messages. After tweaking some settings, mutt is very responsive with this many messages. notmuch is extremely ...
1
vote
2answers
61 views

How to save “text/pdf” PDF files on the disk from an incoming mail in Mutt

I receive emails with PDF attachments that have the MIME type "text/pdf". This is obviously not good, but some mail clients are doing that... The problem is that saving such an attachment in Mutt ...
7
votes
1answer
108 views

How can I configure mutt to display my replies within threads?

While mutt has set sort = threads to show threaded, "conversation" style messages, it doesn't display one's own replies in the threads. Instead, you have to change to the Sent folder to see your own ...
0
votes
1answer
40 views

understand if a shell process is in background?

I keep an instance of mutt idling on a terminal, if it is on index or pager I want it to be able to receive a macro from an external process (AutoKey or xdotool etc..), but the external program need ...
0
votes
2answers
707 views

Mutt not sending email when specifying smtp server

I am trying to use mutt as my email client, and it works fine for my gmail account. But when I use my work email, it does not send the emails. It doesn't give any error, it just doesn't send them. The ...
3
votes
0answers
21 views

Selecting different accounts in a mutt send-hook

I use the instructions outlined here to use different accounts in mutt. I'd like to be able to select different accounts depending on sender--send-hook seems like the right way to go. send-hook ...
1
vote
1answer
45 views

Mutt - sent and drafts in the INBOX

I'm using offlineimap + mutt + msmtp to handle my email. I would like to have an unorthodox configuration, where all of my current mail (received, sent, and drafts) reside in the INBOX (or at least a ...
4
votes
0answers
82 views

Why mutt keeps asking for imap username and password?

Unsetting mutt's configuration variables imap_user, imap_pass (and perhaps preconnect, imap_authenticators as well) via an account-hook . "unset ... " call, seems to be common practice, if not a ...
1
vote
1answer
73 views

mutt — multiaccount support

Can anybody help me with mutt configuration? I need to configure mutt to support mutiple accounts the same time. At this moment my config file for personal email looks like this: ~ $ cat ...
5
votes
1answer
634 views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
2
votes
0answers
394 views

How to receive meeting invitations from Office365, so that they can be parsed and added to a calendar?

How to receive iCalendar (.ics or .ical) meeting invitations from outlook.office365.com, so that they can be parsed and added to a calendar (such as remind + wyrd)? I've searched long and hard for an ...
1
vote
0answers
36 views

What Causes Mutt To Fail In This Way

When sending an email, the authentication and uploading stages exit successfully. After a long period with the message Connecting to gmail.com, the error message Could not connect to gmail.com (No ...
3
votes
1answer
71 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
6
votes
1answer
371 views

Mutt: select multiple messages

I am looking for a way to select multiple messages in Mutt. For example select the first and the last message would select a whole block of messages. Possible also to select by regexp for subject. I ...
0
votes
1answer
36 views

Using the same mbox file for multiple accounts

Is it possible to use the same mbox inbox file (retrieved with getmail) to load mails from two different email accounts without causing any conflicts?
3
votes
1answer
49 views

Quoting text with > in mutt

Currently when I reply to a message, my mutt is quoting using > as following On Sunday ... Mojo Jojo wrote >Hey Powerpuff girls I want a space just after >, e.g. On Sunday ... Mojo Jojo ...
1
vote
0answers
79 views

Mutt index disappearing on IMAP reconnect

Mutt IMAP is working just fine ... until IMAP server drops the connection. Then mutt automatically reconnects to the server - also just fine, according to the messages in the status line - but! it ...
2
votes
2answers
109 views

Automatically attach a file to a mail with mutt

Meow everybody, I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt. I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it ...
9
votes
3answers
652 views

Send email written in markdown using mutt

Sometimes I need to send a fragment of code on google-group inline. Text does not help here; I can type it in markdown, convert it to html (using pandoc etc.), attach to mutt as text/html and send it. ...
1
vote
3answers
143 views

Suppresss “~/Mail does not exist” in mutt

I use Mutt (1.5.21 on a headless Debian 7.2 Wheezy VPS) only occasionally, to see and delete messages from cron and the likes. However, it keeps pestering me with this non-existent ~/Mail folder. ...
1
vote
1answer
74 views

Set specific GPG key for specific recipient in mutt

I'm trying to make mutt use a specific GPG key when sending mails to a specific recipient, much like "per-recipient rules" in OpenPGP / Enigmail. For example, if I want to send an email to ...
3
votes
1answer
93 views

macro: mutt freezes

I am experiencing a strange problem with my new macro in mutt. The following macro works OK. s moves message to my archive folder immediately macro index s ":set confirmappend=no delete=yes ...
3
votes
1answer
57 views

mutt: trash macro

In my previous question I have learned how to implement trash functionality in mutt. unset confirmappend folder-hook . set trash="=trash" folder-hook trash$ unset trash That works well, except ...
4
votes
1answer
146 views

mutt: macro for saving messages to a folder

This is an expansion on my previous question. I have following macro, which will save tagged messages to my archive folder. macro index S ":set confirmappend=no ...