I understand it is a tough questions. Another approach, then. Would it be possible to receive a hash of the password, in Dovecot post-login script?
This might be used to decrypt the encryption key in the user directory. Thanks, André On Sun, 2020-04-26 at 11:38 +0100, André Rodier wrote: > Hello, > > I have a question about the "mail-crypt-plugin". > > If each user is having its own mail encryption key, is there a way to > encrypt the key with the user password, and to decrypt it when the > user > logs in? > > I want to, if this is possible, to prevent any user, even root, to > access another user's emails. > > Thanks, > André >