Files
linux-configs/.muttrc
Tom Swartz 1453dc38df Enable autoview of HTML messages with mutt
Enables reasonable rendering of html messages within mutt.

Tested-on: raspi <17 Apr 2014>
2014-04-17 11:02:21 -04:00

59 lines
1.8 KiB
Plaintext

set imap_user="tom"
set imap_pass="password"
set from="tom@pennmanor.net"
set hostname="pennmanor.net"
set sendmail="/usr/bin/msmtp"
set ssl_starttls=yes
set ssl_force_tls=yes
set header_cache="/home/tom/Mail/headercache"
set mailcap_path="~/.mutt/mailcap"
unset confirmappend
set sig_on_top
# view html automatically
auto_view text/html
# save html for last
alternative_order text/plain text/enriched text/html
macro index,pager ga "<save-message>=Archives/2014<enter>" "Archive message to 2014 Archive folder"
macro index,pager gt "<save-message>=Filtered/Tech Department<enter>" "Archive message to Tech Archive folder"
macro index,pager gg "<group-reply>" "Group Reply- to all recipients"
bind index "\Ca" 'imap-fetch-mail'
set folder={mail.pennmanor.net}
set spoolfile={mail.pennmanor.net}INBOX
fcc-hook ~A {mail.pennmanor.net}"Sent Items"
set copy=yes
set mail_check=30
mailboxes =INBOX ="Filtered/Git Messages" ="Filtered/Voicemails"
set query_command = "~/ldap.pl '%s'"
bind editor "\t" complete-query
set forward_quote
set include
set beep_new
set indent_str="> "
set check_new=yes
set sort='threads'
set sort_aux='reverse-last-date-received'
set help=no
set fast_reply
set editor="vim -c 'set spell spelllang=en_us'"
set recall=ask-no
unset imap_passive
unset suspend
unset read_only
color status brightwhite black
color tree brightred default
color markers blue default
color indicator brightyellow blue
# Highlight web addresses
color body brightgreen default "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
# Highlight email addresses
color body brightgreen default "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body brightgreen default "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"