Rajesh Fowkar forced the electrons to say:
> I found that it is application/octet-stream and it opens fine but for other
> files such as .tar.gz etc. it creates problems.

Only Outlook sends word documents as application/msword. If you try it
from say, mutt, you will get an application/octet-stream attachment.

One idea will be to use antiword for application/msword, and the
octet filter available from Roland Rosenfeld's excellent mutt page 
(http://www.spinnaker.de/mutt) for application/octet-stream. This script
calls (IIRC) antiword if it finds a word document as an attachment. But
I'd personally prefer what I had suggested in my earlier mail for Word
attachments (see sig).

I'd suggest you add these customisations to ~/.mailcap instead of
/etc/mailcap. And, don't forget to add autoviews for them in your .muttrc.

Binand

-- 
application/msword; cat '%s' > /dev/null; copiusoutput;


----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to