I have a problem with setting up folder-hooks. When I have something like: folder-hook . \ set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet <blah>" (with lots of command line parameters substituted for "<blah>") Mutt doesn't seem to care about the quotation marks, and complains about an unknown variable "gpg". This is not a problem when not using a folder-hook, and otherwise exactly the same line. Am I missing something? It was my understanding that folder-hook accepts just about any command, but it appears that is not the case. What I am trying to do is simply to change the gpg command to use a different self-encryption key when in a particular mailbox, and my normal key in all other cases. Is there perhaps a better way to accomplish that? Any insight is greatly appreciated. -- /"\ Michael Kjörling - michael@xxxxxxxxxxxx - SM0YBY QTH JO89XI ^..^ \ / OpenPGP: 3723 9372 c245 d6a8 18a6 36ac 758f 8749 BDE9 ADA6 \/ X World Wide Web: http://michael.kjorling.com/ Facta non verba / \ ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments
Attachment:
pgpuV9K8jthV1.pgp
Description: PGP signature