[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt pgp nosign variable?



On Wed, Oct 15, 2003 at 02:10:24PM -0400, Nori Heikkinen wrote:
> i'm trying to create a send-hook in my .muttrc so that i can
> automatically not pgp-sign messages i send to specific addresses.  but
> i can't figure out which variable to use, or if i'm not seeing them
> all.  i know it'll be along the lines of 
> 
> send-hook 'pattern' 'unset somevariablename'
> 
> but i don't know which variable this will be.  pgp_autosign seems to
> be the one --

Here's what works for me:

send-hook pattern "set pgp_autosign="no""

And personally I have this line right near the top of my .muttrc as
well (so it defaults to autosign -- not sure if this is necessary):
send-hook . "set pgp_autosign="yes""

	Cheers!
-- 
,-------------------------------------------------------------------------.
>   -ScruLoose-   |        I do not agree with what you have to say,      <
>  Please do not  |   but I'll defend to the death your right to say it.  <
> reply off-list. |                       - Voltaire                      <
`-------------------------------------------------------------------------'

Attachment: pgpKxkQgY15nr.pgp
Description: PGP signature


Reply to: