#source ~/MAIL/.muttrc # character set on messages that we send set send_charset="utf-8" # if there is no character set given on incoming messages, it is probably windows set assumed_charset="iso-8859-1" # make sure Vim knows mutt is a mail client and that we compose an UTF-8 encoded message set editor="vim -c 'set syntax=mail ft=mail enc=utf-8'" # just scroll one line instead of full page set menu_scroll=yes # we want to see some MIME types inline, see below this code listing for explanation auto_view application/msword auto_view application/pdf auto_view application/vnd.openxml* auto_view text/html set implicit_autoview=yes set menu_scroll=yes # make default search pattern to search in To, Cc and Subject set simple_search="~f %s | ~C %s | ~s %s" # threading preferences, sort by threads set sort=threads set strict_threads=yes # show spam score (from SpamAssassin only) when reading a message spam "X-Spam-Score: ([0-9\\.]+).*" "SA: %1" set pager_format = " %C - %[%H:%M] %.20v, %s%* %?H? [%H] ?" # do not show all headers, just a few ignore * unignore From To Cc Bcc Date Subject # and in this order unhdr_order * hdr_order From: To: Cc: Bcc: Date: Subject: # brighten up stuff with colours, for more colouring examples see: # http://aperiodic.net/phil/configs/mutt/colors color normal white default color hdrdefault brightyellow default color quoted brightyellow default color quoted1 yellow default color quoted2 white default color signature cyan default color indicator white blue color error brightred default color status brightwhite default color tree brightmagenta default color tilde blue default color attachment brightyellow default color markers brightred default color message white default color search brightwhite magenta color bold brightyellow default color index red default ~D color index cyan default ~T # if you don't like the black progress bar at the bottom of the screen, # comment out the following line #color progress white black macro index,pager \cb " python3 ~/.local/bin/urlscan" "call urlscan to extract URLs out of a message" set timeout=30 set index_format="%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c " bind pager "j" next-line bind pager "k" previous-line bind pager "G" bottom bind pager "gg" top bind index "G" last-entry bind index "gg" first-entry bind index "S" sidebar-toggle-visible bind pager "S" sidebar-toggle-visible bind index "J" sidebar-next bind pager "J" sidebar-next bind index "K" sidebar-prev bind pager "K" sidebar-prev bind index "L" sidebar-open bind pager "L" sidebar-open set crypt_use_gpgme=yes #set query_command="mutt_vc_query '%s'" set query_command="lbdbq %s" set tmpdir="~/MAIL/mutttmp/" set message_cachedir="~/MAIL/muttmcache/" set header_cache="~/MAIL/mutthcache/" #see example_muttrc.mailboxes to set up this file! source ~/local_muttrc.mailboxes source ~/MAIL/muttrc.aliases alias zurab \"Janelidze, Z, Prof [zurab@sun.ac.za]\" alias 21680809 \"Rey, JM, Mej [21680809@sun.ac.za]\" <21680809@sun.ac.za> alias mwild \"Wild, Marcel, Prof [mwild@sun.ac.za]\" alias smo \"Mouton, S, Prof [smo@sun.ac.za]\" alias bfischer Bernd Fischer alias intpreregistration \"intpreregistration@sun.ac.za\" alias hproding \"Prodinger, Helmut [hproding@sun.ac.za]\" alias tammya \"Abrahams, T, Mrs [tammya@sun.ac.za]\" alias djbasson \"Basson, DJ, Dr [djbasson@sun.ac.za]\"