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

Re: Hook for non-signing



Hi,

On Thu, Jun 10, 2004 at 09:39:54PM +0200, René Clerc wrote:
> > > > 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..

How? The above works very fine!

bye,
        richard

-- 
Richard Cattien,
PGP-Public-Key: http://cattien.org/richard/keys/rc_pubkey.asc

Attachment: pgp0lNv6OCFnm.pgp
Description: PGP signature