Send hooks engage if the pattern matches "any" recipient.
How do I construct one that engages only if the pattern matches "all"
recipients.
For example:
unset pgp_autoencrypt
send-hook (jim|john|joe)@home.com "set pgp_autoencrypt"
This will PGP encrypt if jim, john, or joe are in the recipients line, even
if someone else is a recipient that you don't have a key for.
I personally want to find this out as I do now when mutt can't find
the key. But some fellow mutt users just want to automagically forget
encryption and send to all recipients unencrypted, if anyone is a recipient
that they don't have a key for (in other words, if the pattern doesn't
match "all" recipients).
manual.txt suggests a leading '^', but this doesn't work. Maybe
it only works where you can specify a pattern flag, as in: ^~C \.de$
Thanks for any tips,
Randall
--
Randall Hopper
[EMAIL PROTECTED]