Re: Enable/disable PGP/GPG with folder hook
* On Thu, Jan 01, 2004 Sascha Andres (sa@xxxxxxxxxxxxxxxxxxxxx) muttered:
> I have several mail folders where I want to have gpg
> disabled, mostly mailing lists.
What do you mean by disable?
1. do not sign you own messages
2. do not check signatures from others
> Can I disable / enable gpg with a folder-hook?
# default settings
folder-hook . \
'set crypt_replysign=yes; \
# set crypt_autosign; \
set crypt_replyencrypt=yes; \
set crypt_verify_sig=ask-no'
# mailinglists
folder-hook =mailinglists \
'set crypt_replysign=no; \
# unset crypt_autosign; \
set crypt_replyencrypt=no; \
set crypt_verify_sig=no'
HTH,
Michael
--
finlandia:~> apropos win
win: nothing appropriate.
PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key