mutt: start to rework for fastmail
This commit is contained in:
96
muttrc
96
muttrc
@@ -1,7 +1,30 @@
|
|||||||
#!mutt
|
#!mutt
|
||||||
# -*-sh-*-
|
# -*-sh-*-
|
||||||
|
|
||||||
set header_cache="~/.mutt_hcache"
|
# set header_cache="~/.mutt_hcache"
|
||||||
|
|
||||||
|
set from="paul@blacksun.org.uk"
|
||||||
|
set realname="Paul Walker"
|
||||||
|
|
||||||
|
set folder = "imaps://imap.fastmail.com/"
|
||||||
|
set spoolfile="imaps://imap.fastmail.com/INBOX"
|
||||||
|
|
||||||
|
set imap_user="arafel@fastmail.fm"
|
||||||
|
set imap_pass=`grep 'fastmail' ~/.netrc | awk '{print $6}'`
|
||||||
|
set smtp_url=smtps://$imap_user@smtp.fastmail.com
|
||||||
|
set smtp_pass=`grep 'fastmail' ~/.netrc | awk '{print $6}'`
|
||||||
|
set imap_check_subscribed
|
||||||
|
# keep imap connection alive by polling intermittently (time in seconds)
|
||||||
|
set imap_keepalive = 900
|
||||||
|
|
||||||
|
# store message headers locally to speed things up
|
||||||
|
set header_cache = ~/.mutt/cache/headers
|
||||||
|
|
||||||
|
# how about store messages too
|
||||||
|
set message_cachedir =~/.mutt/cache/bodies
|
||||||
|
|
||||||
|
# Mailcap (autoexecute program declarations)
|
||||||
|
set mailcap_path = ~/.mutt/mailcap
|
||||||
|
|
||||||
set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %s"
|
set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %s"
|
||||||
set followup_to=no
|
set followup_to=no
|
||||||
@@ -14,27 +37,14 @@ alternative_order text/plain text/html text
|
|||||||
auto_view text/html
|
auto_view text/html
|
||||||
mime_lookup application/octet-stream
|
mime_lookup application/octet-stream
|
||||||
|
|
||||||
set folder="~/mail"
|
|
||||||
# set spoolfile="/var/mail/paul" # where my new mail is located
|
|
||||||
|
|
||||||
mailboxes !
|
mailboxes !
|
||||||
mailboxes =culture =bsllearners
|
mailboxes =Filing\ Cabinet/eBay
|
||||||
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_replyencrypt
|
||||||
set pgp_replysign
|
set pgp_replysign
|
||||||
set pgp_replysignencrypted
|
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"
|
alternates "(usenet|paul|ebay)@blacksun.org.uk|(pwalker|paul.walker)@broadcom.com|arafel@gmail.com|h.devore@gmail.com"
|
||||||
|
|
||||||
# default hooks
|
# default hooks
|
||||||
send-hook . set signature=~/.signature_plain
|
send-hook . set signature=~/.signature_plain
|
||||||
@@ -47,47 +57,21 @@ folder-hook . set strict_threads="yes"
|
|||||||
# These expressions should hopefully capture just the automated addresses used
|
# 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
|
# to add stuff, so if I email someone at those domains it'll still signature
|
||||||
# me.
|
# me.
|
||||||
send-hook readlater.*@instapaper\.com unset signature
|
|
||||||
send-hook post.*@pinboard\.in unset signature
|
send-hook post.*@pinboard\.in unset signature
|
||||||
|
|
||||||
send-hook lyndacarter.*@yahoogroups.com my_hdr From: Paul Walker <paul@blacksun.org.uk>
|
lists busstop@culturelist\.org
|
||||||
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-hooks
|
||||||
folder-hook (culture|ukcrypto|brin-l) set strict_threads="no"
|
folder-hook Sent set sort=date
|
||||||
folder-hook sent set sort=date
|
|
||||||
|
|
||||||
save-hook "~f order-update@amazon.co.uk" =orders
|
save-hook "-f .*@abbeywoodschool.com" =Filing\ cabinet/School/Abbeywood
|
||||||
save-hook "~f auto-confirm@amazon.co.uk" =orders
|
save-hook "~f order.*@amazon.co.uk" =Filing\ Cabinet/Orders
|
||||||
save-hook "~f auto-shipping@amazon.co.uk" =orders
|
save-hook "~f .*facebook.com" =Filing\ cabinet/Facebook
|
||||||
save-hook "~f digital-no-reply@amazon.co.uk" =orders
|
save-hook "~f .*facebookmail.com" =Filing\ cabinet/Facebook
|
||||||
save-hook "~f service@paypal.co.*" =paypal
|
save-hook "~f .*kickstarter.com" =Filing\ cabinet/Kickstarter
|
||||||
save-hook "~f service@paypal.ch" =paypal
|
save-hook "~f .*bananafrog@fastmail.fm" =Claire
|
||||||
save-hook "~f bidpay.com" =bidpay
|
save-hook "~f .*manflowyoga.com" =Filing\ cabinet/MFY
|
||||||
save-hook "~t fictionwise@blacksun.org.uk" =fictionwise
|
save-hook "." =Archive
|
||||||
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 nomove
|
||||||
set noconfirmappend
|
set noconfirmappend
|
||||||
@@ -112,7 +96,7 @@ set edit_hdrs # let me edit the message header when composing
|
|||||||
#set editor="emacs -nw" # editor to use when composing messages
|
#set editor="emacs -nw" # editor to use when composing messages
|
||||||
#set editor=builtin
|
#set editor=builtin
|
||||||
#set editor="~/.edit.sh"
|
#set editor="~/.edit.sh"
|
||||||
set editor="joe +9"
|
set editor="vim +9"
|
||||||
set fcc_attach=no # Include attachments in copies of sent messages?
|
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 force_name # save outgoing by recipient, create if mailbox doesn't exist
|
||||||
#set forw_format="[%a: %s]" # subject to use when forwarding messages
|
#set forw_format="[%a: %s]" # subject to use when forwarding messages
|
||||||
@@ -131,7 +115,7 @@ set indent_str="> "
|
|||||||
#set mailcap_path="~/.mailcap:/usr/local/share/mailcap"
|
#set mailcap_path="~/.mailcap:/usr/local/share/mailcap"
|
||||||
set nomark_old # i don't care about whether a message is old
|
set nomark_old # i don't care about whether a message is old
|
||||||
set markers=no
|
set markers=no
|
||||||
set mbox=mail/personal # where to store read messages
|
# set mbox=mail/personal # where to store read messages
|
||||||
unset metoo # don't remove my address when replying
|
unset metoo # don't remove my address when replying
|
||||||
set mime_fwd=ask-yes # use message/rfc822 type to forward messages
|
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 move=no # don't ask about moving messages, just do it
|
||||||
@@ -147,8 +131,8 @@ set query_command="abook --mutt-query '%s'"
|
|||||||
#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text
|
#set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text
|
||||||
set read_inc=25 # show progress when reading a mailbox
|
set read_inc=25 # show progress when reading a mailbox
|
||||||
# set recall # when there are postponed messages, ask me to resume
|
# set recall # when there are postponed messages, ask me to resume
|
||||||
set postponed="~/mail/postponed"
|
set postponed="=Drafts"
|
||||||
set record=+sent # save copies of outgoing messages in +outbox
|
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 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 resolve # move to the next message when an action is performed
|
||||||
#set reverse_alias # attempt to look up my names for people
|
#set reverse_alias # attempt to look up my names for people
|
||||||
|
|||||||
Reference in New Issue
Block a user