# This is my .muttrc file # # Environment: # All my mail is stored in MBox files under ~/../a/a/e.r/mail. # I use the spoolfile as an inbox and move mails to various folders # during the day. The spoolfile/inbox remains mostly empty. # # Working on WinXP with cygwin bash shell. # # Author: # http://the-brown-dragon.com/ ############################################################################## # Mail Folders set folder=~/../a/e.r/mail # Root mail folder set spoolfile=~/../a/e.r/mail/=inbox #set mbox=~/../a/e.r/mail/=read # Explicit inbox for read messages set record=~/../a/e.r/mail/sent # Sent mail set postponed=~/../a/e.r/mail/drafts # Drafs/Postponed mail # Aliases set alias_file=~/../l.p/rc/aliases.mutt # Address aliases go here source ~/../l.p/rc/aliases.mutt # Needs to be explicitly sourced # Display Settings # Display Settings :: Message Header # Don't show the whole mess of headers by default # Only show some useful headers. (Use 'h' to toggle full header view). ignore * unignore date from to cc subject organization resent-from reply-to # Display Settings :: Color Scheme color index brightcyan default ~p # Messages sent to me color index cyan default ~P # Message I send color index brightgreen default ~N # New Messages color index brightwhite default ~O # Old (Unread) messages color attachment yellow default # Attachments color search brightred default # Search results color quoted green default # Quoted text color quoted1 yellow default # Next level of Quoted text color body cyan default "((ftp|http|https)://|news:)[^ >)\"\t]+" # URLs color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+" # emails color signature brightcyan default # Message signature color status black cyan # Status bar color indicator brightyellow white # Indicator bar # Color for "sent mail" should be slightly different # as everything in this folder will match ~P (sent by me). folder-hook sent color index brightcyan default . # Display Settings :: Format of Display List set index_format="%4C %Z %{%b %d} %-15.15L %?M?(#%03M)&? (%4c) %s" set folder_format="%2C %t %N %8s %d %f" # Sorting for archive folders is better when it's reverse-date... folder-hook . set sort=reverse-date folder-hook '!' set sort=date # ...while spool should be ordered by date folder-hook '_gtd*' set sort=date # and so should _gtd buckets # Composing set edit_headers=yes # Allow me to edit headers. set editor="vim +/^$ ++1" # Use Vim to edit and start editing at first blank # Forwarding mails (mutt is bad at this) set mime_forward=ask-yes # Forward as mime. set mime_forward_rest=yes # NB: mutt does not handle inlining the first mime # part and attaching the rest so this is the # best option (or use bounce). set forward_format="Fw: %s" # Defaulting forward format is brain dead # Moving deleted messages to trash folder-hook . 'macro index d "=trash"' folder-hook . 'macro pager d "=trash"' folder-hook =trash 'macro index d ' folder-hook =trash 'macro pager d ' # Other settings set noabort_nosubject=no # Allow entry of messages with no subject set ascii_chars=yes # Use ascii for threaded views set bounce_delivered=no # Don't modify headers of bounced messages set confirmappend=yes # Ask before appending to a mailbox set copy=yes # Copy sent mail "$record" mailbox set delete=yes # Really delete when exiting a mailbox set fast_reply=yes # Skip a few prompts while replying/forwarding set header=yes # Include original header in reply set help=no # Nice clean view without help bar set hidden_host=yes # Don't add hostname to addresses set include=yes # Include original message in reply set markers=no # Don't show '+' for wrapped lines set mask = !(^\\.[^.]|\\.bz2) # Ignore hidden and archives in mail folder view set metoo=no # Remove me from list of addresses when replying set move=no # Don't move read messages from spool to inbox set pager_index_lines=1 # Show where I am in the index while reading set pager_stop=yes # Don't move to next message on space bar set resolve=yes # Move cursor to next item automatically set reverse_alias=yes # Display alias instead of email when possible set reverse_name=yes # Build the From: line from the received address set thorough_search=no # Don't bother to decode messages before searching set tilde=yes # Pad blank lines with a tilde (~) set user_agent=no # Don't add a "User-Agent" header to mails # Custom keybindings # In pager view - I like to scroll around instead of jumping # to other messages (which is frankly jumpy and unpleasant). bind pager next-line bind pager previous-line bind pager j next-line bind pager k previous-line # Personal settings # Personal settings :: Scoring score "~C myboss\\@ | ~L myboss\\@" 9 # My boss gets a higher score score ~p 3 # Mails to me get a higher score color index brightyellow default "~U ~n 5-9" # Display coloring on score color index brightred default "~U ~n 10-" # (only for unread messages) # Personal settings :: Servers #set alternates=the.brown.dragon.blog@gmail.com|some.other@address.com set hostname="the-brown-dragon.com" set realname="Charles Lobo" set from="Brown " set use_from=yes set sendmail="/usr/sbin/ssmtp -auusername -appassword" set pop_host="pop://username:password@pop.the-brown-dragon.com" set pop_delete=yes # Delete from server after downloading # Personal settings :: MBOX Mailboxes under ~/../a/e.r/mail/drop/ mailboxes `find ~/../a/e.r/mail/drop -depth -type f -printf "%p "` # Personal settings :: Address book set query_command="muttaddress.sh %s" # Pesonal settings :: save hooks fcc-save-hook somefriend =somefriend