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

learn more… | top users | synonyms

4
votes
0answers
25 views

How can I GPG encrypt for only a sole specific recipient in mutt?

I'm trying to set up a send-hook so that gpg encryption is enabled when I send to a specific recipient, but if it's sent to other recipients as well, then encryption is disabled. However, send-hooks ...
1
vote
0answers
11 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
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
925 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 ...
2
votes
1answer
30 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,...
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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
19 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&...
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 ...
13
votes
3answers
4k 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 ...
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'...
1
vote
1answer
27 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
17 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
33 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 ...
1
vote
2answers
171 views

How to get guake to update background characters?

This is actually a problem that also goes on with screen. Here is what it looks like (in mutt): When running a terminal application that builds an updated interface from Guake, tmux and screen don'...
3
votes
2answers
51 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 ...
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: ...
4
votes
2answers
53 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 ...
0
votes
0answers
48 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
3answers
1k 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 ...
4
votes
4answers
1k views

mutt: mark as read and delete

I discard some messages without reading them. After deleting said messages, however, I am soon alerted to the presence of unread mail in my trash can. Is there a way to either: disable the alert (...
7
votes
4answers
730 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 ...
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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
59 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 ...
2
votes
1answer
109 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 ...
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.
4
votes
1answer
68 views

How can I search gpg-encrypted email with notmuch-mutt?

I'm using mutt, with notmuch-mutt indexing the mail. I have a macro defined in mutt to search multiple mailboxes, using notmuch's integration (as suggested in the man page). macro index <F3> \ ...
0
votes
1answer
21 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
38 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 %{%...
1
vote
1answer
220 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 ...
4
votes
1answer
68 views

Show current email address in Mutt status line

I have multiple email accounts configured with Mutt, however it's not always clear to me in which account I'm currently on. I'm looking forward to add my current email address (from the from property)...
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 ...
10
votes
1answer
397 views

mutt: how to display emoji characters correctly?

I'd like to be able to see emoji characters properly in mutt, but e.g. 💗 shows up as ^J in mutt's pager. Running :set pager=view and re-opening the message displays the character correctly with ...
10
votes
3answers
529 views

mutt: Use gpgme or classic gpg?

Mutt's wiki on GnuPG integration and many other places (like default on Debian) use the classic way of connecting mutt to gnupg. That is, one configures a bunch of commands to call gpg directly. On ...
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
98 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-...
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
171 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
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 ...
9
votes
1answer
6k views

mutt SMTP TLS error sending mail

When I try to send a mail, I get the following error: gnutls_handshake: An unexpected TLS packet was received. This is my .muttrc (myname, myaddress and mymail are placeholders): # Automatically ...
12
votes
1answer
765 views

Why does mutt keep 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 ...
4
votes
1answer
75 views

Can mutt show the index and body of emails in a horizontal split?

I'd like to have mutt show an index of emails at the same time as the body of the selected email, horizontally next to each other. I understand that you can set mutt up to show the index of emails at ...
3
votes
2answers
1k views

How to bind <Control><Arrowkey> in Mutt?

I’m stuck here: Is it possible to bind one of <enter>, <backspace>, <up>, <down>, <left>, <right> together with control? \C<foo> shows up as |foo> in the ...
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()...