From 8d3cd074591a3ebc0f9782a1d4bc785352fc74fc Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 26 Nov 2015 21:49:02 +0100 Subject: [PATCH] Make attachments more visible in mutt. --- dotfiles_user_server/muttrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dotfiles_user_server/muttrc b/dotfiles_user_server/muttrc index 5c91d2e..517ff99 100644 --- a/dotfiles_user_server/muttrc +++ b/dotfiles_user_server/muttrc @@ -30,3 +30,13 @@ set pager_stop = yes # Sort message top-down new-old. set sort=reverse-date + +# Ensure visibility of attachments. The second line handles (in an ugly way) the +# issue of mails that use the content-type of multipart/alternative wrongly, by +# omitting from the text/plain alternative relevant multimedia files attached to +# the multipart/related alternative that contains text/html and said files. This +# will in certain cases make the pager default to displaying the HTML variant of +# a mail when a plain text one is available, but this is preferable to hiding +# potentially important attachments. +set index_format="%4C %Z %?X?[%X]& ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" +alternative_order multipart/related text/plain text/html -- 2.30.2