Files
dotfiles/mutt/muttrc
2022-10-11 08:30:13 +02:00

100 lines
2.3 KiB
Plaintext

# encoding
set charset = "utf-8"
# ssl
set ssl_starttls = yes
# configure s/mime support
source /usr/share/doc/mutt/samples/smime.rc
set smime_ca_location = /etc/ca-certificates/extracted/tls-ca-bundle.pem
set smime_default_key = "05408192.0"
set crypt_autosign = no
set crypt_replysign = no
# setup directories
set certificate_file = ~/.mutt/certificates
set tmpdir = ~/.mutt/tmp
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
# setup from details
set realname = "<User Name>"
set from = "<user@example.com>"
# authentication
set imap_user = "<user@example.com>"
source "gpg -dq ~/.mutt/<my-encrypted-password>.asc |"
# keep IMAP settings
set imap_keepalive = 300
set imap_passive = no
set imap_check_subscribed = yes
# how often to check for new mail (time in seconds)
set mail_check = 300
# default mailbox
set use_from = yes
set folder = imap://<mail.example.com>
set smtp_url = smtp://<mail.example.com>
set spoolfile = "=Inbox"
set record = "=Sent"
set postponed = "=Drafts"
# set sort options
set sort = threads
set sort_aux = reverse-last-date-received
# set mailcap
set mailcap_path = ~/.mutt/mailcap
# prefer plain text
alternative_order text/plain text/enriched text/html
# view html emails
auto_view text/html
# set editor
set editor='vim'
# set display filter
set display_filter="~/.mutt/filter.py"
# ldap address book
set query_command = "~/.mutt/ldapbook.py '%s'"
bind editor "\t" complete-query
# pager key binding
bind pager j next-line
bind pager k previous-line
# index_format
set index_format="%3C %Z %[%b %d %H:%M] - %-22.22L %s"
# header Options
ignore *
unignore from: to: cc: date: subject:
unhdr_order *
hdr_order from: to: cc: date: subject:
# Set colors to use
color hdrdefault blue black
color header green black "^From"
color header color111 black "^Subject"
color header brightmagenta black "^Date"
color quoted blue black
color signature blue black
color attachment green black
color message brightred black
color error brightred black
color indicator white color237
color status black blue
color tree white black
color normal white black
color markers red black
color search white black
color tilde brightmagenta black
color index color33 black "~F"
color index color111 black "~N|~O"
color index magenta black "~D"