On Tuesday, December 21, 2021 at 19:58:41 +0100, Gerard ROBIN wrote:

I didn't understand why the changes to the /etc/mailcap file had no effect.

According to mutt docs http://www.mutt.org/doc/manual/#mailcap the default mailcap locations and their search order are given by:

mutt -nF /dev/null -Q mailcap_path

E.g., in my setting (Fedora) they are:

mailcap_path="~/.mailcap:/usr/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap"

But since I have set mailcap_path = "~/.mailcap" in ~/.muttrc, the actual mailcap search stops there for my account:

mutt -Q mailcap_path
mailcap_path="~/.mailcap"

Best,
Mihai

Reply via email to