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

learn more… | top users | synonyms

2
votes
1answer
15 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 ...
2
votes
1answer
23 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
40 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
11 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
12 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
14 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
15 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
26 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
80 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
17 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
13 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
34 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
25 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
84 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
29 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 ...
6
votes
1answer
62 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
34 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
169 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
16 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
33 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
50 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
46 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
248 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
224 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
23 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
53 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
183 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
34 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
47 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
58 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
83 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
440 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
108 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
62 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
86 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
50 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 ...
3
votes
1answer
84 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 ...
1
vote
0answers
39 views

List Mails by subject

I'm writing a script to send mails from a mailbox on a remote server and a script to check if the mails are received at another remote server. For this I have configured mutt. What I now need is to ...
2
votes
1answer
122 views

mutt: trash folder

I am trying to set up trash in mutt. The macro at MacroSamples does not work: set maildir_trash=yes set wait_key=no folder-hook . 'bind index q quit' folder-hook inbox 'macro index q ":unset ...
9
votes
2answers
124 views

mutt: define which headers are displayed (in compose)

When composing a message in mutt, I see the following headers: From: To: Cc: Bcc: Subject: Reply-To: Fcc: ~/.mail/sent Mix: <no chain defined> Security: None ...
3
votes
2answers
198 views

mutt: conditional date format in “index_format”

I have following value set for index_format in mutt: "%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c " which displays date in the format as 2013 Dec 5 I was wondering whether ...
3
votes
1answer
65 views

mutt: bind CTRL+c to abort (CTRL+g)

In mutt, when I use the key combination CTRL-c, I want it to behave as if I had pressed CTRL-g. I understand that simple bind, such as the following, will not work: bind index \Cc ...
6
votes
2answers
493 views

mutt: save message to specific folder

I have several folders defined in Mutt: mailboxes "~/Mail/inbox" mailboxes "~/Mail/sent" mailboxes "~/Mail/archive" I can save (move) a message to archive, by pressing ...
5
votes
2answers
118 views

bold text when using 256 colors

I am configuring colors in Mutt, but I think my problem is general to linux terminal. For the 16 predefined colors (such as red) I can make it bold, by specifying brightred However, when using 256 ...
1
vote
1answer
113 views

Mutt and maildir format

I am trying to set up mutt to use maildir format. I have the following in my .muttrc file: set mbox_type=Maildir set folder="~/.mail/" set mbox="~/.mail/" set spoolfile="~/.mail/" set ...
0
votes
0answers
198 views

Sending emails from AutoMySQLBackup from Linux Mint

I have set AutoMySQLBackup on a Linux Mint machine and I want to have the backups sent to an email, but I cannot make it work. I'm new to Linux environment and don't understand it very much. I ...
1
vote
0answers
126 views

Mutt is not able to send mail from Cygwin [closed]

I have installed mutt packages and when I tried to send mail to my email address I get the error here: mutt 4352 child_info_fork::abort: C:\cygwin\bin\cygdb-4.8.dll: Loaded to different address: ...
9
votes
3answers
433 views

Search for mail content with mutt

Is it possible to use to search for specific mail content using built-in functionality of Mutt? Or, as last resort, how can I configure grep to be used in Mutt ? The documentation only mentions the ...
1
vote
0answers
106 views

Difference between urxvt -e and xterm -e

Create an executable file file1 as follows: cat > file1 <<EOF #!/bin/bash mutt -e "push '<'" EOF chmod +x file1 Running ./file1 in an existing terminal executes mutt and select the ...
3
votes
1answer
621 views

Mutt imap multiple account

My first question on this site, I come quickly. I'm a fan of command line tools and text-based application. I use tmux with a minimalist tiling wm is qtile, I can not change the environment. I'm a ...