Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Used to use neomutt on Debian. Still use it on OpenBSD. Have it set up to convert weird file formats to text automatically which ends up covering most of the stuff I get. Few emails actually need docx, html, etc formating so it is not much of a bother to just save any that do and use the appropriate program. Much more convenient than having to deal with random spawned programs for everything.


Could you share you for files and/or setup. I used neomutt on Debian but am not pleased with the friction html mails cause me.


Contents of my .mailcap file:

    image/*;                sxiv %s
    application/pdf;        xpdf %s
    text/html;              lynx %s; description=HTML Text; nametemplate=%s.html
    video/mp4;              mplayer %s
    audio/x-wav;            mplayer %s
    application/vnd.openxmlformats-officedocument.wordprocessingml.document; docx2txt <%s|fold -s|less
    application/vnd.oasis.opendocument.text; odt2txt %s|less
    audio/mpeg;            mplayer %s
There is a key macro you can do to spawn something like a firefox session instead of lynx but I have not had to bother yet.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: