Composing ask From: address and arbitrary keys in PGP
Kevin J. McCarthy
kevin at 8t8.us
Fri Jul 26 16:30:26 UTC 2019
On Fri, Jul 26, 2019 at 05:12:08AM +0000, GTC at riseup.net wrote:
>1. When composing messages, mutt ask To: or recipient adress and
>Subject: and then go to editor. How to make mutt ask for From: or
>sender address only and then go to editor?
Mutt doesn't have an option for that. Custom From headers can be
controlled by folder-hook, reply-hook, send-hook, or even macros;
typically via setting my_hdr. $edit_headers is also useful.
See <http://www.mutt.org/doc/manual/#compose-flow> for a (somewhat
terse) overview of message composition.
>2. In PGP, mutt has crypt_opportunistic_encrypt to select keys based on
>To: address to the recipient. But PGP also need From: address or
>sender's key to encrypt messages
Encrypting to self is controlled by $pgp_self_encrypt and
$pgp_default_key.
>, sign messages
The signing key is also controlled by $pgp_default_key, and can be
overridden by $pgp_sign_as or the compose <pgp-menu> "sign (a)s" option.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20190726/526af61b/attachment.asc>
More information about the Mutt-users
mailing list