dovecot lib-dcrypt.so is not patched for OpenSSL 3.0 (Mail Crypt Plugin broken)
Hello everyone,
i'm DerLinkman one main developer of the mailcow: dockerized project on GitHub.
We are currently building native ARM64 support for the mailcow project and want to swap the Debian based Dovecot image to a Alpine Based docker image.
The general dovecot with submodules is working very good and solid so far and newly mails get decrypted as planned.
However old E-Mails which came from a openssl1.1.1X Dovecot Debian instance (which has been encrypted on that) won't be decryptable on the new alpine based Images.
The Cryptkeys are exactly the same. The Users and Groups (including group ids) are also exactly the same and the permissions are as well the same.
However anytime dovecot is trying to open such encrypted mail it says:
2023-10-16 11:18:33 Error: read(/var/vmail/asdökfjlaskdjfla/Maildir/.INBOX.! asdfasdfasdf/cur/1649346412.M610300P59299.fb225c99c952,S=1948,W=2008:2,S) failed: Decryption error: no private key available
Which is not true, as the key exists.
Maybe this is not a Alpine issue but on Debian 12 if i use their repo packages the mails get decrypted normally, so i am curios.