Key e-mail address

Todd Todd <>
Mon Oct 14 16:32:02 2002

Hash: SHA1

Ingo Klöcker wrote:
> One possible solution would be to use KMail instead of mutt because with 
> KMail you can associate each email address with an arbitrary list of 
> pgp keys.

You can use a pgp-hook to do this in mutt.  From the Mutt manual:

  Usage: pgp-hook pattern keyid

  When encrypting messages with PGP, you may want to associate a certain
  PGP key with a given e-mail address automatically, either because the
  recipient's public key can't be deduced from the destination address,
  or because, for some reasons, you need to override the key Mutt would
  normally use. The pgp-hook command provides a method by which you can
  specify the ID of the public key to be used when encrypting messages
  to a certain recipient.

If you end up using this, you might also be interested in a patch from Dale
Woolridge that helps make the use of pgp-hooks easier.  See for the details.

- -- 
Todd             OpenPGP -> KeyID: 0xD654075A | URL:
There are three ways to get something done: do it yourself, hire someone,
or forbid your kids to do it.
    -- Monta Crane

Version: GnuPG v1.0.7 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.