Hello,
I've been working on my problem of trying to make Mutt autoencrypt to
certain recipients or lists of recipients. So far the best I have is
this:
send-hook . "unset pgp_autoencrypt"
send-hook "^~C one@abc\.com|^~C two@def\.com" "set pgp_autoencrypt"
This works fine if I am addressing only [EMAIL PROTECTED] or only [EMAIL PROTECTED]
If I mix any other recipients (in either To: or Cc:) then the mail is
not encrypted, which is what I want.
However, this leaves me with two questions:
1) If I address both one and two, then it is also not encrypted, since
my regex above matches _only_ to one or _only_ to two. Can someone come
up with a better regex that would match one _and/or_ two? I can't seem
to do it by putting the ^~C out front.
2) Is there any way to match based on the Bcc: field in case I send to
one and Bcc: to two? The patterns list doesn't seem to indicate so.
Thanks in advance for any help!
--
| Justin R. Miller / [EMAIL PROTECTED] / 0xC9C40C31
| Of all the things I've lost, I miss my pants the most.
----------------------------------------------------------
PGP signature