Florian Lohoff wrote:
> i am a long time mutt and gpg user but still the gpg integration is kind
> of lacking.
> 
> - I'd like to define recipients including their gpg key id to use.
> - Better - Mutt/Procmail could help by looking out for signed mails
>   which tell the recipient has a mail setup which is gpg enabled
> - On sending email mutt automatically checks if the recipients are _all_
>   gpg enabled and encrypts automatically with all necessary keys if
>   possible.

Hi Florian,

I like your idea.  Sorry I don't have a solution, but just a general
suggestion.

At first I thought you might be able to execute a script in a send-hook
or send2-hook that would make more intelligent decisions based on the
recipients:
    send-hook . 'source check-for-encryption.sh |'
but there doesn't seem to be an obvious way to get at the current
message inside the script.

Perhaps another solution would be to create a vim/emacs script that
could add a 'Pgp: E' pseudo header to the message, based on the To and
Cc headers.  You would need to turn on $edit_headers for that to work.

-Kevin

Attachment: signature.asc
Description: Digital signature

Reply via email to