X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fmisc%2Fmutt%2Fmuttrc;fp=stage3%2Fmisc%2Fmutt%2Fmuttrc;h=a4ffba560f2ce140f26ca0c26cd5819973ce1c45;hb=0fc5131983e80de7e1e6abf98c8430736f4c9c16;hp=0000000000000000000000000000000000000000;hpb=ad8d851a8a82c455ff82f2cc9b03ce517f680904;p=hvlinux.git diff --git a/stage3/misc/mutt/muttrc b/stage3/misc/mutt/muttrc new file mode 100644 index 0000000..a4ffba5 --- /dev/null +++ b/stage3/misc/mutt/muttrc @@ -0,0 +1,107 @@ +# -*- muttrc -*- Mutt configuration file + +folder-hook 'account1.com' 'source ~/.mutt/account1' +folder-hook 'account2.com' 'source ~/.mutt/account2' +# switch to default account on startup +source ~/.mutt/account1 + +macro index 'source ~/.mutt/account1!' +macro index 'source ~/.mutt/account2!' + +set sendmail="/usr/bin/msmtp --tls-certcheck=off" +set use_envelope_from=yes + +# Don't wait to enter mailbox manually +#unset imap_passive +# Automatically poll subscribed mailboxes for new mail (new in 1.5.11) +set imap_check_subscribed +# Reduce polling frequency to a sane level +set mail_check=60 +# And poll the current mailbox more often (not needed with IDLE in post 1.5.11) +set timeout=10 + +# Cache headers of messages so they need to be downloaded just once. +# This greatly improves speed when opening folders again later. +set header_cache = "~/.mutt/cache" + +# Locally cache messages +set message_cachedir = "~/.mutt/cache" + +set certificate_file="~/.mutt/certificates" + +# Display download progress every 5K +set net_inc=5 + +set beep_new # beep on new messages in the mailboxes + +folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\"" + +set smart_wrap = yes +set sort = 'threads' +set sort_aux = 'last-date-received' + +set pager_index_lines=5 #You might want to increase this +set pager_context=1 +set index_format='%4C %Z %{%b %d} %-15.15F (%4l) %s' + +set include=yes # Quote message, when replying +set delete=yes # Purge deleted messages without asking + +# Ignore most headers. +ignore headers * +unignore headers from: to: subject: date: cc: + +# Now order the visable header lines +unhdr_order * +hdr_order Date: From: To: Reply-To: In-Reply-To: CC: Subject: Organization: + +# Macros for SPAM management +macro index S "s=SPAM" +macro pager S "s=SPAM" +macro index H "s=HAM" +macro pager H "s=HAM" + +# Fetch the spam rating as defined by SpamAssassin for spam messages +spam "X-Spam-Status: Yes, score=([0-9]+.[0-9]*)" "Spam [%1]" + +# The important bit there is %?H?%-11.11H&%D? which displays eleven characters +# of the spam rating if it is found, or failing that the date. The reason we +# display exactly eleven characters of the spam value is so that the columns +# line up correctly regardless of whether we display a date or a spam value. +set index_format="%Z %?H?%-11.11H&%-11.11{%b %d}? %-20.20L %s" + +color hdrdefault red black # Headers +color header brightmagenta black "^date:" +color header brightyellow black "^from:" +color header brightgreen black "^to:" +color header brightgreen black "^cc:" +color header brightcyan black "^subject:" + +color signature brightmagenta black +color attachment brightmagenta black +color error brightwhite red # Errors yell at you in red +color indicator brightyellow blue # Currently selected message +color index brightgreen black ~N # New messages +color normal green black # Plain text + +# Coloring quoted text - coloring the first 7 levels: +color quoted cyan black +color quoted1 yellow black +color quoted2 red black +color quoted3 green black +color quoted4 cyan black +color quoted5 yellow black +color quoted6 red black +color quoted7 green black + +# Highlights inside the body of a message. + +# URLs +color body brightblue black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" +color body brightblue black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*" +mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" + +# email addresses +color body brightblue black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" +mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"