## General options set editor="vim" set send_charset="utf-8" # Store message headers locally to speed things up. # If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more. set header_cache = ~/.cache/mutt # Store messages locally to speed things up, like searching message bodies. # Can be the same folder as header_cache. # This will cost important disk usage according to your e-mail amount. set message_cachedir = "~/.cache/mutt" # Allow Mutt to open new imap connection automatically. unset imap_passive set imap_keepalive = 300 set imap_check_subscribed set mail_check = 60 set mbox_type=Maildir # Aliases are used as a shorthand for e-mail addresses # uncomment to enable #set alias_file= ~/.mutt/aliases #set sort_alias= alias #set reverse_alias= yes #source $alias_file # abook is a simple address book # uncomment to enable #set query_command = "abook --mutt-query '%s'" #macro generic,index,pager \ca "abook" "launch abook" #macro index,pager A "abook --add-email" "add the sender address to abook" ## ACCOUNT source "~/.mutt/account" ## Send set from = $my_account@$my_domain #set smtp_url = smtps://$my_account@$my_domain set smtp_url = smtps://$my_account@$my_onion ## Connection set ssl_force_tls = yes set ssl_starttls = yes ## Receive (imap) set imap_user = $my_account #set folder = imaps://$imap_user@$my_domain/ set folder = imaps://$imap_user@$my_onion set imap_check_subscribed ## Folder set spoolfile=+INBOX #mailboxes +INBOX set record=+Sent set postponed = +Drafts ## Shortcuts macro index 'c' '?^K=' ## fake header set edit_headers=yes unset user_agent my_hdr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/78.7.1 ## gpg set crypt_protected_headers_read = yes set crypt_protected_headers_write = yes set crypt_protected_headers_subject = ... set crypt_protected_headers_save = yes # this set the number of seconds to keep in memory the passpharse used to encrypt/sign # the more the less secure it will be set pgp_timeout=600 # it's a regexp used against the GPG output: if it matches some line of the output # then mutt considers the message a good signed one (ignoring the GPG exit code) #set pgp_good_sign="^gpg: Good signature from" set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" # mutt uses by default PGP/GPG to sign/encrypt messages # if you want to use S-mime instead set the smime_is_default variable to yes # automatically sign all outcoming messages set crypt_autosign=yes # automatically encrypt outcoming messages set crypt_autoencrypt=yes # automatically verify the sign of a message when opened set crypt_verify_sig=yes set pgp_sign_as=$my_keyid set postpone_encrypt_as=$my_keyid set postpone_encrypt=yes set crypt_confirmhook=no #crypt-hook