]> Sergey Matveev's repositories - dotfiles.git/blobdiff - mutt/.mutt/muttrc
X-Original-To is useful
[dotfiles.git] / mutt / .mutt / muttrc
index 38cde43bf069ae1de4a3212553ec8e15562cf94e..341305cf8f13f44c09dc4b4df6bfc50706195507 100644 (file)
@@ -21,18 +21,22 @@ set user_agent = yes
 set signature = ~/.signature
 set hostname = "stargrave.org"
 set realname = "Sergey Matveev"
-set query_command="mu cfind --format=mutt-ab '%s'"
+set query_command = "mu cfind --format=mutt-ab '%s'"
 set forward_format = "Fwd: %s"
-set index_format = "%4C %Z[%1H] %{%m-%d} [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
+set date_format = "%Y-%m-%d %H:%M"
+set index_format = "%4C %Z[%1H] %D [%N] %-15.15L (%?l?%4l&%4c?)%?M?[#%02M]?%?Y?[%Y]? %s"
 set pipe_decode = yes
 set crypt_protected_headers_write = yes
-set print_command="cat > /tmp/mail-printed"
-my_hdr User-Agent: Mutt/2.1.2 GnuPG/2.3.2 Vim/8.2 FreeBSD/12.0 (amd64)
+set print_command = "cat > /tmp/mail-printed"
 set attribution = "*** %n [%{%Y-%m-%d %H:%M}]:"
 set forward_attribution_intro = "----- BEGIN %i -----"
 set forward_attribution_trailer = "----- END %i -----"
+set mail_check_stats
+set folder_format="%3C %t %N [%3n|%3m] %D %f"
 
-macro index <F1> "<next-unread-mailbox><enter>" "Go to new mail"
+source ~/.mutt/useragent.rc
+
+macro index,pager,browser <F1> "<next-unread-mailbox><enter>"
 macro index <F5> ":set mbox_type = mbox\n" "mbox mailbox type"
 
 macro index <F8> "<shell-escape>mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find"
@@ -51,21 +55,24 @@ macro pager \cy <previous-line>
 alternative_order text/plain text/enriched text/html
 auto_view text/html
 unignore \
-    Mail-Followup-To \
     List-Id \
-    Reply-To \
+    Mail-Followup-To \
     Mail-Reply-To \
-    Organization \
+    Message-Id \
     OpenPGP \
+    Organization \
+    Reply-To \
     Return-Path \
-    X-Mailer \
     User-Agent \
-    Message-Id
+    X-Bogosity \
+    X-Label \
+    X-Mailer \
+    X-Original-To
 
 fcc-hook .* $record
 folder-hook . "set sort = threads; push <collapse-all>"
 
-source ~/.mutt/mailboxes
+source ~/.mutt/mailboxes.rc
 source ~/.mutt/accounts/rc
 
 # set mime_forward = yes