First commit in a series of commit to switch to seperate account file. This is needed to support multiple account on the same mail server in saner way.
77 lines
2.2 KiB
Plaintext
77 lines
2.2 KiB
Plaintext
#
|
|
# Sidebar
|
|
#
|
|
source /usr/share/doc/mutt/examples/sample.muttrc-sidebar
|
|
#set sidebar_visible = yes
|
|
set sidebar_width = 30
|
|
set sidebar_short_path
|
|
|
|
#
|
|
# Mailcap
|
|
#
|
|
set mailcap_path=~/.config/mutt/mailcap
|
|
auto_view text/plain text/html
|
|
alternative_order text/enriched text/plain text/html
|
|
|
|
set realname="Jens Mathis Sauer"
|
|
set send_charset = "utf-8"
|
|
set header_cache = ~/.cache/mutt
|
|
set message_cachedir = ~/.cache/mutt
|
|
set imap_check_subscribed
|
|
unset imap_passive
|
|
set imap_keepalive = 120
|
|
set imap_idle
|
|
|
|
# crypto and GPG settings
|
|
set crypt_use_gpgme
|
|
set pgp_use_gpg_agent
|
|
set crypt_autosign
|
|
set crypt_opportunistic_encrypt
|
|
set postpone_encrypt
|
|
|
|
#
|
|
# TLS Settings
|
|
#
|
|
set ssl_force_tls = yes
|
|
set ssl_use_tlsv1 = no
|
|
set ssl_use_tlsv1_1 = no
|
|
set smime_ca_location = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
set mail_check = 60
|
|
set timeout = 10
|
|
set pager_stop = yes
|
|
set index_format = "%4C [%Z] %{%b %d} %-15.15L %s"
|
|
set confirmappend = no
|
|
set delete = yes
|
|
set pager_index_lines = 10
|
|
set query_command = "khard email --parsable %s"
|
|
set print_command="muttprint"
|
|
set wait_key = no
|
|
unset folder
|
|
|
|
#
|
|
# Keybindings
|
|
#
|
|
# macro index G "<enter-command>unset wait_key<enter><shell-escape>mbsync -a<enter>" "Syncronize Maildir"
|
|
# macro index,pager i1 "<sync-mailbox><enter-command>source ~/.config/mutt/account-gmail<enter><change-folder>!<enter>" "Switch to gmail inbox"
|
|
# macro index,pager i2 "<sync-mailbox><enter-command>source ~/.config/mutt/account-uni<enter><change-folder>!<enter>" "Switch to UOL inbox"
|
|
|
|
macro index,pager S "<tag-prefix><save-message>><enter><enter-command>echo 'Archived mail.'<enter>" "Archive email"
|
|
bind editor <Tab> complete-query
|
|
bind editor ^T complete
|
|
|
|
macro index ,t90 "<tag-pattern>~d>90d<enter><untag-pattern>~(~d<90d)<enter>" "Tag threads >90d"
|
|
macro index ,t30 "<tag-pattern>~d>30d<enter><untag-pattern>~(~d<30d)<enter>" "Tag threads >30d"
|
|
macro index ,u "<untag-pattern>~(~P)<enter><untag-pattern>~(~F)<enter>" "Untag messages from me or flagged"
|
|
|
|
macro index \cb "\
|
|
:set my_tmp_pipe_decode=\$pipe_decode\n\
|
|
:set pipe_decode\n\
|
|
|urlview\n\
|
|
:set pipe_decode=\$my_tmp_pipe_decode\n\
|
|
:unset my_tmp_pipe_decode\n" \
|
|
'call urlview to extract URLs out of a message'
|
|
|
|
# Color
|
|
source ~/.config/mutt/colors.muttrc
|