summaryrefslogtreecommitdiff
path: root/share/mutt-temp
diff options
context:
space:
mode:
Diffstat (limited to 'share/mutt-temp')
-rw-r--r--share/mutt-temp20
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"