# -*- sh -*- # rich's mutt configuration file # # stuff that needs to be done before anything else set folder = "~/mail" set alias_file = ~/.mutt.aliases source ~/.mutt.aliases # mailing lists lists mutt-users mutt-devel shoptalk sun-managers hl-staff lists hl-staff apple-net appleshareip webstar tru64-unix-managers lists macperl iits-web web-managers retro-talk tango-talk lists yellowdog netatalk-admins linuxppc classiccmp lists webct-sec webct-users webct-beta irtrad-l perl5-porters lists european-yapc yas-talk # horde lists: lists imp@list doc@list dev@list horde # regex of my email addresses set alternates=((rlaffe|bllj)@.*\.mcgill\.ca|(rich|webgroup)@(vax2|alcor|mustard|relish)\.concordia\.ca|root@(mustard|relish)\.concordia\.ca|webmaster@concordia\.ca|.*@bofh\.concordia\.ca|rich_l@sympatico\.ca) # headers to add my_hdr X-Disclaimer: I speak for me, not Concordia. my_hdr X-PGP-Key: finger rich@alcor.concordia.ca my_hdr X-PGP-Fingerprint: finger rich@vax2.concordia.ca # mailboxes to check for new mail. "!" is inbox mailboxes =grepmail-results ! =IN.ConU =IN.WebLists =IN.YAPC =IN.WebCT mailboxes =IN.Irchelp =IN.Horde =IN.YAS-talk mailboxes =IN.Classics =IN.Bugtraq =IN.Irtrad =IN.Linux mailboxes =IN.WindowMaker =IN.Mutt-Users =IN.Perl =IN.Protocols mailboxes =IN.UnixMgrs =IN.AppleServers =IN.killfile # format string settings set attribution = "On %d, %n (%a) wrote:" set forward_format = "Fwd: [%a: %s]" set pager_format = "%S [%C/%T] %n (%l) %s" # Sven's favourite set quote_regexp = "^ *[a-zA-Z]*[]>|}()%:=-][]>|}():=-]*" # More Sven set status_format = "[%r] %h %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]" set index_format = "%4C %Z %{%b %d} %-15.15F (%4l) %s" # headers to display, ignore ignore * unignore from date subject to cc reply-to: unignore organization organisation x-mailer: x-newsreader: x-mailing-list: unignore posted-to: x-mailfolder: # hooks set default_hook="~f %s | (~P (~c %s | ~t %s))" # hide IMAP metamessage: #folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\"" # handle webmaster mail fcc-save-hook webmaster@concordia.ca =webmaster fcc-save-hook webgroup@alcor.concordia.ca =webmaster # YAPC mail fcc-save-hook lenzo@cs.cmu.edu =yapc fcc-save-hook european-yapc@othersideofthe.earth.li =yapc fcc-save-hook yas-talk@yapc.org =yas-talk fcc-save-hook yas-talk@metronomicon.org =yas-talk # misc settings set ascii_chars set edit_hdrs # set editor = "em %s" unset forward_decode set help set hostname = "alcor.concordia.ca" set ignore_list_reply_to set include = "yes" set mbox = "=read-msgs" set mime_forward = "ask-no" set move = "no" set pager_index_lines = 6 set pager_stop = "no" set pgp_autosign set pgp_default_version = "gpg" set pgp_timeout = 900 unset pipe_split set pop_delete set pop_host = "pop3.mcgill.ca" set pop_user = "rich" set pop_pass = "MYPASSWORDHERE" set postponed = "=postponed-msgs" # set query_command = "~/bin/mutt_ph_query.pl '%s'" # Get muttph from http://alcor.concordia.ca/~rich/mutt/ ! set query_command = "~/bin/muttph '%s' phone.concordia.ca name email title department phone" set record = "=sent-mail" set reverse_alias set reverse_name set save_empty set save_name set sort = "threads" set sort_alias = "alias" set status_chars = "-*%A" # emacs-like set status_on_top set tmpdir = "~/tmp" set write_bcc # recommended for exim. Why? # bindings bind alias " " tag-entry bind alias \n select-entry bind alias \r select-entry bind attach n next-entry bind browser last-entry bind browser first-entry bind generic "\CV" next-page bind generic "\Ca" first-entry bind generic "\Ce" last-entry bind generic "\eV" previous-page bind generic "\ev" previous-page bind generic $ last-entry bind index p previous-entry bind index K previous-entry bind index n next-entry bind index J next-entry bind index $ last-entry bind index * flag-message bind generic + tag-entry bind pager + tag-message # tag-entry doesn't work in pager bind index ";" limit bind index R group-reply bind index \em recall-message bind generic ^ first-entry bind index a tag-prefix bind generic a tag-prefix bind index d delete-message #bind index delete-message bind index last-entry bind index first-entry bind index t create-alias bind index x sync-mailbox bind index q quit bind index Q query bind index y print-message bind pager "\Cp" previous-line bind index a tag-prefix bind pager G group-reply bind pager R group-reply bind pager \em recall-message bind pager delete-message bind pager next-line bind pager bottom bind pager top bind pager n next-entry bind pager q exit bind pager t display-headers bind pager previous-line bind pager y print-message bind attach i exit bind attach p previous-entry bind attach " " select-entry bind index m mail bind pager "\Cn" next-line bind query i exit # color settings color attachment brightmagenta black # guess :-) color error brightwhite red # errors yell at you in red color hdrdefault red black # headers color indicator brightyellow magenta # currently selected message, etc color markers brightcyan black # the + for wrapped pager lines color message brightcyan black # informational messages, *not mail* color normal white black # plain text color quoted green black # quoted text color search brightgreen black # hilite search patterns in the pager color signature red black # signature (after "-- ") is red color status brightyellow blue # status bar is yellow *on blue* color tilde blue black # ~'s after message body color tree red black # thread tree in index menu is magenta color header cyan black ^(From|Subject): # Important headers color body magenta black "(ftp|http)://[^ ]+" # picks up URLs in body of message. color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ # picks up email addresses mono header underline ^(From|Subject): mono quoted bold mono error standout mono indicator bold mono status reverse mono search reverse