## ======================== ## Welcome to Tom's .muttrc ## ======================== ## File to use for *saving* new aliases set alias_file=~/.mutt.aliases ## File to search for aliases in source ~/.mutt.aliases # Boolean Variables: # set foo # or unset foo # or toggle foo # or reset foo (reset to compile time default) # or set nofoo or set invfoo (inverts actual value) # ^^ ^^^ # set allow_8bit # use QP or Base64 if unset. unset arrow_cursor # "->" as cursor (faster on slow networks). unset ascii_chars # Use ASCII chars for threading arrows. unset askbcc # ask to fill out Bcc on mesg-send? unset askcc # ask to fill out CC on mesg-send? set attach_split # handle every single attachment instead of concat set autoedit # start editor without asking for to, subject,... set auto_tag # if something is tagged, run commands on tagged msgs. set beep # beep on certain user errors and other errors set beep_new # beep on new mail # set bounce_delivered # unset => remove Delivered-To: when bouncing. set check_new # search for new messages in maildir/MH folders. unset collapse_unread # don't collapse threads with unread mails unset confirmappend # prompt for confirm when appending message to ex. mbox set confirmcreate # prompt for confirm when saving to non existing mbox set copy # always keep a copy of my mails set edit_headers # put headers in editor when composing messages # set encode_from # use Quoted-Printable, if ^From in a mail. set fast_reply # do not ask for to, subject,... when replying. set fcc_attach # store attachments too when doing a Fcc set followup_to # Add Mail-Followup-To header. unset force_name # outgoing mail to be saved in folder of "login name" #set forward_attachment # When forwarding attachments only send as attachements set forward_decode # decode messages when forwarding without MIME # set forward_decrypt # decrypt PGP message, when mime_forward and !mime_fw_d unset forward_quote # quote forwarded message, if not $mime_forward # set forward_weed # weed headers, when forwarding with forward_decode set hdrs # nohdrs implies not to write my_hdr into mail. unset header # quote full header on reply set help # show help in first line of the display #unset hidden_host # when set, skip the host name part of hostname unset ignore_list_reply_to # ignore Reply-To pointing back to mailinglist set implicit_autoview # use autoview, if a "copiousoutput" is in mailcap. set mailcap_sanitize # remove ugly chars from mailcap % expands. set mark_old # mark new articles as old, when leaving mbox set markers # put a '+' at the beginning of wrapped lines. set menu_scroll # scroll on last line of menu (set) or do a nextpage? unset meta_key # Don't interpret Alt-x as ESC x unset metoo # should we keep ourselves in group replies? set mh_purge # remove messages marked as deleted from MH folders. unset mime_forward_decode # decode messages when forwarding with MIME set pager_stop # Don't jump to next message at end of message. set pipe_decode # Weed headers and PGP-decode message before piping unset pipe_split # split tagged messages (or don't) when using "|" unset prompt_after # display prompt after exit from pager unset read_only # folders not read only unset reply_self # if unset, a reply to yourself implies reply to other set resolve # go to next undeleted message after modifying actual #set reverse_alias # use realname from reverse alias lookup #unset reverse_name # Set "From" to address, where replied mail was sent to #unset save_address # Use full mail adress (with domain) as default folder. set save_empty # remove mailbox when last message is removed. unset save_name # Fcc, if ~/Mail/ exists. unset sig_dashes # Don't prepend "-- \n" to the signature set smart_wrap # wrap long lines at word boundary. set sort_re # set: only put a child in a thread, if starts with Re: set status_on_top # status line at the top or button? unset strict_threads # thread only by In-Reply-To/References or by Subject. unset suspend # Ctrl-Z is able to suspend mutt. set thorough_search # MIME decode before searching. set tilde # Internal Pager: ~~~~ at and of message? unset uncollapse_jump # don't move pointer, when uncollapsing thread #unset use_8bitmime # run sendmail 8.8.x with -B8BITMIME to enable 8bit #unset use_domain # add $domain to all addresses without @host unset use_from # generate a "From:" header (unless my_hdr From:) #unset user_agent # Create User-Agent: Mutt/ header. unset wait_key # Only "press a key" if return value non-zero set wrap_search # Wrap search to top/bottom. unset write_bcc # send Bcc: line to $sendmail # Quadoptions # set foo=yes # or set foo=ask-yes # or set foo=no # or set foo=ask-no # or reset foo (reset to compile time default) set abort_nosubject=no # Abort, if message has no subject. set abort_unmodified=yes # Abort, if message wasn't edited. set delete=yes # ask for confirmation when deleting messages? #set honor_followup_to=ask-yes # Ask whether to honor Mail-Followup-To header set include=yes # quote message, when replying set mime_forward=ask-yes # use MIME when forwarding mails. set move=no # Move mail-spool to $mbox? set postpone=ask-yes # ask for postponing when doing an Abort. set print=ask-yes # ask whether you really want to print. set quit=yes # ask before quitting. set recall=no # don't ask for using postponed message. set reply_to=ask-yes # Use or ignore Reply-To. # attribution # attribution given to quoted text set attribution="* %n (%a) wrote:" ###### C set charset="iso-8859-1" ###### D set date_format="!%a %b %d, %Y at %I:%M:%S%p %Z" set default_hook="~f %s | ~t %s" #set delete_format # The following break non-sendmail MTAs # set dsn_notify="failure,delay" # set dsn_return="full" ###### E set edit_headers # edit all headers lines in the editor # Start vim as editor on first empty line (ie right after the header) set editor="vim '+/^$'" #set empty_to #set escape ###### F set folder=~/mail # directory with all mail folders #set folder_format #set followup_to #set forward_format # see below with "Format Strings" ###### H set hdrs set history=50 # 0.51: number of input lines for prompts to remember set hostname="home.pablotron.org" ###### I #set indent_str # change this and I'll kill you! ;-) #set ispell # how to invoke ispell #set in_reply_to # header field added when replying to a message ###### L #set locale ###### M #set mailcap_path set mail_check=5 set mark_old # set: make distinction between New mail and Old mail. set markers #set mask set mbox=~/mbox # Where is my main mailbox (where should read mail go) #set mbox_type #set meta_key #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. set pager_context=3 #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=9 # number of lines to see from the index # pager_stop: # set: prevents the command next-page to perform a #set pipe_decode #set pipe_sep #set pipe_split #set post_indent_str set postponed=~/mail/postponed-msgs #set print # print_cmd: Command to use to handle mail for printing. #set print_cmd="a2ps -nn -ns -H -p -1 -B -F10 -nL | lpr" #set print_command="a2ps | lp" set print_command="mp|lpr" # print_cmd - further examples: # checking the output of the print command: # set print_cmd="less -aCMsei" # printing *with* Header # set print_cmd="a2ps -nn -ns -nH -p -1 -B -F10 -nL | lpr" ###### 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="^ *[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! # This seems to catch everyone, except the MOST awkward. # set quote_regexp="^( {0,4}[>|:]| {0,4}[a-z0-9]+[>|]+)+" # *sigh* this catches raster too. why can't people just use a standard, # recognisable quote delimeter? Is is *so* hard? Is the extra dash *that* # important? set quote_regexp="^( {0,4}-?[>|:]| {0,4}[a-z0-9]+[>|]+)+" ###### R set read_inc=20 # '1': show count number with *every* mail. set realname="Paul Duncan" set record=+.sent # Where to save sent mail? #set references set reply_regexp="^((re|RE|Re|r e|aw):[ \t]*)*" ###### S #set sendmail set signature="~/.signature" set simple_search="~f %s | ~C %s | ~s %s" # default pattern (Fr|To|Cc|Su) #set sort=threads # sorting method - I definitely like "threads" best #set sort_aux set sort_alias=alias set sort_browser=alpha set spoolfile=/var/spool/mail/pabs set status_chars="-*%A" # status of mbox (unchanged, changed, readonly, attach) #set status_format # see below with "Format Strings" ###### T #set timeout=60 # this is only for the mailbox set tmpdir="/tmp" # directory where temporary files are to be placed #set to_chars=" +TCF" #default (Not to me, To me, CC me, From me) ###### V #set visual ###### W set write_inc=10 # 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" ## index_format - format of all mails shown in the index display # %a address of the author # %b filename of the original message folder (think mailBox) # %B the list to which the letter was sent, or else the folder name (%b). # %c number of characters (bytes) in the message # %C current message number # %d date and time of the message in the format specified by # ``date_format'' converted to sender's time zone # %D date and time of the message in the format specified by # ``date_format'' converted to the local time zone # %f entire From: line (address + real name) # %F author name, or recipient name if the message is from you # %i message-id of the current message # %l number of lines in the message # %L list-from function # %m total number of message in the mailbox # %M number of hidden messages if the thread is collapsed. # %N message score # %n author's real name (or address if missing) # %O (_O_riginal save folder) Where mutt would formerly have stashed the # message: list name or recipient name if no list # %s subject of the message # %S status of the message (N/D/d/!/*/r) # %t `to:' field (recipients) # %T the appropriate character from the $to_chars string # %u user (login) name of the author # %v first name of the author, or the recipient if the message is from you # %Z message status flags # %{fmt} the date and time of the message is converted to sender's # time zone, and ``fmt'' is expanded by the system call # ``strftime''; a leading bang disables locales # %[fmt] the date and time of the message is converted to the local # time zone, and ``fmt'' is expanded by the system call # ``strftime''; a leading bang disables locales # %(fmt) the local date and time when the message was received. # ``fmt'' is expanded by the system call ``strftime''; # a leading bang disables locales # % the current local time. ``fmt'' is expanded by the system # call ``strftime''; a leading bang disables locales. # %>X right justify the rest of the string and pad with character "X" # %|X pad to the end of the line with character "X" ## Examples: set index_format="%4C %Z %[!%m/%d] %-17.17F (%3l) %s" # Tom's favourite ## pager_format - format of summary on current mail in the pager # Examples: #set pager_format="%S %C/%T: %-20.20n %s" # default set pager_format="%S [%C] %n (%l) %s" # Tom's favourite ## Default: "%N %F %2l %-8.8u %-8.8g %8s %d %f" # This variable allows you to customize the file browser display to your # personal taste. This string is similar to ``$index_format'', but has # its own set of printf()-like sequences: # %d date/time folder was last modified # %f filename # %F file permissions # %g group name (or numeric gid, if missing) # %l number of hard links # %N N if folder has new mail, blank otherwise # %s size in bytes # %u owner name (or numeric uid, if missing) # %>X right justify the rest of the string and pad with character "X" # %|X pad to the end of the line with character "X" set folder_format="%F %2l %-8.8u %-8.8g %d %8s %N %f" # status_format # Default: "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %?l? %l?]---(%s/%S)-%>-(%P)---" # Controls the format of the status line displayed in the index menu. # This string is similar to ``$index_format'', but has its own set of # printf()-like sequences: # %b number of mailboxes with new mail * # %d number of deleted messages * # %h local hostname # %f the full pathname of the current mailbox # %F number of flagged messages * # %l size (in bytes) of the current mailbox * # %L size (in bytes) of the messages shown (i.e., which match the current limit) * # %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 * # %o number of old unread messages # %p number of postponed messages * # %P percentage of the way through the index # %r modified/read-only/won't-write/attach-message indicator, according to $status_chars # %s current sorting mode ($sort) # %S current aux sorting method ($sort_aux) # %t number of tagged messages * # %u number of unread messages * # %v Mutt version string # %V currently active limit pattern, if any * # %>X right justify the rest of the string and pad with "X" # %|X pad to the end of the line with "X" # * = can be optionally printed if nonzero # Some of the above sequences can be used to optionally print a string # if their value is nonzero. For example, you may only want to see the # number of flagged messages if such messages exist, since zero is not # particularly meaningful. To optionally print a string based upon one # of the above sequences, the following construct is used # %??? # where sequence_char is a character from the table above, and # optional_string is the string you would like printed if status_char is # nonzero. optional_string may contain other sequence as well as normal # text, but you may not nest optional strings. # Here is an example illustrating how to optionally print the number of # new messages in a mailbox: # %?n?%n new messages.? # Additionally you can switch between two strings, the first one, if a # value is zero, the second one, if the value is nonzero, by using the # following construct: # %??&? ## Examples: #set status_format="%v: %f (%s) [%?M/?%m] [flags:%?t tagged,?%n new%?p post?]" #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]" #set status_format="%v: %f (%s) [%M/%m] [New=%n,*=%t,fldr=%b]" #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s-%>-%P-" #set status_format="Mailbox: %f (%s) %> [%M/%m] [New=%n FldrNew=%b %t* %lb]" set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %?l? %l?]---(%s/%S)-%>-(%P)---" ## ======================================================================== ## End of variables ## ======================================================================== ## ======================================================================== ## COMMANDS: ## (un)alias, alternates, auto_view, bind, (un)ignore, ## lists, my_hrd, sort, source. ## ======================================================================== ## ======================================================================== ## AUTO_VIEW - tell mutt which "content types" to view with ## the command given in the $HOME/.mailcap file. ## ======================================================================== auto_view text/html text/enriched application/x-gunzip application/postscript image/gif application/x-tar-gz application/pgp-signature ## ======================================================================== ## BIND - bind commands to keys. ## ======================================================================== ## Syntax unto version 0.60: bind ## Syntax From version 0.61: bind ## Values for : ## attach, folder-menu, alias-menu; index; pager. ## Special values for : pageup, pagedown, up, down, left, right ## Description: MUTT allows you to bind a command to keys. ## ======================== ## Bindings for attach menu ## ======================== bind attach ' ' select-entry ## ============================ ## Bindings for index and pager ## ============================ ## Jumping to the next mail that is still unread. ## The TAB key (\t) is convenient for this. bind index \t next-new bind pager \t next-new bind index ' ' next-unread bind pager ' ' next-unread # Show the version number with 'V': bind index V show-version bind pager V show-version ## ============================================== ## Bindings for editing and reloading the .muttrc ## ============================================== macro pager ,ve "!Eterm -e vim ~/.muttrc &\r" macro index ,ve "!Eterm -e vim ~/.muttrc &\r" macro browser ,ve "!Eterm -e vim ~/.muttrc &\r" macro pager ,vu ":source ~/.muttrc\r" macro index ,vu ":source ~/.muttrc\r" macro browser ,vu ":source ~/.muttrc\r" macro pager ,va "!Eterm -e vim ~/.mutt.aliases &\r" macro index ,va "!Eterm -e vim ~/.mutt.aliases &\r" macro browser ,va "!Eterm -e vim ~/.mutt.aliases &\r" ## These run fetchmail (or wake up the daemon) to get my mail when online. macro pager \cf "!fetchmail\r" macro index \cf "!fetchmail\r" macro browser \cf "!fetchmail\r" macro pager G "!fetchmail\r" macro index G "!fetchmail\r" macro browser G "!fetchmail\r" ## ====================== ## Bindings for index ## ====================== bind index P recall-message bind index s save-message bind browser x check-new # calling the webbrowser through use of urlview: macro index \cb "|urlview\n" # index bindings - obvious stuff bind index next-page bind index previous-page bind index \Cx sync-mailbox # create an alias from a message bind index A create-alias bind pager A create-alias # macro index S s="SPAM\n" macro index S add_spammer.pls="SPAM\n" macro pager S add_spammer.pls="SPAM\n" ## ====================================== ## Quickly change to my favorite folders: ## This mean pressing \ and then g will ## go to the Gnome directory... ## ====================================== macro index "\\b" "c=botany\r" macro index "\\c" "c=cm\r" macro index "\\e" "c=e\r" macro index "\\p" "c=pt\r" macro index "\\S" "c=sent-mail\r" macro pager "\\b" "c=botany\r" macro pager "\\c" "c=cm\r" macro pager "\\e" "c=e\r" macro pager "\\p" "c=pt\r" macro pager "\\S" "c=sent-mail\r" macro browser "\\b" "c=botany\r" macro browser "\\c" "c=cm\r" macro browser "\\e" "qc=e\r" macro browser "\\p" "c=pt\r" macro browser "\\S" "qc=send-mail\r" # Make 'I' go to the "Index" # ie to the mailbox: macro index I "c!\n" "Go to Inbox" macro pager I "c!\n" "Go to Inbox" macro browser I "c!\n" "Go to Inbox" # read my mail out loud! # funky gimmick, but I never use it =) macro pager ,s "|festival --tts\r" # Show documentation when pressing F1 macro generic "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation" macro index "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation" macro pager "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt documentation" ## =========================== ## Bindings for pager ## =========================== bind pager / search bind pager L list-reply bind pager b bounce-message bind pager f forward-message bind pager m mail bind pager a reply # 'a' is for "answer" bind pager g group-reply bind pager j next-line bind pager k previous-line bind pager : enter-command bind index x sync-mailbox bind index a tag-prefix bind index \; tag-entry bind pager p previous-undeleted bind pager n next-undeleted bind pager \n next-unread bind compose \n send-message bind compose s send-message ## =========================================== ## Tom's very cool cursor movement system [tm] ## =========================================== bind pager previous-line bind pager next-line bind pager exit bind pager view-attachments bind attach exit bind attach view-attach bind index display-message macro index "c?" bind browser select-entry bind browser exit ## ================= ## Color definitions ## ================= ## Format: ## color object foreground background ## Objects names for mutt 0.90 are: ## attachment, body, bold, error, header, hdrdefault, indicator, ## markers, message, normal, quoted, quoted1, ..., quotedN, ## search, signature, status, subject, tilde, tree, underline. ## Color names: ## white black green magenta blue cyan yellow red default colorx color attachment white magenta # .. # color body green black # .. # match ftp addresses: color body cyan default "ftp://[^ ]*" # match http addresses: color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]" # match URLs: color body cyan default "" color bold green default # .. color error red default # global color header yellow default "^cc: " color header green default "^date: " color header yellow default "^from " color header brightcyan default "^from: " color header yellow default "^newsgroups: " color header yellow default "^reply-to: " color header brightcyan default "^subject: " color header green default "^to: " color header yellow default "^x-mailer: " color header yellow default "^message-id:" color header yellow default "^Organization:" color header yellow default "^Organisation:" color header yellow default "^User-Agent:" color header yellow default "^message-id: .*pine" # color hdrdefault blue black # color indicator black green # index color markers red default# index color message white blue # index ## ================================================== ## Colorizing the body of messages (ie in the pager) ## ================================================== color normal white default # pager body # Coloring quoted text - coloring the first 7 levels: color quoted cyan default color quoted1 yellow default color quoted2 red default color quoted3 green default color quoted4 cyan default color quoted5 yellow default color quoted6 red default color quoted7 green default color signature brightred default # pager body color status white blue # status bar default: black white color tilde blue default # pager body color tree brightmagenta default # index color underline yellow default # Colorize smileys: :-) ;-) :-/ :-( color body yellow default "[;:]-[)/(|]" color body yellow default "[;:][)/(|]" color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*" # Remember: Order counts! The last matching rule "wins". # So we'll start with some general rules first: # color index yellow default ~N # New color index yellow default ~O # Old # various custom colorisations... color index brightgreen default '~s tgil' color index cyan default '~s pabs ~f cvs-commits-list' # mail to myself (personal mail): color index brightgreen default '~p' # mail from important people (like myself ;-): color index brightcyan default '~f (duncanpa@engr.orst.edu\|duncanp@(bcc\|ucs\|ava.bcc).orst.edu\|p_duncan@efn.org)' color index brightcyan default '~f (pabs@(pablotron.(org\|com)\|(work\|home\|10k\|www).pablotron.(org\|com)\|(10k\|pablotron\|themble).dhs.org)\|britneyspearsmail.com\|uberleet.net)' #color index brightcyan default '~f (gilbertt@tomgilbert\|tom@tomgilbert)' #color index brightcyan default '~f (gilbertt@(btinternet\|linuxbrit.co.uk))' color index magenta default ~F # Flagged color index blue default ~T # Tagged color index red default ~D # Deleted ## Command ignore : ## Syntax: ignore ## := { } ## 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 ## 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 from: date subject to cc reply-to: # "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: unignore user-agent: x-agent: x-mailer: x-newsreader: # recognize CCs from Usenet: # unignore message-id: newsgroups: posted-to: unignore newsgroups: posted-to: #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 * # # The default of "hdr_order" is: # hdr_order From Date: From: To: Cc: Subject: # And here is my favourite setting: hdr_order Date: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: From Newsgroups: To: Reply-To: From: Cc: Subject: ########## # MACROS # ########## # this is cool, dual text/html mails have only the text part shown - # transparently alternative_order text/plain # I like plaintext more than html. ## macro menu key sequence macro index ,l "l~N ! ~p\n" macro index ,n "l~N\n" ## "alternates" tells mutt about your addresses. Mutt thus can show mails ## addresses to you in the folder index as "personal" using the flag '+'. ## Mails which do not contain any of your addresses in the header ## are considered "unpersonal" and are not flagged. ## And when you "group-reply" to a mail then all your personal addresses ## can be filtered out so you will not receive an extra copy. set alternates=(duncanpa@engr.orst.edu\|duncanp@(bcc\|ucs\|ava.bcc).orst.edu\|p_duncan@efn.org\|pabs@(pablotron.(org\|com)\|(work\|home\|10k\|www).pablotron.(org\|com)\|(10k\|pablotron\|themble).dhs.org)\|britneyspearsmail.com\|uberleet.net) #set alternates=(tom@tomgilbert.freeserve.co.uk|pingu@linuxfreak.com|gilbertt@(btinternet.com|linuxbrit.co.uk|tomgilbert.freeserve.co.uk)) # Set the defaults for folders: folder-hook . set timeout=30 folder-hook . set sort=threads folder-hook . set sort_aux=date-sent # When I'm in the main index, check more often :) folder-hook "!" set timeout=5 # Mail in my inbox is more date than thread sensitive... folder-hook "!" set sort=date-received folder-hook "sent-mail" set sort=date-received folder-hook . unmy_hdr * folder-hook . my_hdr From: Paul Duncan #folder-hook . my_hdr X-Editor: Vim http://www.vim.org/ folder-hook . set signature=~/.signature # crackmonkey hooks folder-hook cm set signature=~/.sigs/crackmonkey folder-hook cm my_hdr From: Paul Duncan folder-hook cm my_hdr X-Info: http://www.pablotron.org/ # pablotron hooks folder-hook pt set signature=~/.sigs/pablotron folder-hook pt my_hdr From: Paul Duncan folder-hook pt my_hdr X-Info: http://www.pablotron.org/ # botany hooks folder-hook botany set signature=~/.sigs/botany folder-hook botany my_hdr From: Paul Duncan # Broken mailing lists stuck with an old mail addy of mine... #folder-hook redhat-list unmy_hdr * #folder-hook redhat-list my_hdr From: Tom Gilbert #folder-hook redhat-list my_hdr X-Editor: Vim http://www.vim.org/ #folder-hook redhat-list my_hdr X-Info: http://www.tomgilbert.freeserve.co.uk/ ## "lists" adds a list of mailing lists addresses ## so mutt knows about these for showing them in the folder indes ## and to allow replying to them with the command "list-reply". ## The first part of the address (up to the @) should be used here. unlists * # remove old entries first lists `cd ~/mail && echo *` #unsubscribe * #subscribe `cd ~/Mail && echo *` ## "mailboxes" defines the list of folders to be checked for new mail - ## and such folders are called "mailboxes" ## Mutt both can show the number of mailboxes with new mail in the index and ## you can cycle through these after giving the "change-folder" command. :-) mailboxes ! mailboxes `for file in ~/mail/*; do echo -n "+$(basename $file) "; done` # # GnuPG goodies from mutt-1.2.5i/contrib/gpg.rc # # -*-muttrc-*- # # Command formats for gpg. # # This version uses gpg-2comp from # http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz # # $Id: gpg.rc,v 1.5.2.1 2000/05/23 08:15:02 roessler Exp $ # # %p The empty string when no passphrase is needed, # the string "PGPPASSFD=0" if one is needed. # # This is mostly used in conditional % sequences. # # %f Most PGP commands operate on a single file or a file # containing a message. %f expands to this file's name. # # %s When verifying signatures, there is another temporary file # containing the detached signature. %s expands to this # file's name. # # %a In "signing" contexts, this expands to the value of the # configuration variable $pgp_sign_as. You probably need to # use this within a conditional % sequence. # # %r In many contexts, mutt passes key IDs to pgp. %r expands to # a list of key IDs. # decode application/pgp set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" # verify a pgp/mime signature set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" # decrypt a pgp/mime attachment set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" # create a pgp/mime signed attachment # set pgp_sign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" # create a application/pgp signed (old-style) message # set pgp_clearsign_command="gpg-2comp --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" # create a pgp/mime encrypted attachment # set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" set pgp_encrypt_only_command="pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" # create a pgp/mime encrypted and signed attachment # set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" # import a key into the public key ring set pgp_import_command="gpg --no-verbose --import -v %f" # export a key from the public key ring set pgp_export_command="gpg --no-verbose --export --armor %r" # verify a key set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" # read in the public key ring set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" # read in the secret key ring set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" # receive key from keyserver: #set pgp_getkeys_command="wrap.sh -g %r" set pgp_getkeys_command=""