#3959: Feature Request: Use xdg-mime to determine mime-type --------------------------+---------------------- Reporter: boruch | Owner: mutt-dev Type: enhancement | Status: new Priority: minor | Milestone: Component: MIME | Version: Resolution: | Keywords: --------------------------+----------------------
Comment (by vinc17): Replying to [ticket:3959 boruch]: > Also, by default, mutt recognizes files with extension .patch as mime- type text/x-diff, which is close but not exact. The MIME type associated with .patch is platform dependent. Under Debian, this comes from /etc/mime.types provided by the mime-support package. But the end user can also change the default. FYI, I also suggested the use of an external program to determine the MIME type, in the thread "corrupted attachments" in mutt-dev in June 2017: https://www.mail-archive.com/mutt-dev@mutt.org/msg12926.html -- Ticket URL: <https://dev.mutt.org/trac/ticket/3959#comment:1> Mutt <http://www.mutt.org/> The Mutt mail user agent