[neomutt-users] Select PGP key depending on from address
Jörg Sommer
joerg at alea.gnuu.de
Sat Oct 27 12:46:32 CEST 2018
Hi,
I have two different PGP keys for different email addresses. Can neomutt
select the alternative key depending on the from address, so I don't have
to do it manually?
I tried:
send2-hook '~f @jo-so\.de' set pgp_sign_as=B5A58C5DD13FFAED87A357217D2C9A23D1AEA375
send2-hook . unset pgp_sign_as
(lines have been in this order), but gpg still prompts me for my old key,
when I send a message with “From: joerg at jo-so.de”.
Regards Jörg
--
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20181027/e403e4f1/attachment.sig>
More information about the neomutt-users
mailing list