Reply-To: see attached, regarding what I just sent, i did see that when I invoke "mutt <email address>" it goes to fcc sent, however if I invoke mail inside of mutt, it will want to go elsewhere...I'm sure this is due to a .muttrc file that wasn't mine. Got it from the document maintainer.
## ======================================================================== ## File: $HOME/.muttrc ## Purpose: Setup file for the Mail program "Mutt" ## I am using mutt-1.1.1i now ## which lists 195 configuration variables. ## Last update: Wed Nov 24 12:00:00 MET 1999 ## Author: Sven Guckes [EMAIL PROTECTED] ## Availability: This file is available as ## <URL:http://www.math.fu-berlin.de/~guckes/mutt/muttrc> ## ======================================================================== ## If you read this then please let me know how you like it! ## Send me an email at [EMAIL PROTECTED] - thanks! :-) ## ======================================================================== ## Additional Info: ## Sven's pages: http://www.math.fu-berlin.de/~guckes/mutt/ ## Current manual: http://www.math.fu-berlin.de/~guckes/mutt/doc/manual.txt ## News/Usenet: comp.mail.mutt (since 980401) ## ======================================================================== ## This is new - and you should know about it: set ignore_list_reply_to # ignore the "Reply-To" lines # which point back to the mailing list - YES! ## FAQ: Startup mutt with collapsed threads: ## folder-hook . exec collapse-all ## TO show the number of messages in a collapsed thread ## you need to add "%M" to the "index_format", eg: ## set index_format="%4C %Z %2M %[!%y%m%d] %-17.17F (%3l) %s" ## NOTE: Please read the comment about "source" at the end of this file! ## ======================================================================== ## VARIABLES : ## See http://www.math.fu-berlin.de/~guckes/mutt/mutt.manual.html#variables ## All variables are described with their type, the version number of MUTT ## when they were introduced, and their default value. ## NOTE: The names of variables are defined in "init.c" (struct rc_option). ## The variables pgp and pgp_autosign are only available in mutt-pgp. ## ======================================================================== ## Valid variable types are: Boolean, Number, Format_String, String. ## Documentation: http://www.math.fu-berlin.de/~guckes/mutt/manual.html#types ## ======================================================================== ## ======================================================================== ## Options/Variable settings - ## the manual to mutt-1.1.1i lists 195 options. ## They are all listed here for your convenience. ## Please take a look at the various descriptions ## If you have suggestions for improvements ## then let us know on comp.mail.mutt! ## ======================================================================== ###### A # 6.3.1. abort_nosubject # 6.3.2. abort_unmodified # 6.3.3. alias_file The file to use for *saving* new aliases # It's a frequent misconception that this # file gets automatically sourced - wrong! set alias_file=~/.mutt.aliases # 6.3.4. alias_format # 6.3.5. allow_8bit unset: convert all 8bit data to 7bit before sending. set allow_8bit # 6.3.6. alternates list of the users' *personal* addresses # used by mutt to determine "personal" mail. # will be set in the file ~/.mutt.personal # 6.3.7. arrow_cursor # Affects the display of the folder index. # set: Show current mail with an arrow ("->") # *unset: Show current mail with an inverse bar. unset arrow_cursor # 6.3.8. ascii_chars set ascii_chars # set: use ASCII characters to build the thread tree # 6.3.9. askbcc # 6.3.10. askcc # 6.3.11. attach_format # 6.3.12. attach_sep # 6.3.13. attach_split # 6.3.14. attribution # 6.3.15. autoedit # 6.3.16. auto_tag # 6.3.17. beep # 6.3.18. beep_new # 6.3.19. charset # 6.3.20. check_new # 6.3.21. collapse_unread # 6.3.22. confirmappend # 6.3.23. confirmcreate # 6.3.24. copy # 6.3.25. date_format # 6.3.26. default_hook # 6.3.27. delete # 6.3.28. dsn_notify # 6.3.29. dsn_return # 6.3.30. edit_headers # 6.3.31. editor # 6.3.32. escape # 6.3.33. fast_reply # 6.3.34. fcc_attach # 6.3.35. folder # 6.3.36. folder_format # 6.3.37. followup_to # 6.3.38. force_name # 6.3.39. forward_decode # 6.3.40. forward_decrypt # 6.3.41. forward_format # 6.3.42. forward_quote # 6.3.43. forward_weed # 6.3.44. hdrs # 6.3.45. header # 6.3.46. help # 6.3.47. hidden_host # 6.3.48. history # 6.3.49. hostname # 6.3.50. ignore_list_reply_to # 6.3.51. imap_checkinterval # 6.3.52. imap_pass # 6.3.53. imap_user # 6.3.54. in_reply_to # 6.3.55. include # 6.3.56. indent_string # 6.3.57. index_format # 6.3.58. ispell # 6.3.59. locale # 6.3.60. mailcap_path # 6.3.61. mail_check # 6.3.62. mark_old # 6.3.63. markers # 6.3.64. mask # 6.3.65. mbox # 6.3.66. mbox_type # 6.3.67. metoo # 6.3.68. menu_scroll # 6.3.69. meta_key # 6.3.70. mh_purge # 6.3.71. mime_forward # 6.3.72. mime_forward_decode # 6.3.73. move # 6.3.74. message_format # 6.3.75. pager # 6.3.76. pager_context # 6.3.77. pager_format # 6.3.78. pager_index_lines # 6.3.79. pager_stop # 6.3.80. pgp_autoencrypt # 6.3.81. pgp_autosign # 6.3.82. pgp_default_version # 6.3.83. pgp_encryptself # 6.3.84. pgp_gpg # 6.3.85. pgp_key_version # 6.3.86. pgp_long_ids # 6.3.87. pgp_receive_version # 6.3.88. pgp_replyencrypt # 6.3.89. pgp_replysign # 6.3.90. pgp_send_version # 6.3.91. pgp_sign_as # 6.3.92. pgp_sign_micalg # 6.3.93. pgp_strict_enc # 6.3.94. pgp_timeout # 6.3.95. pgp_v2 # 6.3.96. pgp_v2_language # 6.3.97. pgp_v2_pubring # 6.3.98. pgp_v2_secring # 6.3.99. pgp_v5 # 6.3.100. pgp_v5_language # 6.3.101. pgp_v5_pubring # 6.3.102. pgp_v5_secring # 6.3.103. pipe_decode # 6.3.104. pipe_sep # 6.3.105. pipe_split # 6.3.106. pop_delete # 6.3.107. pop_host # 6.3.108. pop_last # 6.3.109. pop_pass # 6.3.110. pop_port # 6.3.111. pop_user # 6.3.112. post_indent_string # 6.3.113. postpone # 6.3.114. postponed # 6.3.115. print # 6.3.116. print_command # 6.3.117. prompt_after # 6.3.118. query_command # 6.3.119. quit # 6.3.120. quote_regexp # 6.3.121. read_inc # 6.3.122. read_only # 6.3.123. realname # 6.3.124. recall # 6.3.125. record # 6.3.126. reply_regexp # 6.3.127. reply_self # 6.3.128. reply_to # 6.3.129. resolve # 6.3.130. reverse_alias # 6.3.131. reverse_name # 6.3.132. save_address # 6.3.133. save_empty # 6.3.134. save_name # 6.3.135. sendmail # 6.3.136. sendmail_wait # 6.3.137. shell # 6.3.138. sig_dashes # 6.3.139. signature # 6.3.140. simple_search # 6.3.141. smart_wrap # 6.3.142. smileys # 6.3.143. sort # 6.3.144. sort_alias # 6.3.145. sort_aux # 6.3.146. sort_browser # 6.3.147. spoolfile # 6.3.148. sort_re # 6.3.149. status_chars # 6.3.150. status_format # 6.3.151. status_on_top # 6.3.152. strict_threads # 6.3.153. suspend # 6.3.154. thorough_search # 6.3.155. tilde # 6.3.156. timeout # 6.3.157. tmpdir # 6.3.158. to_chars # 6.3.159. uncollapse_jump # 6.3.160. use_8bitmime # 6.3.161. use_domain # 6.3.162. use_from # 6.3.163. use_mailcap # 6.3.164. pgp_verify_sig # 6.3.165. visual # 6.3.166. wait_key # 6.3.167. wrap_search # 6.3.168. write_inc # 6.3.169. write_bcc # set askbcc # set askcc # # attribution # attribution given to quoted text # This is my favourite attribution: set attribution="* %n <%a> [%(%y%m%d %H:%M)]:" # Example: # * Sven Guckes <[EMAIL PROTECTED]> [990406 12:07]: # > Thank you for sending me feedback on my Vim Pages. # > I really appreciate it. # You are welcome! # # As you can see, the "* " nicely align the name+address with # the quoted text. # The date+time is not necessary, of course, as the info is in # the header, but is nice when communication across the globe. # # This is the standard attribution with Elm: # set attribution="Quoting %n (%a):" # # This version is more suitable for copy&paste to a header line: # set attribution="Quoting %n <%a>:" ## When I reply to mail that has been in my mailbox for some time ## then I also use the Subject and the Date in my attribution: ## set attribution="\n\tSubject: %s\n\tDate: %d\n\nTime to reply!\n\nQuoting %n (%a):" set autoedit # set: skip the prompts for To: and Subject: # before invoking the editor for composing # set autotag ###### B # set beep set beep_new ###### C #set charset="iso-8859-1" #set checknew set noconfirmappend # set: prompt for confirmation on appending mail to folder set confirmcreate # set: prompt for confirmation on creation of folders #OLD noconfirmfiles # obsolete since v80 #OLD noconfirmfolders # obsolete since v80 set copy # Always keep a copy of my mails! ###### D #set date_format #set default_hook set delete=ask-yes #set delete_format #set dsn_notify #set dsn_return ###### E #set edit_hdrs # obsolete? set edit_headers # edit all headers lines in the editor # Use Vim as the editor: set editor=vim # # Start vim on first empty line (ie right after the header): #set editor="vim '+/^$'" # # Start vim as editor on the Subject line of the header: # Note: This requires "edit_headers" to be set, too. #set editor="vim -c ':0;/^Subject: '" # # Starting Vim with a command that # sets the textwidth to 72 characters # and also sets "expandtab" set editor="vim -c 'set tw=72 et'" # Use Joe as the editor: # set editor="joe -nobackups -mold eof" # This prevents backup files and starts at the end-of-file, # right after an empty header. #set empty_to #set escape ###### F #set fast_reply #set fcc_attach set folder=~/Mail # directory with all mail folders #NEW folder_format # new with mutt-0.92 - configure display of browser #set folder_format #NEW followup_to # new with mutt-0.92 - generate Mail-Followup-To header #set followup_to # set force_name # set: save outbound mail by username # (even is =username does not exist) #set forward_decode #set forward_format # see below with "Format Strings" #set forward_quote ###### H #OLD! hdr_format # renamed to "index_format" with 92.8 #set hdrs #set header #set help set hidden_host # do not use a hostname in the address - PROBLEMATIC! set history=100 # 0.51: number of input lines for prompts to remember #OLD! hold # was removed with mutt-0.89. Use "set nomove" instead! #set hostname="math.fu-berlin.de" ###### I #set ignore_list_reply_to #set in_reply_to set include # set: include mail as quoted text in replies #set indent_str # change this and I'll kill you! ;-) # index_format #set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s" #default! set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s" # %4C four characters for the "Count" (index number) # %Z message status flags # %[] the date and time of the message is converted to the # local time zone, and ``fmt'' is expanded by the library # function ``strftime''; a leading bang disables locales # %[!%y%m%d] therefore means to display the date in # yymmdd format (year, month, day) for the local time zone. # %-17.17F 17 characters for the "From:" (ie sender's name/address) # (%3l) 3 characters for the length in Lines: displayed in brackets # %s the "Subject:" line (at last!) # this adds "%4N" to display the 'Number' value (aka "score") of messages: set index_format="%4C %4N %Z %[!%y%m%d] %-17.17F (%3l) %s" #set ispell ###### L #OLD! local_sig: was removed with mutt-0.89. #set locale ###### M #set mailcap_path set nomark_old # set: make distinction between New mail and Old mail. #set markers #set mask #set mbox #set mbox_type #set metoo #set menu_scroll #set meta_key set mime_forward=ask-yes # mutt-0.92: now a quadoption! #set mime_forward_decode # # move : #set move=ask-no # folder update: unset: Do not move read mail to "mbox". set nomove # do not move read mails from mailbox to $mbox (was: "set hold") #set msg_format ###### P # pager: Program to show mails with. # The builtin pager is very good although not perfect. #set pager=less -aCMsei # I recommend "less" as the external pager. set pager_context=1 # number of lines that overlap on paging #set pager_format # see below with "Format Strings" # set pager_index_lines=10 # number of lines to see from the index set pager_index_lines=0 # number of lines to see from the index # pager_stop: # set: prevents the command next-page to perform a set pager_stop # next-undeleted when the end of the mail is shown #### PGP stuff #set nopgp_autoencrypt #set nopgp_autosign #set pgp_default_version=pgp2 # "pgp5" if pgp-2 is not installed #set pgp_encryptself # encrypt mails so I can read them, too! #set pgp_key_version="default" #set nopgp_long_ids #set pgp_pubring # obsolete? #set pgp_receive_version # pgp_replypgp -> pgp_replyencrypt # mutt88 #set pgp_replyencrypt # encrypt replies to encrypted mails #set nopgp_replysign # sign replies to signed mails #set pgp_secring # obsolete? #set pgp_send_version #set pgp_sign_as="id" # key to use for signing (when using several IDs) #set pgp_sign_micalg="pgp-md5" # default message integrity check algorithm #set pgp_strict_enc # encode PGP/MIME as quoted-printable #set pgp_timeout=900 # time in seconds to keep the passphrase in memory #set pgp_verify_sig=no # do not check pgp signatures when viewing mails # set pgp_v2 # set pgp_v2_language # set pgp_v2_pubring # set pgp_v2_secring # set pgp_v5 # set pgp_v5_language # set pgp_v5_pubring # set pgp_v5_secring #set pipe_decode #set pipe_sep #set pipe_split #set point_new # was removed with mutt-0.89. #### POP stuff #set pop_delete #set pop_host #set pop_pass #set pop_port #set pop_user #set post_indent_str #set postpone #set postponed #set print # print_command: Command to use to handle mail for printing. set print_command="mp|lpr" # print_command - further examples: # checking the output of the print command: # set print_command="less -aCMsei" # printing *with* Header # set print_command="a2ps -nn -ns -nH -p -1 -B -F10 -nL | lpr" # printing *without* Header #set print_command="a2ps -nn -ns -H -p -1 -B -F10 -nL | lpr" #set print_command="a2ps | lp" #set print_command="a2ps -g -Email -1" set noprompt_after # set: gives you a prompt when pager exits ###### Q ## quote_regexp: Regexpr that defines "quoted text". ## This is used by the pager to colorize and hide/show quoted text. set quote_regexp="^> " # nothing but the real thing! ## set quote_regexp="^>" # some people just use '>' - *sigh* ## set quote_regexp="^>[ >]" # slightly changed standard ## set quote_regexp="^ *[a-zA-Z]*[]>|}()%:=-][]>|}():=-]*" # YESS!! ## set quote_regexp="^[>|\#:}] *" # DEFAULT ## set quote_regexp="^ \\?[>|]" # "\\" escapes the '?' ("zero or one") - hmm ## set quote_regexp="^[>|:}]+" # '+' (one or more") does not work here. :-( ## set quote_regexp="^ *[:alpha:]*[]->:|}][]->:|}]*" # forget it! ###### R #set read_inc=1 # '1': show count number with *every* mail. set read_inc=10 # '10': show count number for every tenth mail #set read_only #set realname #set recall set recall=no # do not prompt for recalling postponed mails with 'm' set record=+sent #set references # reply_regexp: "X-Mailer: Novell GroupWise 5.2" uses "Antw:" # reply_regexp: "X-Lotus-FromDomain: DEBISNOTES" uses "Antw.:" set reply_regexp="^((re|r e|r?f|aw|antw.?|antwort):[ \t]*)*" set reply_to=ask-yes # "reply": set: Use address in Reply-To? #set resolve # set: skip "deleted" mails with set reverse_alias # show the name of sender as set with my alias for him set reverse_name # reply as the user to whom the mail was sent to # Example: I often get emails addressed "To: [EMAIL PROTECTED]". # With "reverse_name" I can thus reply as "[EMAIL PROTECTED]" - # even from other accounts. :-) ###### S #set save_address #set save_empty set save_name # set: save outbound mail to =username if it exists #set sendmail #set sendmail_bounce # removed with mutt-0.92 set shell=bash # use the zsh for shell commands #set sig_dashes #set signature #set simple_search #set smart_wrap #set sort set sort=threads # sorting method - I definitely like "threads" best #set sort_aux #set sort_browser #set spoolfile #set sort_re #set status_chars #set status_format # see below with "Format Strings" set status_on_top # set: present the status bar at top, ie before the index set strict_threads # set: use references: for threading only, ie do not # thread by subject or in-reply-to #set suspend ###### T # set thread_chars # obsolete with v83! replaced by "ascii_chars" #set thorough_search set tilde # show non-existant lines of text with a tilde at begin-of-line # set timeout=120 # this is only for the mailbox - see ~/.mutt.personal set tmpdir="/tmp" # directory where temporary files are to be placed # set to_chars=" +TCF" #default set to_chars="X+TCF" ###### U #set use_8bitmime #set use_domain #set use_from #set use_mailcap ###### V # verify_sig - has been changed to pgp_verify_sig #set visual ###### W #set wait_key set write_inc=1 # number - display increment count for every n-th mail ###### X ###### Y ###### Z ## ====================================================================== ## Format Strings: ## "forw_format", "hdr_format", "pager_format", and "status_format". ## ====================================================================== ## forw_format - format the text used in the format attribution ## default: set forw_format="[%a: %s]" set forw_format="(forw) %s" ## hdr_format - format of all mails shown in the index display ## Examples: ## set hdr_format="%4C %Z %M %2N %-15.15F (%6c) %s" ## set hdr_format="%4C %Z %2m%2N %-17.17n (%4c) %s" ## set hdr_format="%4C %Z %2m%2N %-17.17n (%4l) %s" set hdr_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s" # Sven's favourite ## pager_format - format of summary on current mail in the pager ## (until 0.52: pager_fmt) ## Examples: ## set pager_format="%S %C/%T: %-20.20n %s" # default ## set pager_format="%S %C/%T?%n: %-20.20n %s" set pager_format="%S [%C/%T] %n (%l) %s" # Sven's favourite ## status_format - format of summary on the current folder in the index ## meta strings: ## -----f-h---lmn-p--st-v---- lower case letters (09) ## ------------M----------X-- upper case letters (02) ## %d the number of messages with the flag 'delete' (v64) ## %f the full pathname of the current mailbox ## %h local hostname ## %l size (in bytes) of the current mailbox ## %m the number of messages in the mailbox ## %M the number of messages shown (i.e., which match the current limit) ## %n number of new messages in the mailbox ## %p number of postponed messages ## %s current sorting mode ## %t number of tagged messages ## %v Mutt version string ## %>X right justify the rest of the string and pad with "X" ## %|X pad to the end of the line with "X" ## Examples: ## set status_format="%v: %f (%s) [%?M/?%m] [flags:%?t tagged,?%n new%?p post?]" #TEST ## set status_format="%v: %f (%s) [%?M/?%m] [flags:%?t tagged,?%n new]" ## set status_format="%v: %f (%s) [%M/%m]\n[flags:n=%n,D=%d,t=%t,!=%F]" ## set status_format="%v: %f (%s) [%M/%m] [flags:n=%n,t=%t]" ## set status_format="%v: (%s) [%M/%m] [flags:n=%n,t=%t]" ## set status_format="%v: (%s) [%M/%m] [flags:n:%n,t:%t,p:%p]" ## set status_format="%v: (%s) [%M/%m] [flags:%?02n new?,t:%t]" ## set status_format="%v: %f (%s) [%M/%m] [flags:%n new,%?t tagged?]" ## set status_format="%v: %f (%s) [%M/%m;%l bytes] [N=%n,*=%t,post=%p]" set status_format="%v: %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]" ## ======================================================================== ## End of variables ## ======================================================================== ## ======================================================================== ## COMMANDS: ## (un)alias, alternates, auto_view, bind, (un)ignore, ## lists, my_hrd, sort, source. ## For a complete description see page ## http://www.math.fu-berlin.de/~guckes/mutt/doc/manual.txt or ## http://www.cs.hmc.edu/~me/mutt/commands.html ## ======================================================================== ## Command alias : ## Syntax: alias <name> <address_list> ## <address_list> := <address>{,<address>} ## ======================================================================== ## Aliases - important aliases for every MUTT user ## ======================================================================== ## MUTT mailing lists: ## mail aliases formutt people alias muttann MUTT Announcments <[EMAIL PROTECTED]> alias muttusers MUTT Users <[EMAIL PROTECTED]> alias muttdev MUTT Developers <[EMAIL PROTECTED]> ## ## MUTT people ## alias muttauthor Michael Elkins <[EMAIL PROTECTED]> alias muttfaq Felix von Leitner <[EMAIL PROTECTED]> alias mutthan Park Myeong Seok <[EMAIL PROTECTED]> alias muttpages Sven Guckes <[EMAIL PROTECTED]> alias muttpatches Ollivier Robert <[EMAIL PROTECTED]> ## ## MUTT short aliases - for those who really send mail to these often ;-) ## #alias md muttdev #alias me muttauthor #alias mf muttfaq #alias mp muttpages #alias mu muttusers ## Group aliases!! ## ## An alias that points to myself: alias sveng Sven Guckes <[EMAIL PROTECTED]> ## Users with a name: alias test1 Test Name1 <foo@bar> alias test2 Test Name2 <me@here> alias test3 Test Name3 <me@home> # # And now some groups: # testg1 - a group with just the given three addresses: alias testg1 TestGroup1: test1,test2,test3; # # testg2 - a group with an additional "test1" at front: alias testg2 TestGroup2: test1,test1,test2,test3; # # testg3 - a group with an additional "test1" at the end: alias testg3 TestGroup3: test1,test2,test3,test1; # # testg4 - a group with a groupname at the end: alias testg4 TestGroup: test1,testg1; # ## Try these with the following command: "mutt -b testg3 -c testg2 testg1" ## Mutt fails to remove duplicates here. [980622, mutt92.8i] ## TESTing Aliases ## ## Q: Is there a danger for recursive alias mapping? ## A: No, Sir! :-) ## alias a b alias b a ## ## Q: When redefining an alias - which definition will be used? ## A: The first one found in the list will be used! ## alias someone Someone <someaddress> alias someone Someone Else <someaddress> ## ## Q: Does MUTT remove parentheses from comments? ## A: It does for addresses of format "comment <address>" ## but not for addresses of format "address (comment)". ## This is correct by RFC0822! # Rekursion will bomb mutt88: # alias f <f> ## ======================================================================== ## AUTO_VIEW - tell mutt which "content types" to view with ## the command given in the $HOME/.mailcap file. [990101] ## ======================================================================== ## auto_view text/html text/enriched application/x-gunzip \ ## application/postscript image/gif application/x-tar-gz auto_view text/html ## ======================================================================== ## BIND - bind commands to keys. ## ======================================================================== ## Syntax unto version 0.60: bind <key> <function-name> <menu-name> ## Syntax From version 0.61: bind <menu-name> <key> <function-name> ## Values for <menu-name>: ## attach, folder-menu, alias-menu; index; pager. ## Special values for <key>: pageup, pagedown, up, down, left, right ## Description: MUTT allows you to bind a command to keys. ## For more info see page ## http://www.math.fu-berlin.de/~guckes/mutt/mutt.manual.html#bind or ## http://www.cs.hmc.edu/~me/mutt/bind.html . ## There are some keystrokes that I am used with other programs: ## ======================== ## Bindings for attach menu ## ======================== bind attach ' ' select-entry bind attach \Cg exit # Defining a default directory for saving attachments to. # The trick used here is to "jump" to the beginning of the input # (using ^A) which leaves default value on the input. # Then you can add the default directory, eg "~/Mail/ATTACH/". macro attach s S^A~/Mail/ATTACH/ # # The default for the command 's' is rebound to 'S', # so it is still available: # bind attach S save-entry bind index P recall-message # 'R'ecall-message move to 'P' [0.46] # bind index L bottom-of-page # overrides 'L'ist-reply bind index R list-reply # 'L'ist-reply moved to 'R' macro index S s=SPAM ## ================================================= ## Bindings for "compose" screen (aka "send menu") ## ================================================= # Unset fcc_attach" to send mails *with* attachments but *without* # keeping copies of attachments in the mail log: macro compose ,f ":unset fcc_attach" # macro compose ,f ":toggle fcc_attach\r:set ?fcc_attach\r" ## ======================== ## Bindings for editor ## ======================== # The usual DEL vs BS problem: # Explicit binding of Delete (aka CTRL-? or ^?) # to the backspace key does the trick: bind editor <delete> delete-char # bind editor \C? backspace # bind editor \C? delete-char ## ============================== ## Bindings for index *and* pager ## ============================== ## Jumping to the next mail that is still unread. ## Even though I use both New and Old mails ## I usually prefer "jump-unread" to "jump-new". ## The TAB key (\t) is convenient for this. ## To allow jumping to the previous unread mail ## I use the comma as a prefix to this command: # bind index \t next-new # bind pager \t next-new bind index \t next-unread bind pager \t next-unread bind index ,\t previous-unread bind pager ,\t previous-unread # Get Help # macro index <f1> "!less /usr/local/doc/mutt/manual.txt\n" # macro pager <f1> "!less /usr/local/doc/mutt/manual.txt\n" # macro generic <f1> "!less ~guckes/.P/mutt/doc/manual.txt\n" # does not work as '~guckes' is not evaluated. But this works: # macro generic <f1> "!less /home/jgh/manual.txt\n" ## ====================== ## Bindings for index ## ====================== # 980626 # Show the version number with 'V': bind index V show-version bind pager V show-version # 980626 # Repositioning - Moving the current mail around the screen: # (use bindings a la Vim for moving the current line) bind index zt current-top bind index zz current-middle bind index zb current-bottom # index bindings - obvious stuff bind index <pagedown> next-page bind index <pageup> previous-page # bind index home first-message # error with mutt-0.89.1 # bind index end last-message # error with mutt-0.89.1 # index bindings - vi (editor) style # bind index \Cg group-reply # \Cg --> "group-reply" # bind index g first-message # g was "group-reply" # bind index G last-message # error with mutt-0.89.1 bind index \Cb previous-page bind index \Cf next-page # \Cf was 'f'orget-passphrase # bind index \Cv forget-passphrase # \Cv --> 'f'orget-passphrase # forget-passphrase is not known any more? Hmm.. # index bindings - nn (newsreader) style bind index < previous-page bind index > next-page # bind index ^ first-message # error with mutt-0.89.1 # bind index $ last-message # error with mutt-0.89.1 bind index \Cx sync-mailbox # \Cx ->"sync-mailbox" # index bindings - elm (mailer) style bind index + next-page bind index - previous-page # not necesary any more: # macro index V "!mutt -v | less" macro index "+so" ":source " # Quickly change to the "=received" folder: macro index ",c" "c=received" # calling the webbrowser through use of urlview: macro index ,\Cb |urlview\n "Extract a URL, and queue for later download" macro pager ,\Cb |urlview\n "Extract a URL, and queue for later download" # the config file of urlview is ~/.urlview and has the line: # REGEXP ((((ht|f)tp)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">] # COMMAND=screen lynx "%s" # Macros that jump to next/previous mail with a given flag. # Here I use vi-like commands to jump forward and backward, # ie ',' for forward and ';' for backward. # macro index ,f /~F\n # macro index ;f <esc>?~F\n # Macro: # Stian Sletner <[EMAIL PROTECTED]> wished that # when you view a message with all headers that # a forward of this message should therefore include # *all* headers. We can do this with a macro: # # We will use ",h" to view the mail (avoids conflict # with the usual 'h' to view a message with all headers). # This is what happens: Show the message with *all* headers, # and show the current status of "forward_weed" for checking. # A "forward" should now include *all* headers. :-) macro index ,h ":unset forward_weed\rh:set ?fcc_attach\r" # Homework: Reset the value "forward_weed" on exit from the pager. ;-) ## =========================== ## Bindings a la PINE ## =========================== ## See file "Pine.rc" of the distribution for further bindings! # Make 'I' go to the "Index" # ie to the mailbox: macro index I "c!\n" macro pager I "c!\n" ## =========================== ## Bindings for pager ## =========================== # pager bindings - vi style bindings bind pager \Cu half-up bind pager \Cd half-down bind pager \Cm next-line bind pager \Ce next-line bind pager \Cy previous-line bind pager + next-line bind pager - previous-line bind pager ' ' next-page bind pager \Cf next-page bind pager \Cn next-page bind pager - previous-page bind pager \Cb previous-page # was "browse-url" # bind pager ,B browse-url # compensate for \Cb bind pager \Cn half-down bind pager \Cp half-up bind pager t top bind pager ^ top bind pager G bottom bind pager $ bottom bind pager / search bind pager n next-undeleted ## bind pager N bind pager p previous-undeleted bind pager P print-message bind pager R list-reply # bind pager L list-reply # clashes with "bottom-page" ## Adding a prefix to index mail commands ## NOTE: Using ESC as prefix requires a small pause ## between ESC and the following key - therefore ## I use the comma as the prefix key :-) ## I once used the backslash key - but \n, \r, and \t ## are used for newline, return, and tab. *sigh* bind pager ,b bounce-message bind pager ,f forward-message bind pager ,g group-reply bind pager ,m mail bind pager ,L list-reply bind pager ,n reply bind pager ,r reply bind pager ,a reply # 'a' is for "answer" # jump commands bind pager ,j next-undeleted bind pager ,k previous-undeleted ## Bind default mail commands to jump commands bind pager backspace previous-line # bind pager delete previous-line # yields error! bind pager b previous-page bind pager f next-page bind pager g top bind pager j next-line bind pager k previous-line bind pager m noop bind pager L noop bind pager r noop bind pager : enter-command ## ============================================================= ## Color definitions - See the manual.txt at ## "The Pager" and "Using color and mono video attributes" ## ============================================================= ## From the manual to mutt-0.96.3: ## Objects that you can colorize: ## attachment, body, bold, error, header, hdrdefault, ## index, indicator, markers, message, normal, ## quoted, quoted1, ..., quotedN, ## search, signature, status, tilde, tree, underline. ## Color names you can use for "background" and "foreground": ## white black green magenta blue cyan yellow red default colorx color normal white black # pager body color attachment green black # .. # color body green black # .. # match ftp addresses: # color "default" is not known any more? # color body cyan default "ftp://[^ ]*" color body cyan black "ftp://[^ ]*" # match http addresses: # color "default" is not known any more? color body green default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]" # # Colorize "Internet addresses": color body cyan default "(http|ftp|news|telnet|finger)://[^ >]*" color body cyan default "<URL:[^ ]*>" color error red default # global # # NEW color scheme for header: color header blue default "^cc: " color header yellow default "^date: " color header green default "^from " color header red default "^from: " color header yellow default "^importance: " color header blue default "^importance: normal" color header green default "^message-id:" color header white red "^newsgroups: " color header blue default "^organi[sz]ation: " color header yellow default "^priority: " color header red white "^priority: urgent" color header blue default "^priority: normal" color header red default "^reply-to: " color header white blue "^subject: " # white on blue! color header red default "^to: " # special color for replies to posts on Usenet: color header red white "^to: guckes-usenet" color header yellow default "^user-agent: " # special color for good user agents - mutt and xemacs: color header blue default "^user-agent: .*mutt" color header blue default "^X-Mailer: .*xemacs" # pine and tin: color header red default "^user-agent: .*pine" color header red default "^user-agent: .*tin" color header blue default "^x-editor: .*vim" color header yellow default "^x-mailer: " # Old Pine versions only identify by the message id: color header red default "^message-id: .*pine" # special color for "Mozilla" mailer (aka Netscape) color header white red "^x-mailer: mozilla" color header magenta default "^x-newsreader: " color header white red "^x-newsreader: .*trn" # tin puts its info on CCs into an extra line: color header white red "^x-also-posted-to: " color header white red "^x-webtv-signature: " # Lotus-Schmotus: color header white red "^x-lotus-fromdomain: " color header white red "^X-Mailer: Lotus Notes" # M$ sucks: # X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) color header white red "^X-Mailer: Internet Mail Service" color header white red "^X-Mailer: .*Microsoft Outlook" # AK-Mail users do not seem to be able to type, either: color header white red "^X-Mailer: .*AK-Mail" # # color hdrdefault blue black # color indicator white blue # index color markers red default# index color message white blue # index ## ================================================== ## Colorizing the body of messages (ie in the pager) ## ================================================== # Coloring quoted text - coloring only the first four levels: color quoted cyan default# pager body color quoted1 red default# pager body color quoted2 cyan default# pager body color quoted3 yellow default# pager body # color signature red default# pager body color status white blue # index status bar default: black white color tilde blue default# pager body color tree red default# index color bold green default # .. color underline yellow default # # How this works: Mutt recognizes sequences with embedded CTRL-H ('^H'). # If this matches one of the following kinds # then you get to see the text as either "bold text" or "underlined text" # depending on the capabilities of your terminal. # bold: "cc" -> "bold 'c'" # underline: "c_" -> "underlined 'c'" # On color terminals you will see them with their own color. color body blue red "<[Gg]>" color body blue red "<[Bb][Gg]>" # Colorize smileys: :-) ;-) :-/ :-( color body yellow black "[;:]-[)/(|]" ## ================= ## Mono definitions ## ================= # need an update... ## Command ignore : ## Syntax: ignore <keyword_list> ## <keyword_list> := <headline_prefix> { <headline_prefix> } ## MUTT will not show these header lines when showing the contents of a mail, ## ie strip these headers lines from the header before showing the header. ## Command unignore : ## Syntax: unignore <headline_prefix> ## This command removes headline prefixes from the list specified by the ## command "ignore". ## Ignore everything but the really important lines: ignore * # The most important lines: unignore from date subject to cc reply-to: # # Sender: unignore sender: # # Priorities should be heeded - even if M$ Outlook calls it "importance".. unignore priority: importance: # # "Org-Lines" - can be fun to read: unignore organization organisation # # see the identification of the "user agent": unignore user-agent: x-agent: x-mailer: x-newsreader: x-mailing-list: # see the identification of the used editor: unignore x-editor # # recognize CCs from Usenet: unignore message-id: newsgroups: posted-to: posted-and-mailed: unignore x-also-posted-to: # # this identifies mailing lists - # see also: 'followup_to' and 'honor_followup_to' unignore mail-followup-to: # # Darned Lotus identifies with "X-Lotus-FromDomain" :-( unignore x-lotus # # Recognize resent messages (usually lacking proper headers): # Example header lines: # X-Resent-By: Global Message Exchange <[EMAIL PROTECTED]> # X-Resent-For: [EMAIL PROTECTED] # X-Resent-To: [EMAIL PROTECTED] unignore resent- x-resent # # WebTV is invading us!!! Aiiiee! unignore x-webtv ## Amurricans will spell it "organization" - dont ask me why! ## Dean F. Hougen ([EMAIL PROTECTED]) likes words with 'z'! #Specifying the order of header lines when viewed with the pager: # First, we shall remove all previous definitons of the header order # so the following definition will be the first and valid one: unhdr_order * # # Problem: "unhdr_order" is not known by mutt-0.93.2i (1998-07-29) # which is the default mutt now that they have deleted all installations # here at inf.fu-berlin.de and math.fu-berlin.de - damn! # # The default of "hdr_order" is: # hdr_order From Date: From: To: Cc: Subject: # And here is my favourite setting: hdr_order From Newsgroups: From: Reply-To: To: Cc: Subject: Date: Message-Id: X-Mailer: X-Newsreader: X-Agent: # Why this order? # Well, first I want to know whether the message is a "public" message. # Therefore "From" and "Newsgroups" come first because they can reveal this. # The most important info then is "who sent the message"; # so "From:" comes next. I also want to see a possible diversion to the reply # with the Reply-To: line right after that. # The next lines then show the recipients (To: and Cc:). # Finally, the Subject line. # The "Date:" and "Message-Id:" are grouped together as the mesage id # often contains the date and time of the message. Finally, I want # to see X-Mailer, Organization etc as I am curious about these. ## TEST STUFF ########## # MACROS # ########## ## macro menu key sequence ## macro index r ":unset autoedit^Mreply^M" ## macro index ,l ":unset autoedit^Mreply^M" macro index ,l "l~N ! ~p\n" macro index ,n "l~N\n" macro index ,a ":set attribution='* %n <%a> [%(%y%m%d %H:%M)]:'" macro index ,A ":set attribution='\\n\\tSubject: %s\\n\\tDate: %d\\n\\nTime to reply!\\n\\nQuoting %n <%a>:'" ## Selecting non-personal mails: ## macro index ,l "l ~N !(~t guckes | ~c guckes) ## It's easier with limiting by "! ~p" (read as "not personal" :-) ## ======================================================================== ## SCORING Scoring scoring ## ======================================================================== ## score ~A =1000 # initial value ## score '~s free' -999 # TANSTAAFL! ## score '~s sex|~s adult' -9999 # spam spam spam ## score '~f anonymous' -9999 # if you cannot afford a name then ## # don't send mail to me! ## score '~f spam' -9999 # spam addresses breed spam ## score ~F 1000 # flagged mails are important ## score ~t [EMAIL PROTECTED] 100 # this is quite important ## score ~c [EMAIL PROTECTED] 10 # still a little important ## score ~f guckes 1 # should not be zero ;-) ## score ~D =0 # "this is a dead email..." ## score ~i pine -100 # pine sucks! ## score '~e [EMAIL PROTECTED]' 1000 # it's a secret ## score '~h ^priority: urgent' 10 ## ======================================================================== ## "source": This command tells mutt to ## read other files as if they were another muttrc: source ~/.mutt.aliases source ~/.mutt.personal ## These files are also available at: ## http://www.math.fu-berlin.de/~guckes/setup/#mutt # Why keep this the aliases in a separate file, anyway? # And why do I keep a "personal mutt setup file"? # Well, I had set up the accounts of some other users here, and they source my # muttrc to get updates on new variables automatically - but the info and # settings of my aliases and the other personal stuff MUST NOT appear in their # setup. So I had to move this data out to other files. Such is life. # Anyway, you can take a look at my ".mutt.personal" at the address # http://www.math.fu-berlin.de/~guckes/setup/mutt.personal # The personal file contains these commands: # alternates, folder-hook, lists, localsite, mailboxes, my_hdr, (send-hook). ## END of Sven's muttrc -- vim: comments=n\:# et