DocFraggle Yeah exactly i remembered this so i switched it back then as Alpine had no lz4 support during the inital tests. Only zstd got added after my request first.

However it is related something which has changed from Alpine 3.16 to 3.18.

I just found something very, very, very, very interesting:

GitLab Icon debian/patches/Support-openssl-3.0.patch · master · Debian / dovecot · GitLab

This is a patch to support openssl 3.0 from last year. At this time Debian 12 was in development which ships OpenSSL3.0 and a running Repo Installation of Dovecot.

    DocFraggle Yes but only for debian! Debian creates their own patches.

    You can actually see that the Dovecot devs are/were working at this too here:

    GitHub Icon History for src/lib-dcrypt/dcrypt-openssl3.c - dovecot/core

    In the current stable versions of Dovecot there is only one dcrypt-openssl.c file not two like in the main (dev) branch.

    (See GitHub Icon core/src/lib-dcrypt at release-2.3.21 · dovecot/core

    and GitHub Icon core/src/lib-dcrypt at main · dovecot/core
    GitHub Icon GitHub
    core/src/lib-dcrypt at main · dovecot/core
    Dovecot mail server. Contribute to dovecot/core development by creating an account on GitHub.
    Dovecot mail server. Contribute to dovecot/core development by creating an account on GitHub.
    )

    Ubuntu also make their own Patches so that is also the reason why it is working with the Ubuntu Repo packages.

    Well, I thought I could quickly try to build an alpine dovecot image with the dovecot main branch, but I would need an Alpine Linux OS to do that 😄 that’s too much for the time I have to spare currently 🙂

    Anyways, is there a specific reason why you want to switch dovecot from the Debian image over to the Alpine image?

      DocFraggle Yes indeed. Alpine is supporting ARM64 better then Debian at least for Dovecot. Yes their repo version is also ARM64 compatible but it makes the implementation for newer features harder as they don’t the latest versions.

      With Dovecot 2.4 (or the current master state in git) there will change a lot which is causing mailcow to not even boot up. So yeah that’s a bit shitty. It has to be done in the future…

      6 days later

      Guys! Good news! My approach to Alpine has been submitted, they merged the patch!

      GitLab Icon main/dovecot: fix openssl 3 support (815bb154) · Commits · alpine / aports · GitLab

      Now it only have to work 🤞

      It works indeed! mailcow Team 🤜 🤛 Alpine Team

        DerLinkman Great news 🥳 I just deleted my ARM VM yesterday 🙃 but you already tested it I assume from your last line above 😀

        Yep it works. When the packages will be installed without a quirky stuff inside the docker image then i’ll probably push the updated Image so anybody can test.

        a month later

        Does this mean that a migration from x86 to Arm should now be possible?

        13 days later

        If you want to use it in a production environment I would definitely wait until @DerLinkman published a stable version

        Ganzjahresgriller I’m waiting on Alpine to release 3.19 stable which includes the Dovecot fixes.

        I won’t merge anything which is using Edge packages like the current nightly Version of Dovecot does. It needs to be stable at least OS wise!

          No one is typing