From ef816c5c7ea7ae36effc6ead8c1bbe62249c9f18 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 13 Feb 2023 19:31:13 -0500 Subject: offline mail cache fix and other tweaks --- share/mutt-wizard.muttrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/mutt-wizard.muttrc') diff --git a/share/mutt-wizard.muttrc b/share/mutt-wizard.muttrc index 9d9d12a..541f6c1 100644 --- a/share/mutt-wizard.muttrc +++ b/share/mutt-wizard.muttrc @@ -95,6 +95,8 @@ macro index,pager Ca ";=Archive" "copy mail to archive" #set crypt_opportunistic_encrypt = yes #set pgp_self_encrypt = yes #set pgp_default_key = 'your@gpgemailaddre.ss' +macro index \eg "unset wait_keygpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; $prefix/libexec/gpg-wks-client --create \\\$eFGPT \\\$eID | msmtp --read-envelope-from --read-recipients -a $fulladdr" "publish GPG key to WKS provider" +macro index \eh "$prefix/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a $fulladdr" "confirm GPG publication" macro index,pager a "set my_pipe_decode=\$pipe_decode pipe_decodeabook --add-emailset pipe_decode=\$my_pipe_decode; unset my_pipe_decode" "add the sender address to abook" macro index \Cr "T~UN." "mark all messages as read" -- cgit v1.2.3