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

learn more… | top users | synonyms

11
votes
2answers
4k 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 ...
18
votes
5answers
8k views

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. ...
17
votes
3answers
6k views

Saving a email as file in mutt?

When I press S in mutt, it saves the mail to a mail folder format (cur/ tmp/ new/), but I want a single file to be saved, just like how the attachment is saved, is that configurable?
7
votes
2answers
4k views

mutt: save message to specific folder

I have several folders defined in Mutt: mailboxes "~/Mail/inbox" mailboxes "~/Mail/sent" mailboxes "~/Mail/archive" I can save (move) a message to archive, by pressing ...
8
votes
3answers
735 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
1answer
442 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 characters/words/...
4
votes
2answers
189 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 ...
6
votes
7answers
4k views

How do I configure mutt to display the date header in my local time zone in the pager?

When I view a message in the pager mutt displays the time in the Date header in UTC rather than my local time zone. The index view displays the local time correctly. I found this old mailing list post ...
6
votes
1answer
2k views

Rename mailboxes in mutt

I'm using mutt with mutt-patched to manage 5 different Gmail accounts. For each of this accounts, I have INBOX as a mailbox with the mailboxes +INBOX configuration statement for each one. Then, I have ...
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 ...
3
votes
3answers
3k views

Script to email all matching files in a directory

Trying to set up a bash script to automate sending data files. Desired end result is to check a specified directory once per week, make a list of all Excel files modified within the last 2 days, and ...
3
votes
1answer
2k views

Mutt imap multiple account

My first question on this site, I come quickly. I'm a fan of command line tools and text-based application. I use tmux with a minimalist tiling wm is qtile, I can not change the environment. I'm a ...
3
votes
1answer
925 views

mutt: rename IMAP folder

How does one interactively rename an IMAP folder within the mutt MUA? Currently, if I want to change a folder name, I use the gmail web browser interface, but this is rather inefficient. Is there an ...
2
votes
3answers
867 views

mutt: gmail IMAP unresponsive

I read gmail via IMAP with the mutt MUA. If I leave mutt open and idle for several minutes, then the program becomes unresponsive to keyboard input, requiring me to kill the process. I am not certain ...
2
votes
1answer
390 views

use mutt to send email through specific port on CentOS 7

What specific syntax do I use to get mutt to send an email through port 587 on a CentOS 7 server? For example, the sender is me@mydomain.com, the recipient is someone.else@someotherdomain.com, the ...
1
vote
1answer
473 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?
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
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<...
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=-...