# 2017-11-19
# Privacy
set hostname="localhost"
set use_domain=no
# Composing
set abort_unmodified=ask-yes
set edit_headers=yes
set allow_8bit=no
set bounce_delivered=no
set autoedit=no
set wait_key=no
set mime_forward=ask-no
# Connection
set imap_check_subscribed=yes
set imap_idle=yes
set imap_list_subscribed=yes
set imap_passive=no
set imap_servernoise=no
set mail_check=90
set timeout=15
set confirmappend=no
set confirmcreate=yes
set dsn_notify=failure
set dsn_return=hdrs
set sendmail="msmtp"
set delete=yes
set message_cachedir="~/.mutt/cache"
# Folders
set spoolfile="$folder"
set record="=Sent"
set postponed="=Drafts"
set use_from=yes
set envelope_from=yes
set trash="=Trash"
# Contacts
set query_command="khard email --parsable %s"
bind editor <Tab> complete-query
bind editor ^T complete
macro index,pager A "<pipe-message>khard add-email<return>" "add the sender to khard"
# Encryption
set pgp_entry_format="%t%f %4l/0x%k %-4a %2c %u"
set pgp_show_unusable=no
set certificate_file="~/.mutt/certificates"
set crypt_autosign=no
set crypt_replyencrypt=no
set crypt_replysign=no
set crypt_replysignencrypted=no
set crypt_use_gpgme=yes
# Display
set sort=threads
set hide_thread_subject=no
set reply_regexp="(re([\[0-9\]+])*|aw|fwd):[ \t]*"
set quote_regexp="^([|>:}#])+"
set header_color_partial=no
set assumed_charset="iso-8859-15:cp1252:utf-8"
hdr_order Date: From: To: Cc: Subject:
ignore *
unignore Date: From: To: Cc: Subject:
unignore Organization: X-Mailing-List:
unignore Reply-To:
alternative_order text/plain text/enriched text/html
auto_view text/html image/jpeg image/png application/ics text/calendar
mime_lookup application/octet-stream
# Spam
spam '^X-Spam-Status: Yes, score=([0-9]+)' 'SA/%1'
spam '^Authentication-Results:.*dkim=([[:alpha:]]+)' 'DKIM/%1'
set beep=no
set beep_new=yes
set pager_stop=yes
set reverse_name=yes
set tilde=yes
set narrow_tree=yes
set index_format="%Z %{%Y-%m-%d %H:%M}  %-32.32O  %s"
set folder_format="%?n?N& ? %f"
set save_address=yes # %O => address
set mark_old=no
set ts_enabled=yes
set mail_check_stats=yes
unset status_format # Managed by profiles
set pager_format="Mutt: [from: %A] [lines: %l] [status: %Z] [attachments: %X] %> (%P)   "
set ts_status_format="Mutt: [messages: %m total, %n new]"
set arrow_cursor=yes
color hdrdefault white        default
color normal     default      default
color attachment brightyellow default
color indicator  brightwhite  black
color markers    red          default
color signature  brightcyan   default
color status     brightwhite  blue
color tilde      brightblack  default
color tree       brightred    default
color error      brightwhite  red
color message    brightwhite  default
color search     brightyellow default
uncolor index *
color index default default ".*"
# from me
color index brightgreen default "~P"
# from aliases
color index green default "@~f ."
# deleted
color index brightcyan default "~D"
# tagged
color index brightmagenta default "~T|~F"
# gpg signed
color index magenta default "~g"
# gpg encrypted
color index brightmagenta default "~G"
# gpg verified
color index red default "~V"
# new/old/unread
color index brightwhite default "~N|~O|~U"
# ... from aliases
color index brightgreen default "~N|~O|~U @~f ."
# dups
color index brightyellow default "~="
# spam
color index brightred default "~H SA"
color index brightred default "~H DKIM/fail"
# replied
color index white default "~Q"
color index green default "~Q @~f ."
color compose header           brightblack  default
color compose security_encrypt green        default
color compose security_sign    brightyellow default
color compose security_both    brightgreen  default
color compose security_none    brightred    default
uncolor header *
color header brightwhite  default "^(From|To|Subject):.*"
color header brightblack  default "^(Message-Id):.*"
color header brightyellow default "^(Reply-To|List-Id):.*"
color header brightblack  default "^(X-[^:]*):.*"
color header brightred    default "^X-Spam-Status: yes,.*"
color header brightred    default "^X-Spam-Flag: YES"
color header brightred    default "^Authentication-Results:.*dkim=failed.*"
uncolor body *
color body brightyellow default '\w+://[a-z0-9.~_/%@#?+&=-]+' # URL
color body brightyellow default "www\\.[-.a-z0-9]+\\.[a-z]{2,3}[a-z0-9.~_/%@#?+ +&=-]*"
color body brightyellow default "[a-z0-9.+-]+@[a-z0-9.-]+\\.[a-z]{2,4}" # email
color quoted  brightmagenta default
color quoted1 brightred     default
color quoted2 brightblue    default
set mailcap_path="~/.mutt/mailcap:/etc/mailcap"
# Macros
macro index,pager         < ":source ~/.mutt/muttrc<enter>"
macro index,pager         J "<save-message>\CU=Junk<enter>"
macro index,pager         s "<save-message>?<toggle-mailboxes>"
macro index,pager         - <change-folder>=INBOX<enter>
macro index,pager         c "<change-folder>?<toggle-mailboxes>" "open a different folder"
macro index,pager         C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
macro index,pager         M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
macro compose             A "<attach-message>?<toggle-mailboxes>" "attach message(s) to this message"
macro compose             a "<attach-file>?c\CU~<enter>" "attach message(s) to this message"
macro index,pager,compose , ":source ~/.mutt/profiles/|<enter>"
macro index,pager         m ",<mail>" "send mail"
macro index,pager         f ",<forward-message>" "send mail"
macro index,pager         r ",<reply>" "reply"
#macro index,pager         R ",<replyall>" "reply all"
# macro index E "!sieve-connect -s -m LOGIN <enter>"
# Mailing Lists
subscribe todo@todo
# Identity
alternates `cat ~/.mutt/identities.txt | tr '\n' ' '`
source ~/.mutt/tools/|
# User Profiles
source ~/.mutt/profiles/_empty_
# import account specific settings
source ~/.mutt/muttrc.local
projects/mutt/muttrc.txt · Zuletzt geändert: 2017-11-19 23:44 von satmd