# .muttrc November 03 2003 # # Start with keybindings # bind index next-page bind index previous-page bind pager exit bind pager delete-message bind pager next-page macro pager \Cw "|spamassassin -W\n" # Add address to whitelist macro index S "bsa@bb.cactii.net\ryd" # bounce message to spam learner macro pager S "bsa@bb.cactii.net\ryd" # bounce message to spam learner # # Formatting # set index_format=" %3C %Z %{%e %b} %-13.13F (%4c) %-40.40s" set pager_format="-%Z- %C/%m: %-20.20n %s" set status_format="-%r- %f [%m messages,%?n?%n new,?%?d?%d del,?%?F? Flag:%F?%?t? Tagged:%t?%?p? Post:%p? %l] %> (%s) " set forw_format="(fwd) %s" set simple_search="~h %s" # search all headers # # Personal data # set realname="Ben Buxton" set hostname="cactii.net" set attribution="%f uttered the following thing:" set signature = ~/.signature set folder=~/Mail set mbox=+mbox set postponed=~/.mutt-postponed set editor="vim -c 'set nobackup' -c 'set tw=72 et' -c 'syn on' " # # colours # color error brightyellow default color indicator brightyellow red color tree white black color normal brightwhite default color status brightwhite blue color index brightwhite default "" color index brightcyan default ~N color index brightcyan default ~O color index brightwhite default ~D color hdrdefault brightyellow black color header brightyellow black ^From: color header brightyellow black ^Subject: color body brightcyan black "(ftp|http|https|file|mailto|finger|news)://[^ ]+" color body brightcyan black "[-a-z_0-9.]+@[-a-z_0-9.]+" color quoted cyan default color quoted1 brightgreen default color quoted2 red default color quoted3 brightmagenta default color signature red default color attachment yellow black mono header underline ^(From|Subject): # # Various config variables set delete # Delete marked messages on exit set move=no # Don't move messages on exit set abort_nosubject=no # Dont abort if no subject given to new mail set mime_forward=ask-yes # Ask to forward messages as mime set reply_to="yes" # Always use reply-to header when replying set include="yes" # include original message in replies set fast_reply # Jump to editor on reply, skip recipients unset confirmappend # Dont ask about mailbox appending unset confirmcreate # Dont ask about creating mailboxes unset metoo # dont keep myself in group replies? set reverse_alias # if no "realname", use rname from rev. alias lookup set record=+sent # save a copy of outgoing messages set force_name # outgoing mail to save in folder of "login name" set auto_tag # Apply command to all tagged messages set pager_index_lines=7 # Show index at top of the pager set ascii_chars # Use only ascii chars for thread tree set reverse_name # Reply with the address msg was sent to unset mark_old # On exit, don't mark unread messages as old unset save_empty # delete folders if they are empty auto_view text/html # Automatically decode and display html # # change sorting for different folders # folder-hook . set sort=date-received folder-hook slug set sort=threads folder-hook nanog set sort=threads folder-hook mutt set sort=threads # Most mailboxes get a default colour folder-hook . "uncolor index *" folder-hook . 'color index brightwhite default ""' folder-hook . 'color index brightcyan default ~N' folder-hook . 'color index brightcyan default ~O' folder-hook . 'color index brightwhite default ~D' # In my main mailbox, list mail is coloured a bit differently folder-hook /var/spool/mail/bb "uncolor index *" folder-hook /var/spool/mail/bb 'color index brightwhite default ""' folder-hook /var/spool/mail/bb 'color index brightcyan default ~N' folder-hook /var/spool/mail/bb 'color index brightcyan default ~O' folder-hook /var/spool/mail/bb 'color index brightwhite default ~D' folder-hook /var/spool/mail/bb 'color index white default "~h X-ListName"' # # Headers to send and display # my_hdr X-PGP-Key: 3CD061AD my_hdr X-PGP-Fingerprint: E092 32CA 6196 7C11 0692 BE43 AEDA 4D47 3CD0 61AD ignore * unignore from: date subject to cc hdr_order Date: X-Mailer: To: CC: From: Subject: # Mailboxes to show on a change folder mailboxes =nanog =slug =mutt