Re: application/octet-stream everywhere
- To: mutt-dev@xxxxxxxx
- Subject: Re: application/octet-stream everywhere
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Sun, 24 Jun 2007 13:09:20 -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=8iJBK/JtvB4Yqpngfk7QQ8btAr4=; b=QRc/Jj25NGrutkk6Z8OWVyTTiAgBjUwtp7Axk+ftYpfKio/E9t3PVKr0WsSFgExgU3OjoB7mqOZscgAhGXLnQOaw5+59bfr5JVitNMCifqQKF5q8RgZCnuvZBlEMYmXR5OCZ5vT56VAXTXHobgeXc1tU2gWorNFy+aGIdGXBNAU=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=YHFznSEXAK1qSCJVWcVva5ZXoLnURTlBPin+kfvM8TSjYyUmPQGpwfe4rlL0ukayA09ZYQiZm7OH6wS5mQWhy1foq4ZvD3vw1JU00aVRYlwSvFdx6fp5yEhwcTtJII8IcZuexh9DmMoNjvpY1iMVI4/bCaNIbek/t8Z8NhW6Sg4=; 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: <20070624184210.GA9720@xxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- References: <20070624184210.GA9720@xxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
On Sunday, June 24 at 08:42 PM, quoth Vladimír Marek:
Hi,
last few days I'm getting mails containing application/octet-stream
attachments, even that they could have valid mime types. Up till now I
solved this by having octet-stream definition in ~/.mimetypes, and
having external script deciding on how to open file according to the
extension.
I think you may want to check out mime_lookup in the muttrc man-page.
Specifically, you can add the following line to your ~/.muttrc:
mime_lookup application/octet-stream
That will tell mutt to be a bit smarter about application/octet-stream
attachments.
~Kyle
--
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
-- Brian Kernighan
Attachment:
pgp1AbHVd5lbZ.pgp
Description: PGP signature