Add mutt, slrn, tf and ignore bak

This commit is contained in:
2019-10-18 11:25:27 +01:00
parent 1f68473e23
commit b4e12f7117
4 changed files with 883 additions and 0 deletions

254
muttrc Normal file
View File

@@ -0,0 +1,254 @@
#!mutt
# -*-sh-*-
set header_cache="~/.mutt_hcache"
set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %s"
set followup_to=no
set check_mbox_size=yes
#set ssl_force_tls
set ssl_starttls=yes
alternative_order text/plain text/html text
auto_view text/html
mime_lookup application/octet-stream
set folder="~/mail"
set spoolfile="/var/mail/paul" # where my new mail is located
mailboxes !
mailboxes =culture =bsllearners
mailboxes =mutt-dev =valgrind-users =inn-workers
mailboxes =cryptography =cryptography-new =cryptlib =ukcrypto
mailboxes =signs-of-god =scrumpy-msw =liberationtech
mailboxes =travis
mailboxes =ebay/aw-confirm
mailboxes =haskell-beginners =haskell-cafe
mailboxes =fodh
mailboxes =unsure =sa-unsure =crm-spam =sa-spam
mailboxes =freegle-bristol
set hostname="blacksun.vm.bytemark.co.uk"
set pgp_replyencrypt
set pgp_replysign
set pgp_replysignencrypted
alternates "(linedit-devel|usenet|paul|ebay)@blacksun.org.uk|(pwalker|paul.walker)@broadcom.com|arafel@gmail.com|h.devore@gmail.com|admin@vincentfamily.org.uk|paul@familywalker.org"
# default hooks
send-hook . set signature=~/.signature_plain
send-hook . my_hdr From: Paul Walker <paul@blacksun.org.uk>
folder-hook . set sort=threads
folder-hook . set strict_threads="yes"
# send-hooks
# These expressions should hopefully capture just the automated addresses used
# to add stuff, so if I email someone at those domains it'll still signature
# me.
send-hook readlater.*@instapaper\.com unset signature
send-hook post.*@pinboard\.in unset signature
send-hook lyndacarter.*@yahoogroups.com my_hdr From: Paul Walker <paul@blacksun.org.uk>
send-hook lyndacarter.*@yahoogroups.com set signature=~/.signature
lists busstop@culturelist\.org BritishSignLanguageLearners
lists deaf-uk-tech deaf-uk-chat deaf-bristol-events signs-of-god
lists liberationtech cryptography cryptography-new cryptlib ukcrypto
lists inn-workers linux-mips linedit-devel
# folder-hooks
folder-hook (culture|ukcrypto|brin-l) set strict_threads="no"
folder-hook sent set sort=date
save-hook "~f order-update@amazon.co.uk" =orders
save-hook "~f auto-confirm@amazon.co.uk" =orders
save-hook "~f auto-shipping@amazon.co.uk" =orders
save-hook "~f digital-no-reply@amazon.co.uk" =orders
save-hook "~f service@paypal.co.*" =paypal
save-hook "~f service@paypal.ch" =paypal
save-hook "~f bidpay.com" =bidpay
save-hook "~t fictionwise@blacksun.org.uk" =fictionwise
save-hook "~f bugzilla-daemon@mozilla.org" =bugzilla
save-hook "~f dyslexicstar" =paula
save-hook "~t gnupg-announce" =gnupg-announce
save-hook "~f flyingbuffalo.com" =flyingbuffalo
save-hook "~f rhodes@oletheros.com" =oletheros
save-hook "~f .*facebook.com" =facebook
save-hook "~f .*facebookmail.com" =facebook
save-hook "~f .*lightspeedpanel.com" =lightspeed
save-hook "~f .*twitter.com" =twitter
save-hook "~f .*kickstarter.com" =kickstarter
save-hook "~f .*ancestry\.co\.uk" =ancestry
save-hook "~f FTPersonalFinance@.*ft\.com" =ic
save-hook "~f .*ft\.com" =ft
save-hook "~f .*biblegateway\.com" =biblegateway
save-hook "~f .*claire\.walker10@gmail\.com" =claire
save-hook "~f .*bananafrog@fastmail\.fm" =claire
save-hook "~f .*dailysciencefiction.com" =dsf
save-hook "~f .*h-l\.co\.uk" =hl
set nomove
set noconfirmappend
set abort_unmodified=yes # automatically abort replies if I don't
# change the message
set alias_file=~/.mutt/aliases # where I keep my aliases
set allow_8bit # never do Q-P encoding on legal 8-bit chars
#set arrow_cursor # use -> instead of hiliting the whole line
#set askbcc
#set askcc
set attribution="On %d, %n wrote:\n"
#set autoedit # go to the editor right away when composing
set auto_tag # always operate on tagged messages
#set charset="iso-8859-1" # character set for your terminal
set copy=yes # always save a copy of outgoing messages
set delete=ask-yes # purge deleted messages without asking
set edit_hdrs # let me edit the message header when composing
#set editor="joe +8" # editor to use when composing messages
#set editor="emacs -nw" # editor to use when composing messages
#set editor=builtin
#set editor="~/.edit.sh"
set editor="joe +9"
set fcc_attach=no # Include attachments in copies of sent messages?
#set force_name # save outgoing by recipient, create if mailbox doesn't exist
#set forw_format="[%a: %s]" # subject to use when forwarding messages
# format of lines in the message index
#set hdr_format="%4C %Z %02m/%02N %-15.15L (%4l) %s"
#set header # include message header when replying
set help # show the help lines
#set history=20 # number of lines of history to remember
#set nohold # move read message to ``mbox''
#set hostname="cs.hmc.edu" # my DNS domain
#set in_reply_to="%i; from %f on %d"
set include=yes # always include the message in replies
set indent_str="> "
#set mailcap_path="~/.mailcap:/usr/local/share/mailcap"
set nomark_old # i don't care about whether a message is old
set markers=no
set mbox=mail/personal # where to store read messages
unset metoo # don't remove my address when replying
set mime_fwd=ask-yes # use message/rfc822 type to forward messages
set move=no # don't ask about moving messages, just do it
#set pager=less # some people prefer an external pager
#set pager_context=3 # no. of lines of context to give when scrolling
#set pager_format="-%S- %-20.20f %s" # format of the pager status bar
#set pager_stop # don't move to the next message on next-page
#set point_new # jump to the first new message on startup
set print=ask-yes # ask me if I really want to print messages
set print_cmd='lpr ' # how to print things (I like to save trees)
set noprompt_after # ask me for a command after the external pager exits
set query_command="abook --mutt-query '%s'"
#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text
set read_inc=25 # show progress when reading a mailbox
#set recall # when there are postponed messages, ask me to resume
set postponed="~/mail/postponed"
set record=+sent # save copies of outgoing messages in +outbox
set reply_to=ask-yes # ask me if I want to use the given reply-to address
set resolve # move to the next message when an action is performed
#set reverse_alias # attempt to look up my names for people
set reverse_name
set nosave_empty # remove files when no messages are left
#set save_name # save outgoing messages by recipient, if the
# mailbox already exists
set sendmail="/usr/sbin/sendmail"
set signature="~/.signature_plain" # file which contains my signature
set shell="/bin/bash" # program to use for shell escapes
#set status_on_top # some people prefer the status bar on top
#set strict_threads # don't thread by subject
#set tilde # use virtual lines to pad blank lines in the pager
set timeout=3 # how long to wait before autochecking for new mail
set pop_checkinterval=600
set tmpdir=/tmp # where to store temp files
#set to_chars=" +TCF"
#set url_regexp="((ftp|http|https)://|mailto:)[^ ]*[^., \n\t>\)]"
#set use_mailcap=yes # always use a mailcap entry when found
#set verify_sig=yes # don't automatically verify message signatures
set visual=joe # editor invoked by ~v in the builtin editor
#set web_browser=lynx # program to use when viewing URLs
set write_inc=25 # show progress while writing mailboxes
set beep
set fast_reply
set write_bcc=no
set pgp_auto_decode=yes
#
# I subscribe to a lot of mailing lists, so this is _very_ useful. This
# groups messages on the same subject to make it easier to follow a
# discussion. Mutt will draw a nice tree showing how the discussion flows.
#
#sort threads
#
# Header fields I don't normally want to see
#
ignore * # this means "ignore all lines by default"
# I do want to see these fields, though!
unignore from: subject to cc date x-mailer x-url user-agent
#
# Color definitions
#
color hdrdefault brightblue black
color quoted white black
color quoted magenta black
color signature brightred black
color indicator brightyellow red
color error brightred black
color status brightyellow blue
color tree brightmagenta black
color tilde brightmagenta black
color message brightcyan black
color normal white black
color attachment yellow black
color search black green
color header brightcyan black ^(From|Subject|To|Cc|Date):
color body brightyellow black "(ftp|http)://[^ \)]+"
color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+
color signature red black
mono header underline ^(From|Subject):
mono quoted bold
#
# Key bindings
#
bind index { top-page
bind index } bottom-page
bind pager G bottom
#
# Keyboard macros
#
#macro index \# ':this is a really long macro string that might not work everywhere'
#
# User Defined Headers
#
#my_hdr From: Paul Walker <paul@blacksun.org.uk>
#
# I use Mutt on several different machines, so I put local config commands
# in a separate file so I can have the rest of the settings the same on all
# machines.
#
source ~/.mutt/aliases
source ~/.mutt/keybind
source ~/.mutt/gpg.rc
send-hook . "unset pgp_autoencrypt;unset pgp_autosign"
send-hook paulmorrison@iafrica.com "set pgp_autoencrypt"
send-hook .*dsilvers@digital-scurf.+ "set pgp_autoencrypt"
send-hook .*@mutt.org "set pgp_autosign"
send-hook linedit-devel@.* my_hdr From: Paul Walker <linedit-devel@blacksun.org.uk>
send-hook linedit-devel@.* set signature=~/.signature_plain
send-hook .*vincentfamily\.org\.uk my_hdr From: Paul Walker <admin@vincentfamily.org.uk>
send-hook .*familywalker\.org my_hdr From: Paul Walker <paul@familywalker.org>