Chris Green | 22 Jan 23:13 2015

How to prevent file disappearing before browser sees it?

I usually automatically turn HTML mails into text using lynx and view
them in the mutt pager but occasionally I view them in Firefox by
hitting 'v' and then enter against the HTML part of the message.

Thus my .muttrc file has:-

    auto_view text/html

... and my mailcap has:-

    text/html; /usr/bin/firefox %s
    text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html

The trouble is I'm frequently seeing the temporary HTML file saved by
mutt disappearing before firefox gets to see it, why does this happen
sometimes (almost all the time now)?  It used to work OK.  I have just
moved to a faster computer, would this affect it?

While I'm about it how do the two text/html entries in .mailcap work
so that lynx is used by default but 'v' takes me to firefox?


Chris Green

debecio | 16 Jan 11:05 2015

msmtp freezed

Hello, it is a little OT question. Since month when I send mail with msmtp sometimes (not always) msmtp block
on sending. I left for hours the process work but nothing, none errors in log or in mutt but it stay blocked on
sending. If i kill process and send mail again it work. I seek a way to have much verbose log but there is not
options for this in .msmrprc file and if I change in muttrc "/usr/bin/msmtp" with "/usr/bin/msmtp -v"
(verbose) do nothing.

Will Yardley | 15 Jan 20:27 2015

EL5 / EL6 1.5.x RPMs

Anyone have a reliable and good quality source for EL5 x86_64 RPMs of
recentish mutt-1.5.x?

I've been trying to rebuild the upstream ones (from fc19+), but running
into some autoreconf issues.


Peter Davis | 11 Jan 17:40 2015

Alternative pager?

I'm trying to use emacs as an alternative pager for mutt. Specifically, I'd like to use the gnus Article mode
to display articles. I've
tried just setting emacsclient as the pager, but I have some questions:

1) What exactly is passed to the pager? From my experiments, it appears the message is pre-formatted before
passing it to the pager. That
prevents me from latting the pager format it, so I'd like to avoid this. I tried moving my .mailcap file, but
I'm still seeing already
formatted messages. Is there any way to get mutt to send the whole raw message to the pager?

2) Does mutt use the same temp filename for passing to the pager that it uses for passing to the editor? I'd
like to be able to distinguish
in emacs, so that pager output gets displayed in gnus Article mode, and replies, etc. that I'm editing get
opened in Mail mode.

3) Is there some way to keep mutt active while a message is being displayed by a pager? Ultimately, I'd like to
have mutt open in emacs in
one window, and message contents displayed in Article mode in another window. Then I'd like to be able to use
keystrokes in the mutt window
to move to different messages, mailboxes, etc.

Is there some more detailed doc. about defining alternate pagers somewhere? All I see in the manual is that
you can specify an external pager.

Thank you.



(Continue reading)

SGT. Garcia | 11 Jan 17:09 2015

%Z vs. %S

could someone clarify the diff please?
%S : status of the message (N/D/d/!/r/*)
%Z : message status flags

%S seems to me the maildir flags (if i'm not mistaken), i don't get what %Z
is for. in fact i can't remove 'F' when it's related to %Z which is not
even listed here:

SGT. Garcia

Danny | 11 Jan 17:50 2015

Setting user variable in muttrc

Hi guys,

I have setup a .muttrc in /etc/skel (Debian). My problem is that everytime I
create a user and .muttrc is copied to the newly created user's home dir I still
have to do some editing involving the user's name etc.

What is the mutt variable for a user:

For example : I want "set from = "user <at>"" to be automatically set.
I tried "%u <at>" but that is not working ...

Any pointers?

Thank You


Peter Davis | 8 Jan 13:40 2015

Fetching message headers

I'm using mutt 1.5.21 on OS X to read mail from Fastmail IMAP. I have header caching enabled and set up, and as
far as I can tell, it is
being used. At least, all the .hcache files have recent modification times.

Yet it still takes over a minute to switch to a folder with about 4000 messages in it. During this time, mutt
displays "Fetching message
headers ..."

Is there any way to speed this up? I thought the header caching would eliminate most of this download time.

Thank you.



Peter Davis
The Tech Curmudgeon

J. A. Landamore | 7 Jan 14:34 2015

character set issues

I have mutt 1.5.21 installed on Ubuntu from the packages and it is mostly
fine. It doesn't, however, connect to one of my mail providers because it
is linked against TLS and not SSL.

When I compile from source and link against SSL that problem is corrected
but now I get an issue when displaying the index pages.

Threads are displayed as

M-b~T~\M-b~T~ <at> >

rather than {whitespace}> or {whitespace}=>

Given they display correctly in the packaged mutt and as far as I can tell
the configure options are the same it must be something in my build
environment.  Can anyone provide me with a pointer please?



John Landamore

University of Leicester
University Road, LEICESTER, LE1 7RH
J.Landamore <at>
Phone: +44 (0)116 2523410       Fax: +44 (0)116 2523604


mutt/PGP works interactively but not on command line, what's going wrong?

Dear all,

I am obviously doing something wrong but can't find out what...

I configured mutt to PGP-sign/encrypt (~/.muttrc and ~/.gpg.rc). When sending out an email
interactively, everything works fine: emails get signed and encrypted by mutt.

But if I am sending a mail via the command line, mutt doesn't bother about PGP at all: The email is sent out, but
without any PGP. Does anybody know what's going wrong?

I am using Mutt 1.5.21 on Ubuntu 14.04 LTS (64bit).

Command line:

$ echo "Body Text" | mutt -s "Subject Text" -F /home/me/.muttrc -d 5 receiver <at>


$ cat .muttrc

set from = "sender <at>"
set realname = "Sender"
set smtp_url = "smtp://sender <at> <at>"
set smtp_pass = "xxxxxxxxxxxx"
set smtp_authenticators = "plain:cram-md5"
set ssl_force_tls = no
set ssl_starttls = no
source /home/me/.gpg.rc
set pgp_use_gpg_agent=yes
set pgp_autosign=yes
(Continue reading)

Tim Gray | 1 Jan 17:38 2015

sourcing output from a program

I'm sure this has been covered before.  I want to source a set of 
aliases that are generated by a program I've written.  Right now I've go 
the following lines in my muttrc:

source `~/bin/ > ~/.mutt/aliases; echo ~/.mutt/aliases`

This seems like a roundabout way to do things.  Is there some way to 
source the output directly instead of dumping it to a file and echoing 
the file name?


Cameron Simpson | 31 Dec 23:16 2014

repairing the From: header of DKIM/DMARC mangled lists, such as sed-users <at>

On 16Dec2014 15:23, Patrick asked me to provide a recipe for unmangling the 
"From:" headers of posts to list like sed-users <at> which rewrite 
the "From:" headers of their posts to honour the rules of DMARC authentication.

The glaring example for me is the sed-users <at> list, which moved 
to DKIM authentication last year, and as a consequence had to rewrite the From: 
headers on every outbound message to be from sed-users, not the author. For 
example, a post from me would arrive with this From: header:

  From: "Cameron Simpson cs <at> [sed-users]" <sed-users <at>>

I now automatically reverse that on receipt.

As hoped, I've found time in the last week or so to:

  - upgrade my mailfiler tool to support a hdr:s/this/that/ header
    rewriting rule

  - use that to write a rule to unmangle sed-users posts, restoring
    correct From: headers to be the message author

  - pull that rule out into a sed script that can be used in procmail recipes

So here we go:

First up my mailfiler(1cs) rules. Mailfiler is a tool of my own which I use to 
file my email. You can track it here:

(Continue reading)