Hello!
On Fri, Aug 31, 2001 at 08:35:58PM -0400, Justin R. Miller wrote:
> I have a quick question -- is there a way to set the PGP attributes
> (i.e. sign/encrypt/both/neither) based on the recipient in a send hook
> or something? For example, I typically sign everything but I'd like it
> to auto-encrypt for certain recipients.
>
I use something like this in my .muttrc:
## send-hooks for special adresses
send-hook . "unset pgp_autoencrypt"
#send-hook . "set pgp_autosign" #Done that later by folder-hook to be
#able to remove some autosigns again
send-hook @web.de "unset pgp_autosign" #Never use PGP to web.de, damn!
send-hook [EMAIL PROTECTED] "set pgp_autoencrypt"
# Then always autosign (by folder-hook so I will be able to remove that
# auto-
# sign for other folders again. Won't work when done by send-hook!!)
folder-hook . "set pgp_autosign"
# IN.sleepwalker
folder-hook IN.sleepwalker "unset pgp_autosign"
Or you can use send-hooks for special email-adresses...
HTH,
Arvid
--
.''`. [Arvid Warnecke] [[EMAIL PROTECTED]] [05323-715724]
: :' : [ICQ 55906559] [ http://up.to/suck ] [PGP-Subject:"get pgp key"]
`. `' Linux 2.4.2 i686 XFree86 Version 4.0.2 Uptime: 2 days, 14:18
`-- BOFH #253: We've run out of licenses
PGP signature