[neomutt-users] Select PGP key depending on from address
Stefan Kropp
stefan at debxwoody.de
Sat Oct 27 16:02:52 CEST 2018
Am Samstag, den 27.10.2018 um 12:46:32 +0200 schrieb Jörg Sommer:
> 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
I guess the second line will be executed in all cases. What happens when
you switch both lines?
>
> (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!
--
Mit freundlichen Grüßen,
Stefan
Virtuelle Linux User Group
http://www.devlug.de
GPG: 28EF 27A4 7233 B23C F221 0190 1005 5DD8 6AA0 5BB3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 728 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20181027/ab0f29e0/attachment.sig>
More information about the neomutt-users
mailing list