> 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 _still_ can't get this to fly.. so here's more info and anyone shoot
it down or say it can be done?
Mainly, can a hook contain another hook? If so, anyone have sample
syntax? I'm trying a send-hook that has a pgp-hook in it.
send-hook '~t ^someone@somehost\.somedomain\.com$' "set \
pgp_autoencrypt pgp-hook 0xDBEC096A"
yields that pgp-hook is an unknown variable. Makes sense since it's an
action/hook. So i've treid _every_ different version of ' or " that I
can imagine.
send-hook '~t ^someone@somehost\.somedomain\.com$' "set \
pgp_autoencrypt 'pgp-hook 0xDBEC096A'" ect ect ect....
Is it possible to nest a hook within a hook? Or is there
another method _other_ than the pgp-hook?
I'm not sure what other info to provide other than that it's mutt 1.0.1i
as you can see from my headers.
thanks for _any_ feedback.
-d
--
.~. ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~
/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!
^`~'^ '~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'