# # Sample .muttrc file. # # To be used in the Department of Statistics, Rice University # # Notice: # # 1. Read carefully the comment of each line. # 2. User dependent settings are marked by # # #USER# # # This file can not be used directly without changing # the #USER# lines. # # Author: # bpeng@stat.rice.edu # # Revision: # $Revision: 1.2 $ # # Last Updated: # $Date: 2002/08/04 15:13:14 $ # # $folder should be set _before_ any other path vars # where `+' or `=' is used because paths are expanded when parsed # #USER#set folder=$HOME/Mail # where I keep my mailboxes set spoolfile=/var/mail/$user # #set imap_user=... # Can also use in imap mode. #set iamp_passwd=...... set abort_unmodified=yes # automatically abort replies if I don't # change the message #USER#set alias_file=~/.alias.personal # where I keep my aliase #USER#source ~/.mutt.alias.personal # read in the alias file(s) #source ~/.mutt.alias.department set alternates="\^(($user@rice.edu)|($user@stat\.rice\.edu))$" #set allow_8bit # never do Q-P encoding on legal 8-bit chars #set arrow_cursor # use -> instead of hiliting the whole line #set ascii_chars # use ASCII instead of ACS chars for threads #set askbcc #set askcc set attribution="On %d, %n wrote:" # how to attribute replies set autoedit # go to the editor right away when composing set auto_tag # always operate on tagged messages set charset="iso-8859-1" # character set for your terminal set noconfirmappend # don't ask me if i want to append to mailboxes set confirmcreate # prompt when creating new files set copy=yes # always save a copy of outgoing messages set delete=yes # purge deleted messages without asking #set display_filter=sime_filter # Compress long To or CC lists. set edit_headers # let me edit the message header when composing # set editor="vi" # editor to use when composing messages #USER#set editor="vim +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s" set fast_reply # skip initial prompts when replying #set fcc_attach # keep attachments in copies of sent messages? unset fcc_attach set fcc_clear # Store local copies of messages in the clear. #set force_name # fcc by recipient, create if mailbox doesn't exist #set forward_decode # weed and MIME decode forwaded messages #set forward_format="[%a: %s]" # subject to use when forwarding messages set forward_quote # quote the header and body of forward msgs #set hdr_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s" #set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index #set hdrs # include `my_hdr' lines in outgoing messages #set header # include message header when replying #set help # show the help lines set history=50 # number of lines of history to remember set hostname="stat.rice.edu" # my DNS domain set include # always include messages when replying set indent_string="> " # how to quote replied text #set locale="C" # locale to use for printing time #set mailcap_path=~/.mailcap # ~/.mailcap is the default #set mark_old set nomark_old # i don't care about whether a message is old set mail_check=10 # how often to poll for new mail, # set to 10sec #set mailcap_sanitize #set mask="^[^.]" # The default is :!^\.[^.]". I ignore .. too. #set mbox=+mbox # where to store read messages #set menu_scroll # no implicit next-page/prev-page #set metoo # remove my address when replying #set mime_forward # use message/rfc822 type to forward messages set move=no # don't move messages #set pager=view # some people prefer an external pager #set pager_context=3 # no. of lines of context to give when scrolling #set pager_format="-%S- %-20.20f %s" # format of the pager status bar set pager_index_lines=6 # how many index lines to show in the pager #set pager_stop # don't move to the next message on next-page #set pgp_strict_enc # use Q-P encoding when needed for PGP set postpone=no # Usually, do not postpone message #set postponed=+Draft # mailbox to store postponed messages in #set post_indent_string='---end quoted text---' set print=ask-yes # ask me if I really want to print messages set print_command="enscript -Email -2 -r -G" # Two columns, landscape, fancy header. #set print_command="lpr " # Two columns, landscape, fancy header. set print_split=yes # Invoke enscript once per message #set noprompt_after # ask me for a command after the external pager exits #set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text set read_inc=25 # show progress when reading a mailbox #USER#set realname="Your Name" #set recall # prompt to recall postponed messages set record="+Sent Items" # default location to save outgoing mail set reply_to # always use reply-to if present unset reply_self # Do not include self in reply set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject: #set resolve # move to the next message when an action is performed #set reverse_alias # attempt to look up my names for people #set reverse_name # use my address as it appears in the message # i am replying to #set nosave_empty # remove files when no messages are left #set save_name # save outgoing messages by recipient, if the #set sendmail="/usr/lib/sendmail -oi -oem" # how to deliver mail #set shell="/usr/local/bin/tcsh" # program to use for shell escapes #USER#set signature="~/.signature" # file which contains my signature # I subscribe to a lot of mailing lists, so this is _very_ useful. This # groups messages on the same subject to make it easier to follow a # discussion. Mutt will draw a nice tree showing how the discussion flows. set sort=threads # primary sorting method set sort_aux=reverse-date-received # how to sort subthreads #set sort_aux=last-date # date of the last message in thread #set sort_browser=reverse-date # how to sort files in the dir browser #set spoolfile='/var/mail/bpeng' # where my new mail is located #set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %l]---(%s)-%>-(%P)---" #set status_on_top # some people prefer the status bar on top #set strict_threads # don't thread by subject #set tilde # virtual lines to pad blank lines in the pager #set timeout=0 # timeout for prompt in the index menu #set tmpdir=~/tmp # where to store temp files #set to_chars=" +TCF" #set trash="+Trash" # put deleted mail into trash. Need a patch #set use_8bitmime # enable the -B8BITMIME sendmail flag #set nouse_domain # don't qualify local addresses with $domain #set use_from # always generate the `From:' header field #set pgp_verify_sig=no # don't automatically verify message signatures #set nowait_key # prompt when a pipe returns normal status set write_inc=25 # show progress while writing mailboxes # only enable the following IFF you have sendmail 8.8.x or you will not # be able to send mail!!! #set dsn_notify='failure,delay' # when to return an error message #set dsn_return=hdrs # what to return in the error message # pop3 mailboxes #set pop_host="pop://pop.server" #set pop_delete=yes #set pop_user=... #set pop_pass=... #set pop_checkinterval=60 # 60sec # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Header fields I don't normally want to see # ignore * # this means "ignore all lines by default" # I do want to see these fields, though! unignore from: subject to cc date # unignore from: subject to cc mail-followup-to \ # date x-mailer x-url # this shows how nicely wrap long lines # # Color definitions. # # This color scheme is best displayed in dark (black) background. # # Mono definition mono normal none mono indicator reverse mono tree none mono status reverse mono error bold mono message none mono quoted bold mono signature none mono attachment underline mono search reverse mono tilde none mono markers bold mono hdrdefault none mono bold bold mono underline underline mono header bold "^(from|subject|reply-to):" mono body bold "(^| )\\*[-a-z0-9„÷’ž*]+\\*[,.?]?[ \n]" mono body underline "[-a-z_0-9.+]+@[-a-z_0-9.]+" # email mono body underline "((ftp|http|file|https)://|news:)[^ >)\"\t]+" # URLs mono index bold ~N mono index bold ~F mono index bold ~T mono index bold ~D # color definition color normal white default # normal text #color indicator yellow default # actual message color tree magenta default # thread arrows # color status brightblue default # status line color error brightred default # errors color message magenta default # info messages color signature magenta default # signature color attachment brightyellow blue # MIME attachments color search brightred default # search matches color tilde brightmagenta default # ~ at bottom of msg color markers red default # + at beginning of wrapped lines # color hdrdefault cyan default # default header lines color header brightyellow default ^From # From color header brightyellow default ^Subject # Subject color bold red default # hiliting bold patterns in body color underline green default # hiliting underlined patterns in body color quoted magenta default # quoted text color quoted1 cyan default color quoted2 magenta default color quoted3 cyan default color quoted4 magenta default color quoted5 cyan default color quoted6 magenta default color quoted7 cyan default color quoted8 magenta default color quoted9 cyan default color body yellow default "((ftp|http|file|https)://|news:)[^ >)\"\t]+" color body yellow default "[-a-z_0-9.+]+@[-a-z_0-9.]+" color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" color body green default "(^| )_[-a-z0-9_]+_[,.?]?[\n]" color body red default "(^| )\\*[-a-z0-9*]+\\*[,.?]?[ \n]" color body green default "(^| )_[-a-z0-9_]+_[,.?]?[ \n]" color index cyan default ~F # Flagged color index red default ~N # New color index magenta default ~T # Tagged color index cyan default ~D # Deleted # Key bindings # Personal settings # You can put you own bind settings here. Syntax can be seen from # .muttrc.bind # #source ~/.muttrc.bind # Pine settings # source ~/.muttrc.pine # # Specify default filename when saving messages # # save-hook [!] # # is provided as default when saving messages from #save-hook omeone +RD.Someone # # Change settings based upon message recipient # # send-hook [!] # # is executed when sending mail to an address matching #send-hook mutt- 'set signature=~/.sigmutt; my_hdr From: Mutt User ' # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify where to save composed messages # # fcc-hook [!] # # is recipient(s), is where to save a copy #fcc-hook joe +joe #fcc-hook bob +bob # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Change settings based on mailbox # # folder-hook [!] # # is executed when opening a mailbox matching #folder-hook \! 'set hdr_format="%4C %Z %{%b %d} %-15.15L (%4l) %s" #folder-hook "=Sent Items" 'set sort=date-sent; set hdr_format="%4C %Z %{%b %d} %-15.15t (%4l) %s"' folder-hook "=Sent Items" 'set sort=date-sent' #folder-hook mutt 'set hdr_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"' #folder-hook =mutt my_hdr Revolution: \#9 # real comment # Ignore annoying MAIL SYSTEM INTERNAL MESSAGES folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n=\"" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Mailboxes to watch for new mail # # mailboxes [ ... ] # # Watch new email for all folders mailboxes ! # Inbox #mailboxes `echo $HOME/Mail/IN.*` # Inboxes #mailboxes `echo $HOME/Mail/ML.*` # Mailing Lists #mailboxes `echo $HOME/Mail/HD.*` # Helpdesk # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify the order of the headers to appear when displaying a message # # hdr_order [ ... ] # unhdr_order * # forget the previous settings hdr_order date from subject to cc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Identify mailing lists I subscribe to # # lists [ ... ] #lists lyx-users ESS-help #subscribe mutt-users lyx-users ESS-help # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Automatically use entries from ~/.mailcap to view these MIME types # # auto_view [ ... ] #auto_view application/x-gzip auto_view text/html # uses lynx auto_view image/jpg auto_view image/* auto_view application/PostScript auto_view application/pdf