dotfiles/muttrc

74 lines
3.2 KiB
Plaintext
Raw 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-05 14:58:19 +00:00
color status brightwhite red # color the status bar
2010-04-05 18:46:19 +00:00
color body brightcyan default "(http|https|ftp|mailto|telnet|ssh)://[^ ]+"
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-05 13:55:57 +00:00
ignore *
unignore From: To: Cc: Bcc: Reply-To: Mail-Followup-To: Organization: User-Agent: X-Mailer: Subject: Date: X-Spam-Status: X-Bogosity: X-Spam-Level: X-Virus-Scan: X-Greylist: Sender: List-Id: Return-Path: Authentication-Results: Received-SPF: X-Virus-Scanned: X-Virus-Status: X-Priority:
hdr_order From: Reply-To: Mail-Followup-To: To: Cc: Bcc: Subject: Date: Organization: User-Agent: X-Mailer: X-Spam-Status: X-Bogosity: X-Spam-Level: X-Virus-Scan: X-Greylist: Sender: List-Id: Return-Path: Authentication-Results: Received-SPF: X-Virus-Scanned: X-Virus-Status: X-Priority:
2010-04-05 14:58:19 +00:00
## key bindings
# macro index G "!echo 'fetching... ' ; getmail 2>&1 > /dev/null &\r" "Check for new mail via fetchmail"
# macro pager G "!echo 'fetching... ' ; getmail 2>&1 > /dev/null &\r" "Check for new mail via fetchmail"
# macro browser G "!echo 'fetching... ' ; getmail 2>&1 > /dev/null &\r" "Check for new mail via fetchmail"
# set wait_key = no
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
## spamassassin stuff
2010-04-05 13:55:57 +00:00
# spamassassin report and classify as spam
2010-04-05 14:58:19 +00:00
# macro index S "|/usr/bin/spamassassin -r"
2010-04-05 13:55:57 +00:00
# spamassassin classify as ham
2010-04-05 14:58:19 +00:00
# macro index H "|/usr/bin/sa-learn --ham --no-rebuild --single"
2010-04-05 13:55:57 +00:00
# rebuild the spamassassin bayes filter db
2010-04-05 14:58:19 +00:00
# macro index R "!/usr/bin/sa-learn --rebuild"
2010-04-05 13:55:57 +00:00
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