ello again hacker-type-humans

Similar to previous issues, I can't get a sendhook with alotta stuff to
take.

goal:  pgp-hook with a send-hook and _not_ ask me if it's the right key.
I have a pal that has a couple addresses with same username, but
different domains.  Mutt/gpg seems to match based on the username so it
pulls up all of the keys I have for him.  I'd like to specify which key
to use, and not be asked to verify if it is the proper key.

if I have:
pgp-hook someuser@somedomain\.com 0xdeadbeef
send-hook '~t ^someuser@somedomain\.com$' "set pgp_autoencrypt"

It _will_ recognize the key, but it asks if this is the correct one, I
then say "y" and it lists the _one_ correct key, as if i had several 
to choose from.  I actually do have serveral to choose from, but I'm 
wanting a specific one for this user at this address.  

If I put the pgp-hook _in_ the send hook it says there are too many
arguments or pgp-hook is an unknown variable.

I've also tried specifying the ~t and autoencrypt in the pgp-hook but
never had that come close.

Any pointers are appreciated! (please, no C jokes ;)


-- 
  .~.  ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~
  /V\                     KeyId  1024D/2AB39B99 
 // \\       20B5 BE61 3E0D 81C2 E065  94FF 8856 90A2 2AB3 9B99
/(   )\   Call me insane one more time and I'll eat your other eye!
 ^`~'^   '~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'

Reply via email to