On Fri, Sep 29, 2000 at 02:50:17PM -0400, Eric Osborne wrote:
>I'm using mutt v1.2i with gpg 1.0.2. My .muttrc has
>## pgp stuff
>pgp-hook '^foo' [EMAIL PROTECTED]
>#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?
Hi,
It would be my guess that you do not have a default send-hook. Without
a default send-hook, there is nothing to reset what you did with the above
send-hook, and that will remain in effect for all email you send afterwards.
Try adding the following before the send-hook foo you have defined above:
send-hook . "unset pgp_autoencrypt pgp_autosign"
-Harold
--
"Life sucks, deal with it!"