diff options
-rw-r--r-- | mutt/gpg.rc | 31 | ||||
-rw-r--r-- | muttrc | 6 |
2 files changed, 34 insertions, 3 deletions
diff --git a/mutt/gpg.rc b/mutt/gpg.rc new file mode 100644 index 0000000..39c351b --- /dev/null +++ b/mutt/gpg.rc @@ -0,0 +1,31 @@ +# Use GPGME +# from https://seniormars.github.io/posts/neomutt/ +# Use my key for signing and encrypting +set pgp_default_key = 19014642A9FCD633B886B8F59C9841C3EF4E0B8E + +# Use GPGME +set crypt_use_gpgme = yes + +# Automatically sign all out-going email +set crypt_autosign = yes + +# Sign replies to signed emails +set crypt_replysign = yes + +# Encrypt replies to encrypted emails +set crypt_replyencrypt = yes + +# Encrypt and sign replies to encrypted and signed email +set crypt_replysignencrypted = yes + +# Attempt to verify signatures automatically +set crypt_verify_sig = yes + +# Attempt to encrypt automatically, if possible +# I would recommend setting this to no +# And this will cause your emails to be marked as spam +# as they can't decrypt your emails LMAO +set crypt_opportunistic_encrypt = no + +# So you can view encrypted emails automatically +auto_view application/pgp-encrypted @@ -198,8 +198,8 @@ set sendmail = "/usr/bin/msmtp -a matthewlemon" set sendmail_wait = 0 set record = "+matt-matthewlemon.com/Sent" -bind compose p postpone-message -bind index p recall-message +#bind compose p postpone-message +#bind index p recall-message # Get mutt to understand the contacts command line prog which reads Contacts #set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'" @@ -258,7 +258,7 @@ macro index <F6> \ #macro index <F8> "<enter-command>unset wait_key<enter><shell-escape>/usr/bin/notmuch-mutt --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" "search mail (using notmuch)" #macro index <F9> "<enter-command>unset wait_key<enter><pipe-message>/usr/bin/notmuch-mutt thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" "search and reconstruct owning thread (using notmuch)" # -#source ~/.mutt/gpg.rc # Use GPG +source ~/.mutt/gpg.rc # Use GPG #source ~/.mutt/auto_views # Define auto_views. source ~/.mutt/aliases # Load in my aliases. source ~/.mutt/subscriptions # Define the list of subscribed mailing lists. |