On 09/07/2023 18:24 EEST Robert Senger rs-dovecot@lists.microscopium.de wrote:
Hi there,
is there a possibility to combine public mailboxes (as described in the first link below) with mailcrypt plugin using per-user keys (as described in the second link below)?
I assume, no. But if there's a solution like, for example, storing the decryption key multiple times with different password protection, or by using a global key for the public mailbox only, let me know...
I know that I could simply turn off encryption for the public mailbox, and I know how to do that. That's the fllback solution... ;)
Regards,
Robert
(1) https://doc.dovecot.org/configuration_manual/shared_mailboxes/public_shared/...
(2) https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/
-- Robert Senger
Technically you could return a keypair for the public user from userdb, when the public user is being looked up. mail_crypt_global_public/private_key takes precedence over generated keys.
Aki