diff options
-rw-r--r-- | muttrc | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -47,14 +47,22 @@ set ssl_force_tls set new_mail_command = "if [ %u -gt 0 ]; then dunstify -a neomutt -i mail-unread 'New mail' 'You have %u unread messages.'; fi" set history = 1000 -set history_file = `echo "\$XDG_DATA_HOME/share/mutthistory"` +set history_file = `echo "\$XDG_DATA_HOME/neomutt/history"` set save_history = 1000 +# The $XDG_DATA_HOME/neomutt directory must exist, else neomutt will +# silently fail to save the certificate file. +set certificate_file = `echo "\$XDG_DATA_HOME/neomutt/certificates"` +set debug_file = `echo "\${XDG_LOG_HOME:-$XDG_DATA_HOME/neomutt}/neomutt-debug.log"` + # For using both, header and body caching, $header_cache and # $message_cachedir can be safely set to the same value. set message_cachedir = `echo "\$XDG_CACHE_HOME/neomutt/"` set header_cache = `echo "\$XDG_CACHE_HOME/neomutt/"` +# I don't care about these headers; hide them by default. +ignore x-mailer user-agent + alternative_order text/plain text/enriched text/html text image auto_view text/html image/jpeg image/png @@ -86,8 +94,7 @@ account-hook "$my_cern" 'set spool_file = +INBOX' account-hook "$my_cern" 'set postponed = +Drafts' account-hook "$my_cern" 'set record = "+Sent Items"' account-hook "$my_cern" 'set from = "$imap_user"' -account-hook "$my_cern" 'set ssl_use_tlsv1 = yes' # imap.cern.ch needs this; ... -account-hook "$my_cern" 'set ssl_use_tlsv1_1 = yes' # ...make sure to reset for other accounts! +account-hook "$my_cern" 'set ssl_use_tlsv1 ssl_use_tlsv1_1' # imap.cern.ch needs this; make sure to reset for other accounts! account-hook "$my_cern" 'reset imap_authenticators imap_oauth_refresh_command' set my_gmail = "imaps://imap.gmail.com/" |