dotfiles/.muttrc

63 lines
2.6 KiB
Plaintext
Raw Permalink Normal View History

2010-04-05 14:58:19 +00:00
## general settings
set editor = "vim"
2010-04-05 13:55:57 +00:00
set sort = reverse-threads
set use_envelope_from = yes
set use_from = yes
2010-04-05 14:58:19 +00:00
set ispell = "aspell --mode=email --check"
set index_format = "%4C %Z [%{%c}] %-30.30L (%?l?%4l&%4c?) %s" # better date format in the index
2010-04-05 13:55:57 +00:00
set header_cache = ~/.mutt.cache/
set message_cachedir = ~/.mutt.cache/
2010-04-05 15:57:43 +00:00
set include = yes
set mark_old = no
set narrow_tree = yes
set smart_wrap = yes
set fast_reply = yes
2010-04-06 13:07:20 +00:00
set strict_threads = yes # fix threading.
2010-04-05 15:57:43 +00:00
2010-04-05 14:58:19 +00:00
## folders
2010-04-05 13:55:57 +00:00
set record = ~/Maildir/.Sent
set mbox = ~/Maildir/.Archive
set postponed = ~/Maildir/.Drafts
set spoolfile = ~/Maildir
set folder = $HOME/Maildir
2010-04-08 18:57:39 +00:00
set trash = ~/Maildir/.Trash # move mail to trash instad of deleting
2010-04-05 13:55:57 +00:00
2010-04-05 14:58:19 +00:00
## 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
2010-04-05 13:55:57 +00:00
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:"
2010-04-14 21:16:42 +00:00
color status brightwhite green # color the status bar
2010-04-05 18:46:19 +00:00
color body brightcyan default "(http|https|ftp|mailto|telnet|ssh)://[^ ]+"
2010-04-21 20:31:22 +00:00
color header brightgreen black "Received-SPF: Pass"
color header brightgreen black "Authentication-Results:.*dkim=pass"
2010-04-05 13:55:57 +00:00
2010-04-05 14:58:19 +00:00
## folders
2010-04-05 13:55:57 +00:00
set record = ~/Maildir/.Sent
set mbox = ~/Maildir/.Archive
set postponed = ~/Maildir/.Drafts
set spoolfile = ~/Maildir
set folder = $HOME/Maildir
2010-04-05 14:58:19 +00:00
## headers
2010-04-08 20:03:51 +00:00
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
2010-04-05 13:55:57 +00:00
# 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
2010-04-08 18:57:39 +00:00
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
2010-04-05 14:58:19 +00:00
## personal settings
source ~/.muttrc.personal # settings such as name and email address
source ~/.muttrc.aliases # my address book