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

learn more… | top users | synonyms

1
vote
0answers
12 views

Mutt Gmail Trash behaviour without custom “trash” patch

I configured Mutt to correctly move messages to trash in Gmail (instead of just archiving, which seems to be the default behaviour) using the well-known trash patch: set trash = "imaps://jviottidc@...
0
votes
1answer
960 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
58 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
33 views

mutt doesn't run as a cron job wrapped in a bash script

mutt runs correctly like this: $ cat /home/user/test this is a test $ mutt -s "test" to@destination.org </home/user/test If I put this inside a bash script (stored in tmp1): #!/bin/bash /usr/...
3
votes
1answer
22 views

Syntax of smtp_url in muttrc

I'm trying to configure mutt just for the purpose of sending short report e-mails from a command-line at the end of a cron job, on a headless server. Most advice on mutt is how to set it up fully as ...
7
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 ...
17
votes
2answers
5k 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
26 views

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

I am using NEOMUTT with Virtual folders and added "ignore *" to my .muttrc. It ignores all headers apart from the "Tags:" header. I also want to ignore this tag (and all others). How can I do ...
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
0answers
15 views

How can I make my .muttrc portable to older machines despite “unknown variable”

On an older machine, which I am not an administrator of, I can't use my global .muttrc, without getting Error in /home/jidanni1/.muttrc, line 18: sidebar_visible: unknown variable source: errors in /...
2
votes
2answers
33 views

Setting editor in mutt: vim with parameters?

I am exploring mutt as an email client - and I like it very much - my only problem is setting the editor to be vim with some extra parameters. Ideally, I would like something like set editor='vim -c ...
2
votes
0answers
38 views

Reading exchange email with mutt and davmail?

I must have read about 65 web pages about this issue, and tried them all, but so far I can't get it to work. I can access my exchange email using Thunderbird, with the imap server set to localhost ...
4
votes
1answer
29 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
1answer
22 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
77 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 ...
2
votes
1answer
37 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
34 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
1answer
35 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
20 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
10 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&...
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 ...
1
vote
1answer
29 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
37 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
176 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
64 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
32 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
62 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
66 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
31 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 ...
5
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
739 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
38 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
73 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
137 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
75 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
24 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
82 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
45 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
280 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
72 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
41 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
423 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
546 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
18 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
30 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
135 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
62 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 ...