From 37ba3b7b8d6c7e092e1744bf596bb89087d0e7be Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 13 Feb 2023 17:24:03 -0500 Subject: use template files --- share/mutt-temp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 share/mutt-temp (limited to 'share/mutt-temp') diff --git a/share/mutt-temp b/share/mutt-temp new file mode 100644 index 0000000..89bbc8f --- /dev/null +++ b/share/mutt-temp @@ -0,0 +1,20 @@ +# vim: filetype=neomuttrc +# muttrc file for account $fulladdr +set realname = "$realname" +set from = "$fulladdr" +set sendmail = "msmtp -a $fulladdr" +alias me $realname <$fulladdr> +set folder = "$folder" +set header_cache = $cachedir/$fulladdr/headers +set message_cachedir = $cachedir/$fulladdr/bodies +set mbox_type = Maildir +set hostname = "$hostname" +source $muttshare/switch.muttrc +set spoolfile = "+INBOX" +set postponed = "+Drafts" +set trash = "+Trash" +set record = "+Sent" +$extra +macro index o "mailsync $fulladdr" "sync $fulladdr" +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" -- cgit v1.2.3