<<< Date Index >>>     <<< Thread Index >>>

Re: Hook for non-signing



* Julius Plenz <jp@xxxxxxx> [10-06-2004 21:09]:

> * Joshua Crawford <mortarn_lists@xxxxxxxxxxxx> [2004-06-09 22:53]:
> > * Richard J. Cattien <rc.foreign@xxxxxxx> [2004-06-09 06:54 +0200]:
> > > my default is to pgp-sign all mails. But for some adresses i don't want
> > > signing as default, instead no signing at all. How would a hook look
> > > like which results in "no default signing when send to foo@xxxxxxx"?
> > 
> > send-hook foo@bar\\.com 'unset pgp_autosign'
> 
> To coorect your example:
> 
> send-hook .             '  set pgp_autosign'
> send-hook foo@bar\\.com 'unset pgp_autosign'

You might want to use the more generic $crypt_autosign, which takes
$smime_is_default into account..

-- 
René Clerc                      - (rene@xxxxxxxx) - PGP: 0x9ACE0AC7

The magnitude of this hack compares favorably
with that of the national debt.
-Comment from MS code:  private\ntos\w32\ntuser\client\nt6\user.h

Attachment: pgp2B7H41tUSl.pgp
Description: PGP signature