I’m currently facing an issue while setting up SSL on my Mailcow email server. Despite having both AAAA (IPv6) and A (IPv4) records correctly configured in Cloudflare for my domain, I’m encountering an error related to IPv6 during the SSL setup process.

Here’s the specific error message from the mailcowdockerized-acme-mailcow-1 container logs:

Cannot match your IP 0000:0000:0000:0000:0000:0000:0000:0000 against hostname my.hostname.com (DNS returned XXXX:YYYY:ZZZZ:000::1111)

Removing the AAAA record and keeping only the A record allows SSL to function properly, but I prefer to have both IPv4 and IPv6 enabled for improved connectivity.

It seems that the local IPv6 detection isn’t functioning correctly (0000:0000:0000:0000:0000:0000:0000:0000 it’s obviously not my IPv6). The IPv4 detection is working fine.

OS: Debian 11

I would greatly appreciate any insights or suggestions on resolving this issue. Thank you in advance for your help!

Please note XXXX:YYYY:ZZZZ:000::1111 it’'s my server IPv6.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

DocFraggle i’m not using Contabo, it’s a VPS from a datacenter near my city, very unknown. Their servers already come with IPv4 and IPv6 enabled.

Did you read the whole thread?

    What’s the output of

    curl –connect-timeout 3 -m 10 -L6s ip6.mailcow.email

    inside the ACME container?

    This is most likely a host configuration problem I guess

      DocFraggle no output, i added all the necessary info on the github issue 🙂 also what do you suggest me to do since its a host configuration problem? this is a fresh server..

      No one is typing