-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, August 13 at 04:19 PM, quoth Mark Sansome:
>I would like to sign each mail with a gpg key appropriate to that 
>identity. I have tried the following send-hook, but perhaps my 
>understanding of the syntax of hooks is incorrect. Anyway it doesn't 
>work:
>
># Default gpg signature for majority of mail
>set pgp_sign_as=1234567891234567
># Identity and gpg signature to be used in all mails to "[EMAIL PROTECTED]" 
>send-hook '~C [EMAIL PROTECTED]' 'my_hdr From: Test Account <[EMAIL 
>PROTECTED]>' 'set pgp_sign_as=98765432198765432'
>
>Is it possible to do this?
>Is my syntax incorrect? 

What you need to do is separate them into different send-hooks, like 
so:

send-hook '~C [EMAIL PROTECTED]' 'my_hdr From: Test Account <[EMAIL PROTECTED]>'
send-hook '~C [EMAIL PROTECTED]' 'set pgp_sign_as=98765432198765432'

Unfortunately, you can't have a single send-hook execute multiple 
commands.

~Kyle
- -- 
As far as the laws of mathematics refer to reality, they are not 
certain, and as far as they are certain, they do not refer to reality.
                                                     -- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFGwH+tBkIOoMqOI14RAl0eAJ45nSrmmSecAJ5s/5DtG+zZv3puAACgpJ8U
quXvLjzNstwwbSdlIfxYIsY=
=WDjz
-----END PGP SIGNATURE-----

Reply via email to