# Will's muttrc source ~/.mutt/.muttgpgrc ##### Account Setup Information set from = "you@you.com" set realname = "Your Name" set imap_user = "yourimapusername" set imap_pass = "secret" set folder = "imaps://mail.yourimapserver.com:993" set spoolfile = "+INBOX" set postponed = "+INBOX.Drafts" set record="+INBOX.Sent Items" set smtp_url="smtps://yourusername@mail.yoursmtpserver.com" set smtp_pass = "secret" set envelope_from=yes set trash="+INBOX.Trash" ##### Identities alias YourWorkAddress Your Name, MD alias YourPersonalAddress Your Name # Now, when you hit v while composing, you can select your email address you're sending from. Make as many aliases as you want. macro compose v "^Uidentity_" "Select from" ##### Lists subscribe offlineimap-project@lists.alioth.debian.org mutt-users@mutt.org ##### Mail setup set copy=yes set header_cache = ~/.mutt/cache/headers set message_cachedir = ~/.mutt/cache/bodies set certificate_file = ~/.mutt/certificates set move = no set timeout=15 set mail_check=2 set imap_keepalive = 900 set sort = 'threads' set imap_check_subscribed set hidden_host=yes auto_view text/html application/pdf application/x-pdf application/msword application/x-msword application/vnd.ms-powerpoint application/vnd.ms-excel image/* application/x-zip-compressed application/zip application/x-zip application/gzip alternative_order text/plain text/html text unset wait_key set implicit_autoview = yes ##### Display Options set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s" set pager_index_lines = 15 set pager_context=2 set query_command="/usr/local/bin/lbdbq '%s'" macro index \cu |urlview\n macro pager \cu |urlview\n # Composing set edit_headers=yes # Allow me to edit headers. #ignore *; #unignore from date subject to cc bcc; #unhdr_order *; #hdr_order From Date: From: To: Cc: Bcc: Subject:; #set editor="mvim --remote-tab-wait" set editor="vim +/^$ ++0" # Use Vim to edit and start editing at first blank #set editor="mvim --remote-tab-wait" set fast_reply=yes set delete=yes set confirmappend=yes set include=yes ##### Color Options color indicator black cyan color status black white ## identifies website color body red default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ color normal black default color attachment brightyellow default color hdrdefault blue default color markers brightred default color quoted green default color signature cyan default color tilde blue default color tree red default color index red default "~F" color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ color index brightyellow default "~N" color quoted1 brightblue default color quoted2 red default color quoted3 yellow default color quoted4 cyan default color quoted5 blue default color quoted6 magenta black color quoted7 red black color quoted8 yellow black color quoted9 cyan black ##### Sidebar Setup # set up the sidebar, default not visible set sidebar_width=30 set sidebar_visible=no set sidebar_delim='|' #set sidebar_sort=yes # which mailboxes to list in the sidebar mailboxes =INBOX ="INBOX.Sent Items" ="INBOX.Trash" # color of folders with new mail color sidebar_new yellow default ## ctrl-b to open selected folder bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CB sidebar-open bind pager \CP sidebar-prev bind pager \CN sidebar-next bind pager \cB sidebar-open # b toggles sidebar visibility macro index b 'toggle sidebar_visible' macro pager b 'toggle sidebar_visible' ##### Macros # Rebind the Address Autocomplete to something sane macro editor ";" \Ct # Easy Save # Just tap capital S to save any selected attachment to the desktop macro attach S '~/Desktop/y' # reload configuration macro index \cr ":source ~/.muttrc\n" "Reload configuration" # History in editor menu bind editor history-down bind editor history-up bind index U "undelete-message" bind pager U "undelete-message" bind index u "toggle-new" bind pager u "mark-as-new" #Check all mailboxes bind browser $ "check-new" bind index G "sync-mailbox" bind pager G "sync-mailbox" macro pager "S" "/usr/local/bin/lbdb-fetchaddr" macro index "S" "/usr/local/bin/lbdb-fetchaddr" # Use for next search match bind pager "search-next" bind index "search-next" # mairix search macro index "\es" "~/Documents/scripts/msearch.sh " "Run a Mairix search" macro index "\eS" "=search\n" "Switch to Mairix search results" macro pager "\es" "~/Documents/scripts/msearch.sh " "Run a Mairix search" macro pager "\eS" "=search\n" "Switch to Mairix search results" bind pager "z" "next-page" bind pager "Z" "previous-page"