X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=mutt%2F.mutt%2Fmuttrc;h=889a4fc0e0dc73b3796b35e57a0ca841f1d73413;hb=HEAD;hp=cb90216a3544f65272b74f2b1068e276517e1d8a;hpb=d1d434e0a2b51113fd73afc642fd302a14c6db4d;p=dotfiles.git diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index cb90216..e22e916 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -1,4 +1,4 @@ -set folder = "~/mail" +set folder = ~/mail set mbox_type = maildir # set mbox_type = mbox set spoolfile = =mbox @@ -7,10 +7,10 @@ set postponed = =postponed set certificate_file = ~/.mutt/certificates set net_inc = 1 set edit_headers = yes -set charset = "utf-8" +set charset = utf-8 set pager_stop = yes -set sort = "threads" -set sort_aux = "last-date-received" +set sort = threads +set sort_aux = last-date-received set pager_index_lines = 6 set timeout = 60 set rfc2047_parameters @@ -19,7 +19,7 @@ set fcc_clear = yes set ssl_force_tls = no set user_agent = yes set signature = ~/.signature -set hostname = "stargrave.org" +set hostname = stargrave.org set realname = "Sergey Matveev" set query_command = "mu cfind --format=mutt-ab '%s'" set forward_format = "Fwd: %s" @@ -43,7 +43,7 @@ macro index,pager,browser "" macro index ":set mbox_type = mbox\n" "mbox mailbox type" macro index S "=spamdb" -macro index "mu find --clearlinks --format=links --linksdir=~/mail/search " "mu find" +macro index "mu find --clearlinks --format=links --linksdir=/home/stargrave/mail/search " "mu find" macro index "~/mail/search" "mu find results" macro index "~/mail/search-sent" "mu find sent results" @@ -78,7 +78,23 @@ fcc-hook .* $record folder-hook . "set sort = threads; push " source ~/.mutt/mailboxes.rc + +folder-hook =blog-comment "set sort = date" +folder-hook =monitoring "set sort = date" + +set my_month_prev = `date -j -v -1m "+%y-%m"` +set my_month_curr = `date "+%y-%m"` + +mailboxes \ + =stcnet-$my_month_prev \ + =stcnet-$my_month_curr \ + =back-$my_month_prev \ + =back-$my_month_curr + +folder-hook =search-sent "set sort = date-sent" + source ~/.mutt/accounts/rc +source ~/.mutt/hooks.rc # set mime_forward = yes # set mime_forward_rest = yes