73 lines
3.0 KiB
Plaintext
73 lines
3.0 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
|
|
|
|
## 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 red # color the status bar
|
|
color body brightcyan default "(http|https|ftp|mailto|telnet|ssh)://[^ ]+"
|
|
|
|
## folders
|
|
set record = ~/Maildir/.Sent
|
|
set mbox = ~/Maildir/.Archive
|
|
set postponed = ~/Maildir/.Drafts
|
|
set spoolfile = ~/Maildir
|
|
set folder = $HOME/Maildir
|
|
|
|
## headers
|
|
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:
|
|
|
|
## 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
|
|
|
|
# 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"
|
|
folder-hook ^.Lists "set sort = reverse-threads"
|
|
folder-hook ^.Sent "set sort = reverse-date-sent"
|
|
|
|
## spamassassin stuff
|
|
# spamassassin report and classify as spam
|
|
# macro index S "|/usr/bin/spamassassin -r"
|
|
# spamassassin classify as ham
|
|
# macro index H "|/usr/bin/sa-learn --ham --no-rebuild --single"
|
|
# rebuild the spamassassin bayes filter db
|
|
# macro index R "!/usr/bin/sa-learn --rebuild"
|
|
|
|
## personal settings
|
|
source ~/.muttrc.personal # settings such as name and email address
|
|
source ~/.muttrc.aliases # my address book
|