Questions tagged [mutt]

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

-1
votes
0answers
15 views

how to use the mutt command and send an email through a specific instance with postfix?

I set multiple instance postfix in one server, how to use the mutt command and send an email through a specific instance?thanks.
1
vote
1answer
16 views

Saving Pager-view as file in mutt? And open it in Vim?

After following this post: Saving email as file in mutt?, while in Pager view, pressing v and s in sequence will prompt the user to save the first attachment as a local file. As commented in the ...
1
vote
1answer
34 views

Add “To:” addresses from sent mail to abook

I am trying to fill my abook address book with addresses, but it is tedious as a new user of mutt. So the easiest way would be to simply add all "To:" addresses from my Sent mail folder to the abook ...
1
vote
0answers
924 views

CRON (no tty): Delete message with specific “Message-Id”

I have a situation where I need to delete from mailbox (eg. /var/mail/root) messages with specific Message-Id. Following code works only from console, but I have to do it without user interaction ...
0
votes
1answer
15 views

Remove MIME description from mutt pager

Like described here, mutt displays an indicator in the message pager for the attachments displayed, for example: [-- Attachment #1: Description --] [-- Type: text/plain, Encoding: 7bit, Size: 10000 --...
0
votes
0answers
35 views

fdm mail filtering: avoiding archiving messages that have been “flagged”

I'm using fdm to fetch, filter, sort and archive my email. For archiving mail, I have a "disabled" account called archive that I invoke with fdm -a archive, which makes fdm go through all my various ...
3
votes
1answer
80 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
35 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
61 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
38 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
61 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
53 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
65 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
260 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
154 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
39 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: ...
3
votes
0answers
93 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
183 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
435 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
118 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
146 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 ...
3
votes
0answers
109 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
37 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
171 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
45 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
82 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
55 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
25 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
63 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
61 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
183 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
381 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
292 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
178 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
58 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
90 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
211 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
153 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
668 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.
4
votes
1answer
1k 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
88 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
44 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
888 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
1k 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
686 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
98 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
369 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
200 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
75 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. ...