Hello, sorry to bore you but after many days I still cannot solve the problem. I updated to 2.4.1 too but I still have the problem. I cannot understand why I have this error during LMTP session when I receive an email and it cannot write it on the disk as dovecot tries to load private key... Why? dovecot should load the public key but instead it tries to load a private key and it appears it tries to load from a disk. Infact the error:
Raw user initialization failed: mail_crypt_plugin: main: Couldn't parse private key : Unknown key format
is in "src/plugins/mail-crypt/mail-crypt-global-key.c"
at line 97 and the error should be:
*error_r = t_strdup_printf("%s: Couldn't parse private key %s: %s", set_key, file->path, error);
then dovecoit has the file->path blank.... it is really strange as I declared that the private key is on ldap... why it is searching from a path file ? infact the path file is blank...
Anyone can help? Thank you.