dotfiles/.muttrc
2010-05-06 11:10:17 -05:00

63 lines
2.6 KiB
Plaintext

## general settings
set editor = "vim"
set sort = reverse-threads
set use_envelope_from = yes
set use_from = yes
set ispell = "aspell --mode=email --check"
set index_format = "%4C %Z [%{%c}] %-30.30L (%?l?%4l&%4c?) %s" # better date format in the index
set header_cache = ~/.mutt.cache/
set message_cachedir = ~/.mutt.cache/
set include = yes
set mark_old = no
set narrow_tree = yes
set smart_wrap = yes
set fast_reply = yes
set strict_threads = yes # fix threading.
## folders
set record = ~/Maildir/.Sent
set mbox = ~/Maildir/.Archive
set postponed = ~/Maildir/.Drafts
set spoolfile = ~/Maildir
set folder = $HOME/Maildir
set trash = ~/Maildir/.Trash # move mail to trash instad of deleting
## pretty colors
color index brightyellow black ~N # highlight new messages
color index red black ~F # highlight flagged messages
color index brightgreen black "^To Do:" # highlight To Do items in the index
color header brightgreen black "X-Spam-Status: NO"
color header red black "X-Spam-Status: YES"
color header brightwhite black "X-Spam-Level:"
color header red black "X-Virus-Scan:.*FOUND"
color header brightwhite black "X-Greylist:"
color status brightwhite green # color the status bar
color body brightcyan default "(http|https|ftp|mailto|telnet|ssh)://[^ ]+"
color header brightgreen black "Received-SPF: Pass"
color header brightgreen black "Authentication-Results:.*dkim=pass"
## folders
set record = ~/Maildir/.Sent
set mbox = ~/Maildir/.Archive
set postponed = ~/Maildir/.Drafts
set spoolfile = ~/Maildir
set folder = $HOME/Maildir
## headers
ignore * # hide all headers
unhdr_order * # override hdr_order set in system Muttrc.
unignore return-path from resent-from sender list-id reply-to to resent-to cc bcc date resent-date organization user-agent x-priority message-id resent-message-id authentication-results received-spf x-greylist subject
hdr_order return-path from resent-from sender list-id reply-to to resent-to cc bcc date resent-date organization user-agent x-priority message-id resent-message-id authentication-results received-spf x-greylist subject
# mark all unread mail as read.
macro index <Esc>R "<tag-pattern>~U<enter><tag-prefix><clear-flag>N<tag-prefix><clear-flag>*"
# folder hooks
folder-hook . "set sort = reverse-date" # default sort
folder-hook ^.Lists "set sort = reverse-threads" # sort lists by threads
folder-hook ^.Sent "set sort = reverse-date-sent" # sort sent mail
## personal settings
source ~/.muttrc.personal # settings such as name and email address
source ~/.muttrc.aliases # my address book