There is an example of manually encrypting/decrypting mail processed by the mail_crypt plugin here:

https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/


It outlines how one would manually encrypt/decrypt messages using global keys:

doveadm fs get/put crypt private_key_path=foo:public_key_path=foo2:posix:prefix=/path/to/files/root path/to/file


Is there a way to accomplish this using per-user folder keys? Is there some way of making sense of the information in the dovecot-attributes file to accomplish this?

-- 
Ben Burk
BURK.TECH System Administrator