mutt: Enable signing for sanchayanmaity.net account
We use hooks to selectively enable signing and use a different signature when signing.
This commit is contained in:
parent
64bcce439f
commit
c547cfc5d5
6 changed files with 27 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
|||
# vim: syntax=muttrc
|
||||
|
||||
set from = "Sanchayan Maity <sanchayan@asymptotic.io>"
|
||||
set sendmail = "/usr/bin/msmtp -a asymptotic"
|
||||
set mbox = "+asymptotic/Archive"
|
||||
set postponed = "+asymptotic/drafts"
|
||||
set record = "+asymptotic/Sent"
|
||||
set signature = "~/.mutt/signature"
|
||||
|
||||
color status green default
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# vim: syntax=muttrc
|
||||
|
||||
set from = "Sanchayan Maity <sanchayan@sanchayanmaity.net>"
|
||||
set sendmail = "/usr/bin/msmtp -a fastmail"
|
||||
set mbox = "+fastmail/Archive"
|
||||
set postponed = "+fastmail/drafts"
|
||||
set record = "+fastmail/Sent"
|
||||
set signature = "~/.mutt/signed-signature"
|
||||
|
||||
color status green default
|
||||
|
||||
|
@ -22,3 +25,7 @@ macro index gf "<change-folder>=fastmail/FreedesktopGitlab<enter>" "Go to freede
|
|||
macro index gg "<change-folder>=fastmail/gstreamer<enter>" "Go to gstreamer"
|
||||
macro index gp "<change-folder>=fastmail/pulseaudio<enter>" "Go to pulseaudio"
|
||||
macro index gs "<change-folder>=fastmail/Sent<enter>" "Go to Sent"
|
||||
|
||||
# See send-hook and patterns here http://www.mutt.org/doc/manual/#patterns
|
||||
send-hook . 'reset crypt_autoencrypt'
|
||||
send-hook '~f sanchayan@sanchayanmaity\\.net' 'set crypt_autosign'
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# vim: syntax=muttrc
|
||||
|
||||
set from = "Sanchayan Maity <maitysanchayan@gmail.com>"
|
||||
set sendmail = "/usr/bin/msmtp -a Sanchayan"
|
||||
set mbox = "+sanchayan/Archive"
|
||||
set postponed = "+sanchayan/drafts"
|
||||
set record = "+sanchayan/Sent"
|
||||
set signature = "~/.mutt/signature"
|
||||
|
||||
color status green default
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# vim: syntax=muttrc
|
||||
|
||||
set from = "victorascroft@gmail.com"
|
||||
set sendmail = "/usr/bin/msmtp -a Victor"
|
||||
set mbox = "+victor/Archive"
|
||||
set postponed = "+victor/Drafts"
|
||||
set record = "+victor/Sent"
|
||||
set signature = "~/.mutt/signature"
|
||||
|
||||
color status cyan default
|
||||
|
||||
|
|
|
@ -73,8 +73,6 @@ bind editor <Tab> complete-query
|
|||
|
||||
set edit_headers = yes
|
||||
|
||||
set signature = "~/.mutt/signature"
|
||||
|
||||
# 'L' performs a notmuch query, showing only the results
|
||||
macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
|
||||
|
||||
|
|
11
mutt/.mutt/signed-signature
Normal file
11
mutt/.mutt/signed-signature
Normal file
|
@ -0,0 +1,11 @@
|
|||
Regards,
|
||||
Sanchayan.
|
||||
|
||||
Signed with public key:
|
||||
41B3 422B 0370 3BF5 FD03 FAFB 6F6A 0609 C120 38F3
|
||||
|
||||
Also available as DNS TXT record.
|
||||
dig TXT openpgp.sanchayanmaity.net +short | sed 's/"//g'
|
||||
|
||||
Also available via Web Key Directory at https://keys.openpgp.org/.
|
||||
gpg --locate-keys --auto-key-locate clear,nodefault,wkd sanchayanmaity.net
|
Loading…
Reference in a new issue