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

learn more… | top users | synonyms

6
votes
1answer
240 views

mutt: how to display selected new messages differently 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 ...
6
votes
1answer
2k views

Using Trash with Mutt: Does it make sense?

I come from Thunderbird, which I found to be bloatware with spontaneous hiccoughs using 20–40% of processing power, weak IMAP and local mailfolder handling and a constant 100–500MB of RAM use. But it ...
6
votes
1answer
1k 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 ...
3
votes
1answer
136 views

mutt: Delay in emails delivery

It is the first time I am sending emails from Bash. For a test I have sent about 80 emails with mutt to (and from) my GMail address. Not all emails have been delivered in the 24 hours following me ...
2
votes
1answer
191 views

Displaying emails with mutt

After being able to retrieve emails from an IMAP account on a remote mail server using fetchmail and POSTFIX as an MTA, I am able to see the emails in the spool folder /var/spool/mail/ghassan in a ...
1
vote
1answer
28 views

Mutt - Automatic Display Sent Email

I am new to Mutt and I am trying to replicate Gmail's behaviour after sending an e-mail. It stays on the thread of the conversation and shows the sent e-mail. After sending a message in the Mutt ...
1
vote
1answer
77 views

Produce bounce message when Sendmail fails

I'm trying to receive a bounce mail message when an outgoing message cannot reach smtp external server (due to my local internet connection problems). I send emails using: mutt (compose) - procmail - ...
1
vote
1answer
65 views

Integrate pattern matching examples in mutt's Help

How can I integrate the following (scrapped from mutt's manual) in mutt's Help? Or, if one thinks it's better to call it independently, how to make it callable via a shortcut? Via a macro? Many of ...
1
vote
1answer
224 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
452 views

How to view full bounce message in mutt?

I got an error when sending email with mutt , some "red" text shows at the bottom of terminal , how should I view the full error message ? Is there a shortcut / macro that I could use / define ?
0
votes
1answer
29 views

Automating deletion of mail in mutt

How can I delete a group of mails from inbox, say that has been received on a particular date, via cmd line in mutt? Thanks in advance.
0
votes
1answer
73 views

Empty mbsync slave when syncing

I'm syncing my Gmail mailboxes locally with mbsync. Currently, the Gmail and local mailboxes reflect eachother 1:1, however I'd rather not store deleted mail locally. After I have marked messages for ...
0
votes
1answer
1k views

Why use user@privatedomain@smtp.gmail.com in Mutt configuration file?

I cannot authenticate to my university smtps server with Mutt, with the same error message as http://askubuntu.com/questions/81924/sasl-authentication-failed-with-mutt-and-gmail-why/ L'...
4
votes
0answers
66 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 wife@...
4
votes
0answers
133 views

Remove prefix from subject header in index view

I subscribed to several mailing lists that prefix the Subject: header with a fixed string like [list-foo]. This clutters my index view and limits the usable space. I'd like to strip this [list-foo] ...
3
votes
0answers
12 views

How to make PGP's output less verbose in mutt with GnuPG & TOFU?

I recently added trust-model tofu+pgp in my .gnupg/gpg.conf to use TOFU and automatically trust (marginally) keys from e-mails I see for the first time. It has the bad consequence of making PGP's ...
3
votes
0answers
119 views

Can I open the next unread message in mutt with a single key?

Is there a way to open the next unread message in mutt with a single key? I can move to the next unread with next-new-then-unread, which is bound to Tab by default. However, if there are no unread ...
2
votes
0answers
22 views

How does Mutt decide if an email has been replied to?

Mutt places an r flag next to emails that I've replied to. However, sometimes it errs, and there is no flag next to an email that I have replied to. notmuch correctly identifies the thread. If I move ...
2
votes
0answers
67 views

Is there a way to import a recipient's address from mutt into abook?

I am using abook as my addressbook with mutt. I have set up a Macro that lets me import the sender's address from an e-mail via the abook --add-email command: macro index,pager A "<pipe-message>...
2
votes
0answers
223 views

Fetch patches from mailing list with mutt and vim

How can I fetch patches from a subscribed development mailinglist with mutt and vim so that they can be applied with "git am" or "git apply" command easily? Is it either possible to save it ...
2
votes
0answers
138 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 ...
2
votes
0answers
46 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 ...
2
votes
0answers
122 views

mutt once prompted password, used for both imap and smtp

My password for imap and smtp are the same and mutt version is using integrated smtp settings. I do not want to store my password in any script nor encrypt it with pgp/openssl nor using wallet ...
2
votes
0answers
281 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
318 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 ...
2
votes
0answers
227 views

Where does Mutt put deleted messages if no purge is performed?

If I delete one or more email messages in Mutt and then say no when it asks (when changing folders or quitting the program) if I want to purge the deleted messages, what does Mutt do with them? After ...
1
vote
0answers
43 views

How do I restart offlineimap?

I have offlineimap running on a cron job. Every once in a while it seems to get interrupted, and when that happens I can't restart it. If I try to run it from the terminal I get an error indicating ...
1
vote
0answers
34 views

How to set up Mutt and Spamassassim

I've got Mutt to access and read my gmail, but in the inbox, it includes all the mail that the gmail interface hides in two tabs (I think they're called labels) called 'Social' and 'Promotions'. I'd ...
1
vote
0answers
15 views

Mutt retrieve without duplicates or deleting everything

I use the Ctrl+g keybinding to retrieve mail from my POP mail server. Whenever I do this, Mutt will ask me if I want to delete messages from the server. If I tell it "no", it will download all of the ...
1
vote
0answers
24 views

Can I alias or rename a folder as displayed in mutt?

I'm using offlineimap to sync a local Maildir and then using Mutt as my MUA. But some of my folder names include accents, and they're being stored garbled in Maildir. Terça becomes Ter&AOc-a. Is ...
1
vote
0answers
99 views

Adjusting colors for mutt's status line in multi-account setup

Question How can mutt be configured correctly so, no matter the number of accounts it handles, color settings can be adjusted per account along with the folder-hooks? Details In a mutt multi-...
1
vote
0answers
25 views

Can mutt delete message locally but retain it on server?

When using mutt I don't want all the messages to be cached, which could take up a lot of disk space. But if I purge an email, it also gets deleted on the server side, which is undesired because I may ...
1
vote
0answers
173 views

gpg: passwordless decryption works in terminal, but not in tmux based msmtp/mutt (can't open /dev/tty)

first try: (with --no-tty in my msmtp config) (reboot) head -n 1 ~/.gnupg/gpg.conf use-agent gpg agent is started: % systemctl --user status gpg-agent.service gpg-agent.service - GnuPG private ...
1
vote
0answers
263 views

How to enable secure authentication (ssl,tls,starttls) in nullmailer 1.0.5. and upgrade nullmailer to 1.11

I am using a linux based device where we use nullmailer to send email using smtp. nullmailer version: 1.0.5 User-Agent: Mutt/1.5.19 (2009-01-05) In the existing mechanism, our smtp server does not ...
1
vote
0answers
33 views

highlight the current thread in mutt, but not in thread mode

A sample mail structure in mutt: - L1: thread1 mail1 - L2: thread2 mail1 - L3: thread2 mail2 (cursor here) - L4: thread3 mail1 - L5: thread1 mail2 - L6: thread3 mail2 - L7: thread1 mail3 - L8: ...
1
vote
0answers
38 views

Can I create a mutt macro to reply and archive?

Is it possible to create a mutt macro to reply to an email, then move it to another folder? Currently I have the following two macros defined. bind index,pager r group-reply macro pager a ":set ...
1
vote
0answers
22 views

Can I delete messages from the trash after x days in mutt?

I'd like to use a trash folder in mutt. I know how to create a macro that moves mail to the trash folder instead of deleting. However, I'd also like to automatically delete messages that sit there for ...
1
vote
0answers
118 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 ...
1
vote
0answers
61 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 ...
0
votes
0answers
14 views

How to ignore “Tags:” Header in mutt (neomutt)

I am using NEOMUTT with Virtual folders and set in my .muttrc "ignore *". It ignore all headers apart from the "Tags:" header. I want also to ignore this tag (and all others). Do you know whether it ...
0
votes
0answers
50 views

mbsync: retrieve password from a keyring and use a systemd service

I'm on Fedora23 and I've set up a systemd service, as explained in the isync page of Arch wiki, to schedule the run of mbsync every x minutes. I need it for Mutt. The service works fine when the ...
0
votes
0answers
23 views

git sendmail attachment

I tried to send attachments with git sendmail but unable to do that. I haven't found any way to send source files like abc.c etc with git sendmail. only *.patch was possible. I tried mutt but that ...
0
votes
0answers
62 views

`SMTP session failed: 501 5.5.4 connection. dafafkKHJDHJSnaf.50 - gsmp` error in mutt

My mutt was working fine a week ago. Suddenly it has stopped working with gmail. It throws the following error: SMTP session failed: 501 5.5.4 connection. v9sm74425825pfi.50 - gsmtp When I postpone ...
0
votes
0answers
58 views

Mutt config: how to handle different mailboxes on same host

I have a problem using Mutt for different mailboxes on the same host. There seems to be an external authentication with the correct IMAP user, but then it always uses the first known user name to load ...
0
votes
0answers
215 views

configure command line mail client in centos 7

I have installed mutt. .muttrc file is not located in home directory Need to configure mutt as mail client where as mail server is MS exchange server. Error Message : Diagnostic-Code: X-Postfix; ...
0
votes
0answers
38 views

Get mutt to open files >2G

According to the very likely sounding answer to How to access and manage a large mailbox (11 GB) I need to use mutt to open the large mailbox. However the 2G limit was supposed to have been removed ...
0
votes
0answers
439 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
0answers
305 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 ...
0
votes
0answers
692 views

Error sending message, child exited 71 (Operating system error)

I'm trying to send mail through mutt command. I got the error message Error sending message, child exited 71 (Operating system error.). I was able to send email through this command earlier, but can'...
0
votes
0answers
294 views

How to get nano to work properly under mutt?

I have set nano as the default editor in mutt; mutt launches nano normally enough, but when I try to send the message (ie. save and quit, separately) mutt says the message has been aborted. Any idea ...