Re: Apple mail
- To: mutt-users@xxxxxxxx
- Subject: Re: Apple mail
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 15 May 2007 07:13:57 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=EYz0X1rSylh3OfPN+CGsfofbXko=; b=b+ZbzsdISu+ZGe3tAM/pJ5dba2wii7+i/fdvsZbl/ogQjpIRLOA/D37hboTn0pRFfpxYnxd1i0kOVF41+JhQbN1Tq8sR3QxQ9B4bEOVWC9J1wMzSU2zqj691zv8HkNOI8FhuKurH4guVw567x/lbQnrPjRgdF5WVdcEVH1te6Lk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=S2TKDRW9UkUbbH83FMpn3gBdDWsX+wJ2LmLJ00OJu3y+H9R1jtas7TNiIIsBp1le2ZRgymxz+NzrsDcRmgErOjz0LhlYQ4jQVs3WJdVoT7Qa1NuFHHn4CmLhzBntwHrkROk3ZFfpTeR9JBSCwWkSdXKoQOvBz8uQTq8fdaBgRGc=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070515071406.GA2520@SALTERDUKE2>
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070515071406.GA2520@SALTERDUKE2>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.15 (2007-05-02)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, May 15 at 05:14 PM, quoth Brian Salter-Duke:
>Could anyone suggest the best way to cleanup this sort of mail? I
>have recently received two from different people. It is a mess. The
>html is not an attachment.
For what purpose? If you need to turn it into useful text so that you
can view it and reply to it, the best idea is going to be to add an
html-renderer to your mailcap. If you just think it's untidy and don't
want to store untidy email... mmm, perhaps pipe it to the `tidy`
utility.
Presuming you need the former and not the latter, add this to your
~/.mailcap file (each block should be entered as a single line):
text/html; elinks -dump -force-html %s; needsterminal;
copiousoutput; test=type -P elinks > /dev/null
text/html; links -dump -force-html %s; needsterminal;
copiousoutput; test=type -P links > /dev/null
text/html; lynx -dump -force-html %s; needsterminal;
copiousoutput; test=type -P lynx > /dev/null
Then, of course, install one of those programs (if they're all in your
mailcap file, it doesn't matter which one you install).
Then, add the following to your muttrc:
auto_view text/html
That should do it for you.
Oh, you also may want to add this to your muttrc:
alternative_order text/html text/plain
~Kyle
- --
They say marriages are made in Heaven. But so is thunder and
lightning.
-- Clint Eastwood
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGSbIVBkIOoMqOI14RAr6PAJ9frTTNBlPfYzfaZYTVaiNaDcsVXQCdGqc5
u2EJ65e1fzZn5BK3JQbUsmk=
=68ze
-----END PGP SIGNATURE-----