Re: Could not load html file to browser
- To: mutt-users@xxxxxxxx
- Subject: Re: Could not load html file to browser
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 21 Sep 2008 22:42:19 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=iKAHnIWF4/jxkA6VdQfMzjr1XtU=; b=Qmvd eSKv7GfWkQRUsSPdvqITVMlPxernNoZxxJn7mjxuubvB7N4wRQlrwRyVo+XG9BkW +GIB2n0LA8pgp6sjgGBby5V3FQ4kabSnN0A1WsZ73p8u0ZvzItpI5wYrkoco8vwY 0s0k6Wa3W5PClZWjsvec538pGr3Eb9B1Tdk/KWk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=kobRhrHsrBXVYhAqxKlFKEogFxR5wtUmmI/EK5DIEzenO+MDEtuU4tNuc0EksgxOUxQB6YH1s3s0GvKR20bWUgP0PiNvEzM9B1NSOvnJ1uw35O97T9C+m4RGwjyMKDY5+EgVZC+qU1z4LPQOd4EfKP/WIdclko6BaitzAR6zq4I=; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080921220126.GA4305@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <95455e980809201714h56b67efep34d02b2b23a6a3ea@xxxxxxxxxxxxxx> <20080921053154.GC39515@xxxxxxxxxxxxx> <20080921220126.GA4305@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, September 21 at 03:01 PM, quoth Gary Johnson:
>> It sounds like your mailcap erroneously hardcoded the location of
>> temporary html files as /tmp/mutt.html, which is not what mutt
>> uses.
>
> Yes it is what mutt uses. See the mutt manual and the tmpdir
> variable. It defaults to "/tmp" unless the environment variable
> TMPDIR is set.
You misunderstood me. I wasn't claiming that mutt didn't use /tmp.
>> A correct mailcap entry should look something like this:
>>
>> text/html; w3m -dump -T text/html %s; needsterminal; copiousoutput;
>>
>> Note the "%s" instead of "/tmp/mutt.html". That's so that mutt can
>> tell w3m where the temporary file is. It is usually something with an
>> unpredictable name (if it was a predictable name, it would be a
>> security problem), and NOT /tmp/mutt.html.
>
> Well, in that case, I guess mutt 1.5.17 has a security problem.
> Mutt does use random file names for files to be edited, but not for
> files that are just viewed.
Ah! You're right. Interesting...
~Kyle
- --
The longer I live the more I see that I am never wrong about anything,
and that all the pains that I have so humbly taken to verify my
notions have only wasted my time.
-- George Bernard Shaw
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFI1xQbBkIOoMqOI14RAsrRAKD16cH8A5YoRQnPYltZMZzNCqODNgCeM344
OYDTI6JKq737OU0kNUjIZV8=
=8NvE
-----END PGP SIGNATURE-----