]> git.rmz.io Git - dotfiles.git/blobdiff - mutt/muttrc
mutt: treat googlegroups as lists and don't autosign
[dotfiles.git] / mutt / muttrc
index 8cb3f591d97ab92772a0f4ff84562b8db1d426bb..33a3ade9168ff37ac18432e832a814a6635cf451 100644 (file)
@@ -17,6 +17,9 @@ set use_envelope_from
 set forward_format = "Fwd: %s"
 set forward_quote = yes
 
+# ask to forward email as attachement
+set mime_forward = ask-no
+
 set edit_headers = yes   # more power
 set askcc        = yes   # ask until I have goobook completion in vim
 set editor       = vim   # d'uh
@@ -45,6 +48,7 @@ subscribe -group mutt        mutt-users@mutt.org
 subscribe -group zsh         zsh-users@zsh.org
 subscribe -group qutebrowser ^qutebrowser.*
 subscribe -group lug         @mailman.lug.org.uk
+subscribe -group googlegroup @googlegroups.com$
 
 # performance tuning
 set read_inc  = 1000   # nb of messages read before printing status
@@ -66,7 +70,11 @@ set markers           = no
 set mark_old          = no    # leave messages as new if unread
 set status_on_top     = yes   # also help on bottom
 set wait_key          = no    # don't wait for enter key
-set index_format="[%Z] %{%e/%m} %15.15L  %?M?+ ?%s"
+
+set index_format="[%Z] %-6@date@ %15.15L  %?M?+ ?%s"
+index-format-hook date "~d<1d"  "%[%H:%M]"
+index-format-hook date "~d<1y"  "%[%e/%m]"
+index-format-hook date "~A"     "%[%m/%Y]"
 
 # header
 ignore *
@@ -78,6 +86,7 @@ hdr_order from: to: cc: date: subject: x-clacks-overhead:
 set mailcap_path = $my_config_dir/mailcap
 auto_view text/html      # view html automatically
 auto_view text/calendar  # view ical automatically
+auto_view application/gzip application/zip  # for dmarc reports
 alternative_order text/calendar text/plain text/enriched text/html  # view ical first, html last
 
 # IMAP: mbsync
@@ -101,6 +110,7 @@ group -group nosign -rx jira@.*atlassian.net
 group -group nosign -rx gitlab.incoming@ultrahaptics.com
 group -group nosign -rx .*@incoming.gitlab.com
 group -group nosign -rx .*@reply.github.com
+group -group nosign -rx .*@googlegroups.com
 send-hook .            "set crypt_autosign = yes"
 send-hook "%t nosign"  "set crypt_autosign = no"