I used to run mutt on my desktop machine at home with the following in
my .mailcap file:-
text/html; /usr/bin/firefox %s
text/html; links -dump %s -html-numbered-links 1; copiousoutput;
nametemplate=%s.html
With "auto_view text/html" in my muttrc this means that by default I
got to see HTML E-Mails in my mutt pager window but I could open up the
HTML in Firefox using 'v' if I really needed do.
I now run mutt on the mail server machine on my home network rather than
on my desktop machine, it makes life easier in several ways so I don't
want to change that.
Hence it runs in a terminal window via ssh from my desktop, easy
enough to implement 'transparently' for most of the time.
However, obviously, the /usr/bin/firefox line in mailcap doesn't work
because there's no Firefox on the GUI-less mail server. What's the
easiest way (if there is one) of feeding the HTML E-Mail from mutt
running on the mail server into a (nearly always) running firefox on
my desktop machine?
--
Chris Green