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

learn more… | top users | synonyms

1
vote
1answer
16 views

How can I get mutt to automatically select pgp keys?

Problem I wish encrypt an email to foo@bar.com, using mutt. I have an associated key, which I trust marginally. After attempting to send the email, I have to select from a list of keys, both of which ...
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 ...
2
votes
1answer
32 views

In mutt, how can I easily attach files which contain spaces in their name?

I'd like to attach some files in mutt's compose screen. I press a to attach. However, if I paste in a path with spaces, it eats the spaces up. Similarly, if I drag and drop a GUI icon into my terminal,...
1
vote
1answer
21 views

Mutt Hide Headers with Shortcut

I am trying to find a way to define a shortcut in Mutt to show the headers of the email in the Pager view. IMHO the headers use too much space and I want to hide, apart from when I press a specific ...
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 ...
1
vote
1answer
9 views

Mutt shows scrambled characters in white space after folder change

For switching accounts in mutt I user folder hooks through a macro like: folder-hook 'google.com' 'source ~/.mutt/account.gmail.muttrc' macro index <f2> '<sync-mailbox><enter-command&...
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
18 views

How can I use an apostrophe in a send-hook for mutt?

I'm trying to set up a send-hook in mutt, with a sender with an apostrophe in it. This is legitimate in the username part at least. I have the following in muttrc. send-hook '~t "^foo@bar\\.com$"' '...
3
votes
1answer
36 views

How to automate mutt in removing old mailing-list emails?

In mutt I perform following sequence of steps: $ mutt -f imaps://imap.example.com username password [shift]+[D] ~C mailinglist1@domain.com [shift]+[D] ~C mailinglist2@domain.com (...) [shift]+[D] ~C ...
3
votes
2answers
53 views

Printing email messages from mutt — how to avoid line break?

I use mutt as email client, and recently decided to fix my email-printing setup. I know about Muttprint, but I decided not to use it. I came up with the following. On .muttrc, I have: set ...
0
votes
0answers
52 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 ...
4
votes
2answers
55 views

Best way to delete select email messages from mbox file using script

I have an arbitrary email messages file in mbox format. I would like to periodically (end of the week), and automatically (via cron) purge messages from my "alerts" mbox file (new folder) just from ...
1
vote
0answers
45 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
1answer
35 views

Mutt Outlook messages distorted

I started using Mutt and the only issue I am having is that when I receive an email from an Outlook account, I get a bunch of headers and all of the HTML. It is very hard to read. what I want to do is ...
0
votes
0answers
63 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
1answer
22 views

Redraw pager when I hide the sidebar in Mutt?

I added a macro to my .muttrc that toggles the sidebar with b: macro index b "<enter-command>toggle sidebar_visible<enter>" macro pager b "<enter-command>toggle sidebar_visible<...
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 - ...
2
votes
1answer
39 views

Sort emails by time in mutt

Currently my threads in mutt are sorted by descending order of date, but emails on the same date are sorted in ascending order of time. This is what I have in my .muttrc: set index_format="%4C %Z %{%...
2
votes
2answers
33 views

Why am I getting “No virtual folder, aborting” when I try to tag messages in Mutt?

I've been using the ` to open the tag prompt in mutt-kz. That was working this morning. Now, though, when I type ` I'm seeing No virtual folder, aborting. I'm not sure what this might be about or ...
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 ...
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 ...
1
vote
0answers
102 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 ...
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.
3
votes
1answer
28 views

How can mutt indicate the presence of all attachments?

Indicating the presence of attachments In mutt, I can tell an email has an attachment because it is indicated in the email's display itself: [-- Attachment #1 --] [-- Type: text/plain, Encoding: ...
0
votes
1answer
32 views

Why does mutt hang when running gpg in tmux?

I run mutt in tmux and when I run gpg to sign or encrypt, gpg shows a blank screen where I would expect to type my passphrase. I've straced gpg and it shows that it's hanging waiting on a socket read()...
-1
votes
1answer
72 views

Mutt : render html within mutt

I wan't to render html within mutt but I haven't succeed configuring it yet. I wan't to use w3m so my .mailcap looks like : text/html; "$BROWSER" %s &; test=test -n "$DISPLAY"; needsterminal; ...
1
vote
1answer
43 views

mutt: select top message on startup

Currently, when I start mutt, it selects the top unread message in the index. How can I configure mutt to select the top message (read or unread) on startup?
2
votes
1answer
114 views

Mutt and Postfix : relay access denied

I try to send mail with Mutt through my own mail server. My mail server run Postfix and Dovecot. I configured it by following this tutorial. I can send / receive email on my server with Gnome ...
1
vote
1answer
17 views

Don't show first line with common key bindings in mutt's menus

In the usual message index, mutt uses one line for displaying q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help Similar key bindings are displayed in other menus, e.g in the ...
1
vote
0answers
175 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
267 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 ...
3
votes
3answers
241 views

How do I tell Mutt to ask for a gpg passphrase?

I'm slowly migrating to mutt after years of Thunderbird and stumped by gpg. I have Mutt signing messages by default, but I don't get asked for a passphrase and then the message fails: gpg: can't ...
0
votes
1answer
29 views

Using corrected time in the “attribution” variable of mutt?

I receive quite a few email messages displaying UTC time within the "Date:" header. I found the following perl script by user hyperair, very useful to display a new header "Local-Date" for incoming ...
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: ...
3
votes
1answer
89 views

How can I change the default “save” folder in Mutt?

By default, Mutt wants to archive messages to folders by sender name. So when I hit s it prompts me with Save to mailbox ('?' for list): =sendername. I'd like to have it default to =INBOX.Archives....
3
votes
2answers
37 views

How do I save a reply to an MBOX email to the same MBOX file in mutt?

Here is the use case. From time to time I read messages contained in an MBOX file using mutt. For the sake of this question I'll use the following to create an MBOX file for reference: curl -L 'https:...
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
189 views

mutt send mail from command line, with headers inside text file

Can mutt send mail from command line without command line parameters, with subject, cc, bcc, reply-to, in-reply-to all defined inside mail.txt file with body of the message too (the same file format ...
0
votes
2answers
92 views

Can I send email in the background in Mutt while still being notified of errors?

Removing mutt's send delay I originally used mutt's built-in SMTP MTA. However, there is a considerable pause after hitting send. This can be disabled by using an external MTA with set sendmail_wait=-...
5
votes
2answers
165 views

Set terminal title from within Mutt?

With the help of Display command in xterm titlebar I've got gnome-terminal changing the title to reflect the running command, so that I can see which terminal Mutt is running it. But what I'd really ...
4
votes
2answers
61 views

Delete mails with attachments

Since I've limited quota on mail server, I'd like to delete large messages. I am thinking of the following flow: Tag all messages with attachments Delete the tagged messages. The mutt manual have ...
3
votes
1answer
105 views

Controlling the order in which files are put into an array

I have a script that grabs a bunch of time-stamped files and puts them into an array to be processed by Mutt and emailed to me. My problem is that the files are just randomly placed into the array and,...
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
1answer
55 views

Sending Specific Files With Mutt

I'm trying to use Mutt to send specific files in a folder. I have a folder titled "Image Cache" that, with a picture being taken every second, has 30 seconds of pictures in it. I would like to use ...
1
vote
1answer
56 views

How to revert list of email by date using mutt?

I use the office365 mutt config connect my Microsoft Office 365 email account, and that works fine. One issue I am having is that I want to reverse the email view so that I see the most recent ones ...
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 ...