diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-02-13 17:24:03 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-13 17:24:03 -0500 |
commit | 37ba3b7b8d6c7e092e1744bf596bb89087d0e7be (patch) | |
tree | 9b3e4ad62fa87a1064d9e236c89ff5c40c9a6fdb /share/mutt-temp | |
parent | 234be769e84da9b56181229b18d7dfbe5ac3a0ac (diff) |
use template files
Diffstat (limited to 'share/mutt-temp')
-rw-r--r-- | share/mutt-temp | 20 |
1 files changed, 20 insertions, 0 deletions
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 "<shell-escape>mailsync $fulladdr<enter>" "sync $fulladdr" +macro index \eg "<enter-command>unset wait_key<enter><shell-escape>gpg --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<enter>" "publish GPG key to WKS provider" +macro index \eh "<pipe-message>$prefix/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a $fulladdr<enter>" "confirm GPG publication" |