Eric Osborne muttered:

> ## pgp stuff
> pgp-hook '^foo' [EMAIL PROTECTED]

# add this on here:
send-hook . "unset pgp_autoencrypt pgp_autosign"

> #set pgp_autosign
> send-hook foo     "set pgp_autoencrypt pgp_autosign"
> set pgp_replyencrypt    # Encrypt replies on encrypted mail
> set pgp_replysign       # Sign replies on signed mail
> set pgp_timeout=32767
> 
> 
> When I send email to [EMAIL PROTECTED], my emails are automagically signed
> and encrypted.  But if I send any email after that first message, all
> my other messages are signed and encrypted as well.  What am I doing
> wrong?

What you need is a default send-hook that unsets the vars you're
changing. This way send-hook for foo matches when to send mail to foo,
but for all other cases matches the default hook.
 

HTH,

Michael
-- 
I am the wandering glitch -- catch me if you can.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13

Reply via email to