Use DNS-01 ACME Challenge in Mailcow with Cloudflare

Modified on Tue, 8 Sep at 3:11 PM

sudo -i
nano /opt/mailcow-dockerized/mailcow.conf


Edit these lines at the bottom:

ACME_DNS_CHALLENGE=y
ACME_DNS_PROVIDER=dns_cf
ACME_ACCOUNT_EMAIL=you@acmecorp.com

Save and close


nano /opt/mailcow-dockerized/data/conf/acme/dns-01.conf


Add these lines:

CF_Token="cfabcTEST123"
CF_Zone_ID="aabbccaabbcc112233112233"

Save and close


Restart the docker:

docker-compose up -d



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article