Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mutt]

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

3
votes
1answer
33 views

Neomutt - Can't display Swedish characters

I have an issue regarding neomutt not displaying the Swedish characters å, ä and ö. When typing locale in the terminal I get: LANG=sv_SE.UTF-8 LC_CTYPE=sv_SE.UTF-8 LC_NUMERIC=sv_SE.UTF-8 LC_TIME=...
0
votes
1answer
26 views

Get previous search result

When I've started a search in Mutt with /, I can go to the next search result with n, easy. But what if I want to go the other direction and see the previous search result, i.e., the previously ...
2
votes
2answers
43 views

Send mail to SMTP server on same LAN from CLI (confused with Mutt and Postfix)

I need to send mail from CLI (Cron) to a mail server that is on the same LAN. After some googling Mutt seemed like a good option as it appeared simply installing Mutt and adding SMTP options to ....
0
votes
1answer
24 views

Sending email via mutt as root on RaspberryPi

I have an application that needs to run as root for access to hardware on the Raspberry Pi. In this application I need to send emails with attachments containing data. I am able to write a bash ...
0
votes
0answers
38 views

Mutt asks “Enter keyID”, does not accept any IDs

I am trying to use Mutt with GPG to encrypt emails. Whenever I try to encrypt, I am asked to "Enter keyID for user@domain". No matter what I enter, it asks me to enter the value. I definitely have ...
0
votes
0answers
34 views

Opening attached PDF in neomutt: No Permission

When I open a PDF in Neomutt (by pressing v in the opened email and selecting it) then a temporary file /tmp/doc.pdf is created. When I then try to open another PDF (even after closing the first one),...
1
vote
2answers
35 views

Move to next tagged message in mutt

I tagged a bunch of messages in mutt index. How can one jump to the next tagged message in mutt? Is it possible to just show all tagged messages?
0
votes
0answers
105 views

Mutt error SMTP session failed: read error

set ssl_starttls=yes set ssl_force_tls=yes set imap_user = 'name@gmail.com' set imap_pass = 'password' set from='name@gmail.com' set realname='name@gmail.com' set folder = imaps://imap.gmail.com/ ...
0
votes
1answer
84 views

Make mutt send plain text only - no html

--- Edit --- This was due to a setting in sendgrid who we use to relay our email, not mutt. I have a report that I will run daily and want to email the results using mutt. I put the report in a ...
0
votes
0answers
27 views

mailcap print + mutt: Can't modify attachment before passing via `print=`

I use mutt 1.10.1 on Ubuntu 16.04 and have this line in my .mailcap because before importing work calendar events to my personal Gmail calendar, I want to anonymize all the attendees email addresses: ...
1
vote
0answers
65 views

How to disable wrapping completely in mutt?

I'm currently working with mutt to get it to display HTML mail properly. I've set up auto_view and a w3m invocation in the mailcap, and this works fine. However, the URLs for links in received mail ...
0
votes
1answer
122 views

mutt/neomutt - color of 'active' message in index menu [closed]

The mutt documentation (http://www.mutt.org/doc/manual/#color) lists a bunch of color objects than can be modified: color object foreground background However none of these color objects (I tried ...
2
votes
1answer
209 views

How to properly configure multiple accounts in mutt

There are many articles on this topic none of which work for me. The .muttrc has the following related to multiple accounts (only IMAP is used + of course SMTP): source "~/.mutt/account1" folder-hook ...
0
votes
0answers
83 views

Why does Mutt's (more specifically, Neomutt's) “quit” command change depending on which screen I'm on?

If I'm viewing an HTML-based email, the steps to view it are: Inbox: select email, press [Enter] Email: text/html is unsupported, press [v] Email: viewing attachments, select and press [Enter] Now ...
2
votes
2answers
113 views

Sending attachments with GNU mail to @kindle.com

Background: I'm trying to set up a server to regularly pull RSS feeds, package them up in a mobi-ebook and send them to my kindle. Problem: If I configure the server to send to my @kindle.com email ...
2
votes
0answers
78 views

Mutt Forwarding with Attachment - Macros for tagging all attachments

I am trying to do a macros to forward an email with its attachments. The macros should do these steps: 1 - Open attachments 2 - Tag all attachments 3 - Forward (;f) I am trying to do it using this ...
0
votes
1answer
30 views

Mutt Composition - When composing an email prevent “CC:” Question

When I press "m" to compose an email in mutt I am asked "to:", "cc:" and "subject:". Can I select the fields to be asked, for example, only "to:" and "subject:"?
4
votes
2answers
131 views

How to get traditional email clients to send email which appears normal in Gmail?

A considerate friend informed me recently that emails I send (with Neomutt; could be Mutt or Gnus or Pine) look funny on his device: Apparently Google doesn't invest much effort in properly ...
0
votes
0answers
39 views

Can I tell my terminal emulator to push URLs to private mode?

I'm using neomutt as my mail client, in Gnome Terminal 3.28.2 on Ubuntu 18.04. I'd like to open inline URLs in a Firefox Private Window by default -- right now they open a new tab in an existing, non-...
0
votes
1answer
65 views

Mutt: Save message to different folder but stay on it

I'd like to write a macro (index, pager) that saves a message to the Archive mailbox but keep the current message open / selected, or even to to the previous entry. My current macro: macro index,...
2
votes
1answer
39 views

Mutt -> Compose -> Some kind of alert?

When replying to some certain emails, I usually have to add other recipients to the list. But unfortunately, I often forget to do so. Thus, my question: is it possible that after leaving the editor ...
0
votes
1answer
48 views

Add file (as attachment) to existing email

Is there a way to add a file to an existing email with mutt? It is an archived (i.e. old) email and I’d like to add a pdf to it for reference. Of course, it’s possible to forward / resend it to ...
0
votes
0answers
24 views

View attached mails in mutt

I'm just trying to view an attached MIME mail (no, this isn't a spelling mistake, there is a mail attached) in mutt, but, as the attachment is recognized as text/plain, mutt just shows up the header ...
0
votes
1answer
48 views

grouping commands in mutt macro (tag-prefix problem for complex macros)

I encountered problem with applying tag-prefix for macros composed with several commands. Let start with simple example: macro index,pager E "<pipe-message>wc<enter>" It works fine, ...
0
votes
0answers
45 views

mbsync “unable to get issuer certificate” error

I am currently using Mutt to access my corporate mail via imap. I'm trying to download my email using isync/mbsync so that I can index and search them using notmuch, however mbsync gives me a ...
1
vote
1answer
141 views

Send email periodically with systemd

I'd like to use systemd timers to send emails periodically to remind me of certain things like anniversaries or filing taxes. I send my regular emails with Mutt; it would be nice if I could reuse ...
0
votes
1answer
296 views

Mixing local and remote IMAP folders in Neo/Mutt and iSync?

I've currently got Neo/Mutt configured alongside iSync for a few different accounts. Everything syncs up and I've got the Mutt client configured roughly how I want it. However, I run into issues when ...
0
votes
2answers
236 views

mutt: a hotkey to return to INBOX?

I assume there's no such default key, am I right? So, in order to achieve this I have to define something like this? macro index gi "<change-folder>=INBOX<Enter>" "go to ...
1
vote
0answers
113 views

Mutt does not keep messages in Sent (record) in non-interactive mode

I have record variable defined in my .muttrc , the copy var is set to yes. Messages are saved to my Sent (record) folder if I sent them interactively. If however I do it w/o opening interactive mutt ...
2
votes
0answers
57 views

Unable to access mailbox with mutt on CentOS 6

When I run mutt -f /var/spool/mail/username/Maildir/, I get /var/spool/mail/username/Maildir/ is not a mailbox. However, when I run sudo /var/spool/mail/username/Maildir/ I can view the mailbox. ...
0
votes
1answer
62 views

How to group mails by sender and sort them by the time received by sender in mutt

How to group mails by sender and sort them by the time received by sender in mutt? I have tried the following: set sort = sender set sort_aux = date-received Are there any tips? Am I setting the ...
1
vote
1answer
158 views

Why is neomutt defaulting to nano? It's not my default editor.

I'm setting up a brand new computer and one quirk that I can't figure out is that neomutt is using nano as its default editor. My default editor is vim. Why wouldn't neomutt respect that?
3
votes
1answer
130 views

How to view (only) the message, not the message source, in external command with (neo)mutt

I want to view some mails in external commands, like less or vim, but when I do something like the following macro index <f6> "|less -\n" "view with less" then the whole mail source will be ...
2
votes
1answer
510 views

How to open a mailbox when launching (neo)mutt?

From time to time I want neomutt to open a different mailbox when launching it. I tried something like neomutt -e "change-folder ${FOLDER_NAME}, but it says that change-folder is not a command.
3
votes
1answer
898 views

Muttrc file for Gmail and Yandex

I have problems configuring mutt e-mail client on Lubuntu 18.04. 64 bit. First I installed Mutt using command: sudo apt install mutt Everything was ok, but when I tried to add my e-mail account (...
1
vote
1answer
75 views

Mutt: move emails only if some emails are tagged

I use mutt and I like to sort out some emails from various mailing lists. I still like them to come to my inbox, but when read, I want to move them somehow automatically. Currently, I do the ...
2
votes
0answers
42 views

Upload email from nnml to Gmail (or IMAP) [closed]

I have just found some tens of thousands of old emails in a Linux subdirectory which I would like to upload to GMail. GMail has an IMAP interface, so if your answer is IMAP-specific, that's ...
0
votes
3answers
780 views

How to send mail from Linux with To, From, Subject, and File Attachment

I need to be able to send mail from a bash script with the following: To Address, From Address, Subject, Body Text, and File Attachment I can send everything just perfectly using mutt EXCEPT, no ...
1
vote
1answer
965 views

Send an image in the body of the mail using any of the mail utilities in Linux

I am trying to send an email from Linux server, I want to send an image, not as an attachment, that should be displayed in the message body. I tried. mailx -s "TEST mail" <MASKED>@mask.com <...
4
votes
2answers
534 views

How do I troubleshoot Mutt html preview choking?

For a while now I've found that when I try to view an HTML file in my browser (from Mutt, v to see all attachments, select the text/html attachment and enter) my browser opens a new tab at file:///tmp/...
0
votes
1answer
84 views

Mutt and character sets issue

I updated to mutt 1.10.0 and now my character sets are all messed up. They worked fine with 1.5.21 -- system version and now old. Following the FAQ, I have these set up: ; echo $TERM ...
0
votes
1answer
313 views

How to sync email contacts between computers for use in mutt?

I'm using mutt as email client. Specifically, this is my setup: Mail is stored at a remote hosting company. Mail is retrieved locally using OfflineIMAP. I have two mail accounts: one personal and one ...
1
vote
1answer
170 views

Mutt autoedit option without edit_headers

In order to skip the addressee and subject prompts before editing a message, one must set both autoedit and edit_headers. But setting the latter puts the header into the edit buffer. Is it not ...
1
vote
1answer
69 views

Does Mutt require a password to open mail stored in Maildir format?

I am a server administrator and want to be able to read emails (stored by EXIM in the "Maildir" format) in various accounts in a convenient, email client manner, without needing to enter a password. ...
9
votes
0answers
221 views

Use alternative file selector in mutt

In mutt, is it possible to use a file browser such as vifm or ranger (possibly in a tmux split) instead of the default file browser to select a file to attach to an email?
0
votes
0answers
205 views

mutt: No mails at all in INBOX

I have configured mutt to connect to my imap server. It logins and send mails successfully but I don't see any messages, it says: Mutt: =INBOX [Msgs:0] But I don't see any errors... This is the ...
3
votes
1answer
1k views

Can I read /var/mail with a GUI?

I can set up local-only mail accounts using sendmail or postfix, and messages will be stored in /var/mail/USERNAME and readable in a terminal window using mutt. I tried setting up a couple of MUA ...
0
votes
1answer
583 views

mutt is changing the content in body

I have a text file with multiple lines in content . But when I am sending it in mail all the lines are coming in one line in email as part of body of mail. But when I insert empty line in content ...
4
votes
2answers
447 views

How do I pass a variable from a shell script to my .muttrc?

I'd like mutt (mutt-kz, actually -- I'd love to migrate to neomutt but that's a bigger project) to get my SMTP password from pass so I don't have to keep it stored in cleartext in my config file, but ...
1
vote
1answer
99 views

Mutt abook empty query

I am running mutt as my email client, with abook to manage addresses. I understand that to send a query to abook I can use Q, with the relevant part of my muttrc being: set query_command = "abook --...