On Fri, Jul 26, 2019 at 05:12:08AM +0000, g...@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? > The typical way to do this is with send hooks or folder hooks. Use my_hdr in one of those hooks to set the From: line.
> 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, sign messages or even attch their > own public key. By default, mutt uses system default key or oldest > key created for encryption, sign messages or attach public key. Same answer as above, but instead set pgp_sign_as. If need be you can use a hook to set your pgp_encrypt_only_command and/or pgp_encrypt_sign_command (and set the ID to use in those, or use a different gnupg options file, etc.). -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
pgp99hj0x7amQ.pgp
Description: PGP signature