On 2012-10-19 16:53:25 +0200, Dennis Guhl wrote: > On Fri, Oct 19, 2012 at 11:23:56AM -0300, Leonardo M. Ramé wrote: > > Hi, I'm using mutt 1.5.21. While trying to configure > > application/octet-stream handling, I've read this: > > http://www.mathematik.uni-ulm.de/help/mutt/mimesupport.html#mime-lookup > > This is the manual for Mutt 1.5.13. The current manual can be found > here: http://www.mutt.org/doc/devel/manual.html > > [..] > > > But, when I open mutt again, it complains about command unknoun > > "mime-lookup". > > From http://www.mutt.org/doc/devel/manual.html#mime-lookup: > > mime_lookup application/octet-stream application/X-Lotus-Manuscript > > "mime_lookup" != "mime-lookup" ergo try using mime_lookup ;) > > HTH > Dennis
Great!. For the record. Is "mime_lookup" and not "mime-lookup" as I wrongly said, then, it's very important to create your user's ~/.mime.types and put your handlers there (I thought it will read /etc/mime.types, but I was wrong). Now a ~/.mime.types example: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx And the relevant part of my ~/.muttrc # handling application/octet-stream mime_lookup \ application/octet-stream application/vnd.openxmlformats-officedocument.spreadsheetml.sheet \ application/octet-stream application/vnd.openxmlformats-officedocument.wordprocessingml.sheet \ application/octet-stream application/pdf Regards, -- Leonardo M. Ramé http://leonardorame.blogspot.com
