]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Add custom headers and sort mails recent on top in mutt.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 18 Sep 2019 13:19:14 +0000 (21:19 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Wed, 18 Sep 2019 13:19:14 +0000 (21:19 +0800)
mutt/.config/mutt/mutt.account.biz
mutt/.config/mutt/mutt.account.io
mutt/.config/mutt/muttrc

index fc807ff1d4fba5b1e4b84aa7a2d825cab3544527..3dd1e3de040ce2bb24ba72310baae2fd9d0b2883 100644 (file)
@@ -7,3 +7,6 @@ set use_from = yes
 set sendmail = "/usr/bin/msmtp -a biz"
 
 set spoolfile = "+biz/Inbox"
 set sendmail = "/usr/bin/msmtp -a biz"
 
 set spoolfile = "+biz/Inbox"
+
+unmy_hdr *
+my_hdr X-Accept-Language: nl en fr
index ea7ddc30784954bf9d908d9031f885e58a7924f0..a0dd832af06bd80a11e4f51db8d5873650434a26 100644 (file)
@@ -6,3 +6,10 @@ set use_from = yes
 set sendmail = "/usr/bin/msmtp -a io"
 
 set spoolfile = "+io/Inbox"
 set sendmail = "/usr/bin/msmtp -a io"
 
 set spoolfile = "+io/Inbox"
+
+unmy_hdr *
+my_hdr X-Accept-Language: nl en fr
+my_hdr X-GPG-Key: http://vanrenterghem.biz/publickey.gpg
+
+send-hook .io/*     'my_hdr X-Uptime: `uptime`'
+
index e4451633153fd49e074ccebfedc383c48ddd0691..1184d90d91bcf010cbdd641cbee91e94d7c4acbf 100644 (file)
@@ -17,12 +17,17 @@ bind index,pager \Cp sidebar-prev       # Ctrl-p - Previous Mailbox
 bind index,pager \Cn sidebar-next       # Ctrl-n - Next Mailbox
 bind index,pager \Co sidebar-open       # Ctrl-o - Open Highlighted Mailbox
 
 bind index,pager \Cn sidebar-next       # Ctrl-n - Next Mailbox
 bind index,pager \Co sidebar-open       # Ctrl-o - Open Highlighted Mailbox
 
+# Sorting mails
+set sort = threads
+set sort_browser = date
+set sort_aux = reverse-last-date-received
+
 # Compose options
 set envelope_from                    # allow setting who the sender is
 set edit_headers                     # show headers when composing
 
 # Set default account
 # Compose options
 set envelope_from                    # allow setting who the sender is
 set edit_headers                     # show headers when composing
 
 # Set default account
-source ~/.config/mutt/mutt.account.biz
+source ~/.config/mutt/mutt.account.io
 
 folder-hook io/* source ~/.config/mutt/mutt.account.io
 folder-hook biz/* source ~/.config/mutt/mutt.account.biz
 
 folder-hook io/* source ~/.config/mutt/mutt.account.io
 folder-hook biz/* source ~/.config/mutt/mutt.account.biz