## From http://www.gentoo.org/doc/en/guide-to-mutt.xml#doc_chap5 set use_from=yes set envelope_from=yes ## From http://wiki.mutt.org/?MuttGuide/UseIMAP # Base hook to reset account variables to known state before activating new ones account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set ssl_starttls=yes' account-hook imaps://dev.gentoo.org 'set imap_user=USERNAME imap_pass=PASSWORD' folder-hook imaps://dev.gentoo.org 'set folder=imaps://dev.gentoo.org/INBOX record=+Sent from="Donnie Berkholz "' account-hook imap://imap.science.oregonstate.edu 'set imap_user=USERNAME imap_pass=PASSWORD' folder-hook imap://imap.science.oregonstate.edu 'set folder=imap://imap.science.oregonstate.edu/INBOX record=imap://imap.science.oregonstate.edu/Sent from="Donnie Berkholz "' account-hook imaps://imap.gmail.com 'set imap_user=USERNAME imap_pass=PASSWORD' folder-hook imaps://imap.gmail.com 'set folder=imaps://imap.gmail.com/INBOX record=+Sent\ Mail from="Donnie Berkholz "' # Automatically log in to this mailbox at startup set spoolfile="imaps://dev.gentoo.org/INBOX" # Define the = shortcut, and the entry point for the folder browser (c?) set folder="imaps://dev.gentoo.org/INBOX" set imap_user="USERNAME" set imap_pass="PASSWORD" #set record="=Sent" set postponed="=Drafts" # activate TLS if available on the server set ssl_starttls=yes # always use SSL when connecting to a server #set ssl_force_tls=yes unset imap_passive # Don't wait to enter mailbox manually # Automatically poll subscribed mailboxes for new mail (new in 1.5.11) set imap_check_subscribed # Reduce polling frequency to a sane level set mail_check=60 # And poll the current mailbox more often (not needed with IDLE in post 1.5.11) #set timeout=10 # keep a cache of headers for faster loading (1.5.9+?) set header_cache=~/.hcache # Display download progress every 5K set net_inc=5 ## From http://lunar-linux.org/~tchan/mutt/ -- sidebar # set up the sidebar, default visible set sidebar_width=35 set sidebar_visible=yes # which mailboxes to list in the sidebar #mailboxes =inbox =ml # color of folders with new mail color sidebar_new yellow default # ctrl-n, ctrl-p to select next, prev folder # ctrl-o to open selected folder bind index \CP sidebar-prev bind index \CN sidebar-next bind index \CO sidebar-open bind pager \CP sidebar-prev bind pager \CN sidebar-next bind pager \CO sidebar-open # I don't need these. just for documentation purposes. See below. bind index \ep sidebar-scroll-up bind index \en sidebar-scroll-down bind pager \ep sidebar-scroll-up bind pager \en sidebar-scroll-down # b toggles sidebar visibility macro index b 'toggle sidebar_visible' macro pager b 'toggle sidebar_visible' # Remap bounce-message function to "B" bind index B bounce-message ## From http://www.gentoo.org/doc/en/guide-to-mutt.xml set sort=threads #sort by message threads in index set duplicate_threads=yes ## http://cedricduval.free.fr/mutt/patches/ set include=yes #quote msg in reply set fast_reply=yes #no prompting on reply set strict_threads=no # From http://wiki.mutt.org/?MuttFaq/Thread set sort_re=no bind pager h display-toggle-weed #toggle headers with h key # Palette for use with the Linux console. Black background. color hdrdefault brightwhite black color quoted blue black color signature blue black color attachment red black color message brightred black color error brightred black color indicator black red color status brightgreen blue color tree white black color normal white black color markers red black color search white black color tilde brightmagenta black color index blue black ~F color index red black "~N|~O" color body brightwhite black ' \*+[^*]+\*+' color body brightwhite black ' _+[^_]+_+' ##your Mutt has to have some colors ##these are for four levels of quoted text ##they override the system settings in /etc/mutt/Muttrc color quoted green default color quoted1 magenta default color quoted2 yellow default color quoted3 red default #color signature cyan cyan set status_format=" %r %b %f %n Del %d Msgs %m %l %> (%P)" set pager_format="%-10.10i %[!%a %b %d %R]" set date_format="!%H:%M %a %d %b " set index_format="%Z %[%b%d] %-15.15F %s" set folder_format="%2C %t %8s %d %N %f" ## From http://www.oreillynet.com/sysadmin/blog/2005/10/insert_dog_metaphor_here_using.html set copy=yes # Whether to save sent messages #set record=+Sent # Where to save sent messages ignore * # this means "ignore all headers by default" # I do want to see these fields, though unignore date from subject to cc set reverse_name # Reply with the address used in the TO/CC header set reverse_realname=yes # Reply with the name used in FROM set reverse_alias=yes ## Custom set editor="nano" set from="dberkholz@gentoo.org" set realname="Donnie Berkholz" bind index next-unread-mailbox bind pager next-unread-mailbox ## From abook README set query_command="abook --mutt-query '%s'" macro index,pager A |'abook --add-email'\n ## From mutt manual # cache message bodies set message_cachedir=~/.mcache ## From http://wiki.mutt.org/?MuttFaq/Attachment # this helps with multipart messages alternative_order text/plain text/html #if there is only html dump that auto_view text/html source ~/.muttrc.d/gpg.rc