<<< Date Index >>>     <<< Thread Index >>>

Re: application/octet-stream everywhere



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