# Andrew McNabb's .muttrc # # default from address set from=amcnabb@mcnabbs.org set realname="Andrew McNabb" # regex for mutt to recognize which addresses are to me alternates "^(amcnabb|andrew@mcnabbs.org|a@mcnabbs.org|a@cs.byu.edu)" # with use_domain, make outgoing addresses without hostname be @mcnabbs.org set hostname=mcnabbs.org #cache passphrase for ## seconds set pgp_timeout=1800 # DOUBLE CHECK THIS set reverse_name ############################################################################## # Mailbox Options # use maildir for new folders set mbox_type="Maildir" # Default location of mailboxes set folder=~/mail # folders that mutt should poll for new messages (note: this line must # be after the "set folder" line) mailboxes =IN =Ismug =Isystem =Iuugoff =Iuug =Iplug =Ipython =Itwisted =Ipssh #=Inutch # primary inbox set spoolfile=+/IN # location of postponed messages folder set postponed=+/Postponed # don't mark unread messages as old set mark_old=no # location of sent-mail folder set record=+/archive # maildir caching for speed improvements set header_cache=~/.mutt_header_cache # don't automatically advance to the next message set resolve=no #save-hook ~A =archive # Note: to archive sent mail, do something like: # T~r-31/12/07 # ;s=archive07 #mime_lookup application/octet-stream ############################################################################## # General UI Options # Put the Status bar at the top of the page instead of the bottom. set status_on_top=yes # ask before quitting. set quit=ask-yes ############################################################################## # Compose Options # sometimes I want to send a message with no subject set abort_nosubject=no # sometimes I want to send a message without changing the body set abort_unmodified=no # don't include Delivered-To headers when bouncing set bounce_delivered=no # subject line for forwarded messages set forward_format="Fwd: %s" # forward files as an attachment instead of inline set mime_forward=yes # always forward other attachments, too set mime_forward_rest=ask-yes # Don't decode MIME messages to text/plain when forwarding set forward_decode=no # often I don't edit forwarded messages set forward_edit=no # always save copy of outgoing messages set copy=yes # in outgoing mail, convert addresses with no hostname to be @mcnabbs.org # (specified by hostname) set use_domain=yes # use vim--mail-specific options are in .vimrc set editor="vim -c 'set filetype=mail'" # signature set signature="~/.signature" set sig_dashes=no # send hooks send-hook "~A" unmy_hdr From send-hook "~C cs\.byu\.edu" my_hdr "From: Andrew McNabb " send-hook "~C uug\.byu\.edu" my_hdr "From: Andrew McNabb " send-hook "~C smug-devel@lists\.sourceforge\.net" my_hdr "From: Andrew McNabb " # pgp and composing set pgp_autosign=yes set pgp_replyencrypt=yes set pgp_replysignencrypted=yes set forward_decrypt=no # don't do smime, even if I'm replying to an smime'd message set crypt_autosmime=no set send_charset="us-ascii:utf-8" #set ignore_list_reply_to=yes ############################################################################## # Message Index Options # check for new messages every n seconds (while keys are being pressed) set mail_check=5 # check for new messages every n seconds (while inactive) set timeout=30 # don't move messages from my inbox set move=no # don't automatically create new mailboxes when I save a message set confirmcreate=yes # don't retardedly confirm when saving messages set confirmappend=no # searches wrap back to the top of the mailbox set wrap_search=yes # sort by threads set sort=threads # subsort by date set sort_aux=date-sent ############################################################################## # Pager Options # html email stinks #auto_view text/html set implicit_autoview=yes # show text/plain over text/html if both are available alternative_order text/plain text/html text # overlap n lines when skipping to next page set pager_context=3 set menu_context=3 # show n messages from message index above the pager set pager_index_lines=6 # don't scroll jump into next message at the bottom of this message set pager_stop=yes # don't put a "+" marker at the beginning of wrapped lines set markers=no # pad blank lines with tilde a la vi set tilde=yes # headers to show ignore "Errors-To" "List-" "Received" ignore "X-" "User-Agent" "In-Reply-To" "Mime-Version" "X-Mailer" ignore "Message-ID" "References" "Mailing-List" ignore "Delivered-To" "Return-Path" ignore "Content" "Importance" "Precedence" ignore "DomainKey-Signature" "DKIM-Signature" "Comment" "Thread-Index" ignore "Authentication-Results" ignore "Approved-By" "Face" ignore "Accept-Language" "AcceptLanguage" "Thread-Topic" unignore "Date" # deal with inline pgp (as opposed to MIME) set pgp_auto_decode=yes #set signature="~/bin/mailsig.php|" #send-hook "cs\.byu\.edu" my_hdr "From: Andrew McNabb " color normal default default ############################################################################## # Commands and Macros # Note: # -- arrows # # # \Ca = ^a, etc. # # functions listed at mutt.org # special function 'noop' for no-operation # Pine-style pager keys, etc. bind index next-page bind index - previous-page bind pager next-line bind pager previous-line # Archival macro index a N=archive 'archive the current message' macro pager a N=archive 'archive the current message' macro index \ca ";=archive" 'archive the current thread' macro pager \ca ";=archive" 'archive the current thread' # Printing set print_command="print.sh" # abook: Use "Q" to query, "a" to run abook, and "A" to add to address book set query_command="abook --mutt-query '%s'" macro index A |'abook --add-email'\n " macro pager A |'abook --add-email'\n " # URL Extraction macro index \cb |urlview\n 'call urlview to extract URLs out of a message' macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' # Labels--see http://blitiri.com.ar/p/other/mutt-labels/ macro index \Cy "~y " "Limit view to label" # Append label: macro index y "set editor=\"~/bin/editlabel append\"\n\ set editor=vim\n" "Append label" macro pager y "set editor=\"~/bin/editlabel append\"\n\ set editor=vim\n" "Append label" # Edit labels: macro index Y "set editor=\"~/bin/editlabel menu\"\n\ set editor=vim\n" "Edit labels" macro pager Y "set editor=\"~/bin/editlabel menu\"\n\ set editor=vim\n" "Edit labels" ############################################################################## # other files #source ~/.mutt-pgp #source ~/.mutt-bindings