From 9038bcfc117a1b0857e4b2f4fbea4946c17b86a7 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Tue, 16 Feb 2016 21:27:15 +0100 Subject: mutt: fix html mails; include sent folders --- .gitignore | 1 + mutt/mailcap | 3 +++ mutt/muttrc | 10 ++++++++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 mutt/mailcap diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f3ec3b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +mutt/tmp diff --git a/mutt/mailcap b/mutt/mailcap new file mode 100644 index 0000000..517a4cc --- /dev/null +++ b/mutt/mailcap @@ -0,0 +1,3 @@ +#text/html; links %s; nametemplate=%s.html +#text/html; links -dump %s; nametemplate=%s.html; copiousoutput +text/html; w3m -I %{charset} -T text/html; copiousoutput; diff --git a/mutt/muttrc b/mutt/muttrc index 6132c76..b732596 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -4,7 +4,7 @@ set folder = ~/.mail # mailbox location #set header_cache = ~/.mutt/cache/headers # where to store headers #set message_cachedir = ~/.mutt/cache/bodies # where to store bodies #set certificate_file = ~/.mutt/certificates # where to store certs -#set mailcap_path = ~/.mutt/mailcap # entries for filetypes +set mailcap_path = ~/.mutt/mailcap # entries for filetypes set tmpdir = ~/.mutt/tmp # where to keep temp files #set signature = ~/.mutt/sig # my signature file @@ -22,6 +22,9 @@ unset mark_old # read/new is good enough for me set pipe_decode # strip headers and eval mimes when piping set thorough_search # strip headers and eval mimes before searching +auto_view text/html +unignore Message-Id + # Sidebar Patch -------------------------------------- set sidebar_delim = '│' set sidebar_visible = yes @@ -48,7 +51,7 @@ set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new) set spoolfile = "+victortoso/inbox" -set editor="vim -c 'set spell spelllang=en,pt-BR'" +set editor="vim -c 'set spell spelllang=en'" folder-hook victortoso/* source ~/.mutt/accounts/victortoso folder-hook lists/* source ~/.mutt/accounts/lists @@ -64,6 +67,7 @@ mailboxes \ "+victortoso/fundation-list" \ "+victortoso/gnome-soc" \ "+victortoso/google-soc" \ +"+victortoso/[Gmail].Sent Mail" \ "+(redhat)------------------------" \ "+redhat/inbox" \ "+redhat/brno-list" \ @@ -80,6 +84,7 @@ mailboxes \ "+redhat/spice-devel" \ "+(lists)-------------------------" \ "+lists/inbox" \ +"+lists/[Gmail].Sent Mail" \ "+lists/spice-devel" \ "+lists/virt-tools-list" \ "+lists/dvb-daemon" \ @@ -98,6 +103,7 @@ mailboxes \ "+bugzilla/gnome-boxes" \ "+(spam)--------------------------" \ "+spam/inbox" \ +"+spam/[Gmail].Sent Mail" \ "+spam/aliexpress" \ "+spam/alza" \ "+spam/ebay" -- cgit v1.2.3