# vim: filetype=muttrc set realname = "" set from = "@" set sendmail = "msmtp -a @" alias me <@> set folder = "$HOME/.local/share/mail/@" set header_cache = "$HOME/.cache/mutt/@/headers" set message_cachedir = "$HOME/.cache/mutt/@/bodies" set mbox_type = Maildir set hostname = "" source $HOME/.config/mutt/switch.muttrc set spoolfile = +INBOX set record = +Sent set postponed = +Drafts set trash = +Trash mailboxes "=INBOX" "=Sent" "=Drafts" "=Archive" "=Junk" "=Trash" macro index,pager gi "=INBOX" "go to inbox" macro index,pager Mi ";=INBOX" "move mail to inbox" macro index,pager Ci ";=INBOX" "copy mail to inbox" macro index,pager gs "=Sent" "go to sent" macro index,pager Ms ";=Sent" "move mail to sent" macro index,pager Cs ";=Sent" "copy mail to sent" macro index,pager gd "=Drafts" "go to drafts" macro index,pager Md ";=Drafts" "move mail to drafts" macro index,pager Cd ";=Drafts" "copy mail to drafts" macro index,pager ga "=Archive" "go to archive" macro index,pager Ma ";=Archive" "move mail to archive" macro index,pager Ca ";=Archive" "copy mail to archive" macro index,pager gj "=Junk" "go to junk" macro index,pager Mj ";=Junk" "move mail to junk" macro index,pager Cj ";=Junk" "copy mail to junk" macro index,pager gt "=Trash" "go to trash" macro index,pager Mt ";=Trash" "move mail to trash" macro index,pager Ct ";=Trash" "copy mail to trash" macro index o "mbsync -V @" "run mbsync to sync @" 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; /usr/local/libexec/gpg-wks-client --create \$eFGPT \$eID | msmtp --read-envelope-from --read-recipients -a @" "publish GPG key to WKS provider" macro index \eh "/usr/local/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a @" "confirm GPG publication"