101 lines
3.7 KiB
Plaintext
101 lines
3.7 KiB
Plaintext
#================================================================
|
|
# IMAP Mailbox configuration
|
|
#================================================================
|
|
set imap_user=`bw get username hosted`
|
|
set imap_pass=`bw get password hosted`
|
|
|
|
# This is the remote server and folder (optional)
|
|
set folder=imaps://imap.dreamhost.com
|
|
|
|
# This is the folder your mail arrives into
|
|
set spoolfile=+INBOX
|
|
#================================================================
|
|
|
|
|
|
|
|
#================================================================
|
|
# Ensure we are using tls
|
|
#================================================================
|
|
set ssl_starttls=yes
|
|
set ssl_force_tls=yes
|
|
#================================================================
|
|
set from=`bw get username hosted`
|
|
set realname='James Blair'
|
|
set header_cache="~/.mutt/cache/headers"
|
|
set message_cachedir="~/.mutt/cache/bodies"
|
|
set certificate_file="~/.mutt/certificates"
|
|
set smtp_url="smtp://`bw get username hosted`@mail.jamesblair.net:587/"
|
|
set smtp_pass=`bw get password hosted`
|
|
set move=no
|
|
set imap_keepalive=900
|
|
set postponed="=INBOX.Drafts"
|
|
set record="=INBOX.Sent"
|
|
unset imap_passive
|
|
|
|
macro index,pager \cb "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"
|
|
|
|
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message"
|
|
|
|
set crypt_use_gpgme=no
|
|
set imap_check_subscribed
|
|
set mail_check=60
|
|
set timeout=10
|
|
|
|
set sidebar_visible=yes
|
|
# Move the highlight to the previous mailbox
|
|
bind index,pager \Cp sidebar-prev
|
|
|
|
# Move the highlight to the next mailbox
|
|
bind index,pager \Cn sidebar-next
|
|
|
|
# Open the highlighted mailbox
|
|
bind index,pager \Co sidebar-open
|
|
|
|
# Configure html emails
|
|
alternative_order text/plain text/html
|
|
auto_view text/html
|
|
set mailcap_path = ~/.mutt/mailcap
|
|
|
|
|
|
#================================================================
|
|
# Dracula theme colors
|
|
#================================================================
|
|
# general ------------ foreground ---- background -----------------------------
|
|
color error color231 color212
|
|
color indicator color231 color241
|
|
color markers color210 default
|
|
color message default default
|
|
color normal default default
|
|
color prompt default default
|
|
color search color84 default
|
|
color status color141 color236
|
|
color tilde color231 default
|
|
color tree color141 default
|
|
|
|
# message index ------ foreground ---- background -----------------------------
|
|
color index color210 default ~D # deleted messages
|
|
color index color84 default ~F # flagged messages
|
|
color index color117 default ~N # new messages
|
|
color index color212 default ~Q # messages which have been replied to
|
|
color index color215 default ~T # tagged messages
|
|
color index color141 default ~v # messages part of a collapsed thread
|
|
|
|
# message headers ---- foreground ---- background -----------------------------
|
|
color hdrdefault color117 default
|
|
color header color231 default ^Subject:.*
|
|
|
|
# message body ------- foreground ---- background -----------------------------
|
|
color attachment color228 default
|
|
color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses
|
|
color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs
|
|
color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text
|
|
color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text
|
|
color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text
|
|
color quoted color61 default
|
|
color quoted1 color117 default
|
|
color quoted2 color84 default
|
|
color quoted3 color215 default
|
|
color quoted4 color212 default
|
|
color signature color212 default
|
|
#================================================================
|