#system configuration file for Mutt # # default list of header fields to weed when displaying # ignore "from " received content- mime-version status x-status message-id ignore sender references return-path lines in-reply-to user-agent ignore x- precedence priority envelope-to delivery-date list- #GPG stuff set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to miles.gould@new.ox.ac.uk -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to miles.gould@new.ox.ac.uk -- -r %r -- %f" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" #set pgp_autosign=yes #set pgp_sign_as=0xC9C40C31 set pgp_replyencrypt=yes set pgp_timeout=1800 #set pgp_good_sign="^gpg: Good signature from" # map delete-char to a sane value bind editor delete-char # some people actually like these settings #set pager_stop #bind pager previous-line #bind pager next-line # Specifies how to sort messages in the index menu. set sort=threads # Exim does not removes Bcc headers unset write_bcc # weed out binary-only announcements to -devel-changes #macro index \CW T!~s\(.*source.*\)\nWn^T~A\n "Weed out binary-only announcements" # imitate the old search-body function macro index \eb '/~b ' 'search in message bodies' # If Mutt is unable to determine your site's domain name correctly, you can # set the default here. # set hostname=new.ox.ac.uk # If your sendmail supports the -B8BITMIME flag, enable the following # # set use_8bitmime # colors #color hdrdefault cyan default #color quoted green default #color signature cyan default #color attachment brightyellow default #color indicator black cyan #color indicator brightblack cyan # nicer in reverse-color xterms #color status brightgreen blue #color tree red default #color markers brightred default #color tilde blue default #color header brightgreen default ^From: #color header brightcyan default ^To: #color header brightcyan default ^Reply-To: #color header brightcyan default ^Cc: #color header brightblue default ^Subject: #color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ #color body brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+ #my own stuff bind generic "\e<" first-entry # emacs-like bindings for moving to top/bottom bind generic \e> last-entry bind generic { top-page bind generic } bottom-page bind generic \177 last-entry macro index \cb |urlview\n # simulate the old browse-url function macro index S s+spam\n macro pager S s+spam\n #macro index \# /bug^M # search for bugs #macro index "\"" ":set realname=\"real hairy macro\"^M:set ?realname^M" # and a comment to boot! #macro index f1 :woohoo! bind pager G bottom # just like vi and less # Set the editor to wrap lines at 75 columns set editor="vim" set realname="Miles Gould" set attribution="%n wrote:" set tilde unset beep set beep_new unset mark_old set edit_headers set autoedit set postpone=ask-yes set include=yes set move=no set quit=ask-yes set delete=yes unset wait_key mailboxes {newc1160.herald.ox.ac.uk}INBOX set spoolfile={newc1160.herald.ox.ac.uk}INBOX set folder={newc1160.herald.ox.ac.uk}mail set record={newc1160.herald.ox.ac.uk}mail/sent-mail set postponed=~/mail/heraldpostponed # this version doesn't support the from variable, so set from="Miles Gould " macro index \cb |urlview\n macro pager \cb |urlview\n macro index i l\ca\ck.\n "unlimit display" macro index \cj |dejcr|less\n "remove EXCITEMENT!!!!" macro pager \cj |dejcr|less\n "remove EXCITEMENT!!!!" macro attach w "|antiword - | less\n" "view Word document" set certificate_file=certfile set imap_force_ssl=yes set imap_user=newc1160 #set imap_checkinterval=30 set imap_passive=no set imap_list_subscribed=no set imap_home_namespace=mail/ # aliases for my friends' email addresses, which I won't post here.