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

learn more… | top users | synonyms

2
votes
0answers
13 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 ...
4
votes
1answer
712 views

Mutt: Automatically subscribe to IMAP mailboxes

I'm using a bunch of mailboxes in mutt which are populated by imapfilter. To avoid manual reconfiguration (by going to the folder list and pressing s at every new entry), I'd like to configure mutt to ...
7
votes
1answer
28 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 ...
0
votes
2answers
275 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 ...
4
votes
0answers
21 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, ...
7
votes
1answer
1k views

Open html attachments externally in mutt

I recently managed to set up the my mailcap so that mutt can show html e-mails in the message window: # ~/.mailcap text/html; lynx -dump '%s' | more; nametemplate=%s.html; copiousoutput; which is ...
3
votes
1answer
72 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 ...
3
votes
1answer
33 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 ...
2
votes
1answer
16 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 ...
5
votes
1answer
50 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 ...
7
votes
1answer
75 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 ...
2
votes
0answers
12 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 ...
9
votes
2answers
128 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 ...
0
votes
1answer
20 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
18 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
19 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
28 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
95 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
1answer
26 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 ...
1
vote
0answers
65 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
0answers
22 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
19 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 ...
8
votes
1answer
765 views

Continuous use of mutt

I would like to use mutt continuously, allow me to explain what I mean with an example. My typical workflow is this: Open up mutt Compose a message Press y to confirm send action ... wait! Compose ...
1
vote
1answer
2k views

how to configure mutt as email client in linux for a remote microsoft exchange server?

I have a windows xp laptop that has ms-outlook 2007. i didnt have to do anything to set it up. i connected my laptop to office network and it picked up all settings by itself. Now i want to dump this ...
1
vote
1answer
52 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
2answers
108 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
36 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 ...
3
votes
2answers
217 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 ...
0
votes
1answer
36 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 ...
5
votes
2answers
1k views

Pretty print mails from mutt?

I know that I can configure a print command in Mutt via .muttrc, e.g.: set print=ask-yes set print_command="..." But what print command should I use for pretty printing? Well, a2ps output seems a ...
5
votes
3answers
290 views

Rebinding “clear prompt” in mutt

By default, when entering information at the command prompt in mutt, you can clear the prompt with Ctrlg, as described in the manual: ^G n/a abort I have been trying to bind ...
5
votes
2answers
127 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
35 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 ...
3
votes
0answers
17 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 ...
4
votes
0answers
59 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
56 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
324 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
252 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 ...
6
votes
2answers
946 views

local email storage syncing to imap - mutt-friendly

Summary My problem: I want to read email offline with my choice of client (mutt), but I want actions like moving emails, etc. to be kept in two-way snc with an imap server. My question: Is there a ...
1
vote
0answers
28 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 ...
12
votes
3answers
2k views

Why does mutt retain deleted emails in view until you “sync your mailbox” using $?

Every other mail client I have used will remove emails from my sight when I delete them. If I change my mind and want the email back, I can always go look for it in the trash. Why does mutt continue ...
3
votes
1answer
53 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
57 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
233 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 ...
1
vote
0answers
137 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: ...
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?
2
votes
2answers
349 views

mutt: move IMAP folder

Can an IMAP folder be moved within mutt? If one navigates to the list of folders (c?), the default key bindings allow one to create a new mailbox (C), change mailbox/folder (c), delete a mailbox (d), ...
5
votes
3answers
404 views

mutt: return to index after deleting or saving message in pager view

After deleting or saving a message in pager view in the MUA mutt, the program remains in pager view and jumps to the next message in the current folder. Can this default behavior be changed so that ...
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 ...
2
votes
2answers
93 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 ...