# Problem installing chat relay \[certificate for shared IPv4 address space\]

**URL:** <https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180>\
**Category:** Chatmail Relays\
**Created:** [May 5, 2026, 9:06pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180 "2026-05-05T21:06:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 5, 2026, 9:06pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/1 "2026-05-05T21:06:56Z")

</div>

Hi there

long time no see.

I’m trying to install a chatmail relay. I have my own domain at strato and I’ve tried to setup DNS correctly (not sure if I’ve actually managed it)

I try to follow this description: [How to deploy a Chatmail server](https://felipebaez.com/how-to-deploy-a-chatmail-server/)

But when I run

\<`scripts/cmdeploy dns> `

I get the error which you can see in the uploaded file. I’m really inexperienced in these matters and would appreciate any kind of help.

Greetings from Austria  
broncheolus

–log edited out–

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 5, 2026, 9:32pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/2 "2026-05-05T21:32:09Z")

</div>

There are similar issues at [cmdeploy: "Request certificate" fails in NAT'ed environment · Issue #665 · chatmail/relay · GitHub](https://github.com/chatmail/relay/issues/665), [Can't request certificate while installing chatmail · Issue #774 · chatmail/relay · GitHub](https://github.com/chatmail/relay/issues/774), [acmetool reconcile fails: connection refused · Issue #826 · chatmail/relay · GitHub](https://github.com/chatmail/relay/issues/826)

Could you check with `netstat -lntp` what is listening on port 80? Maybe there is a web server preinstalled.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 5, 2026, 10:05pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/3 "2026-05-05T22:05:31Z")

</div>

I forgot to mention. I’m trying to install to a Raspberry Pi behind a fritzbox. My local machine is in the same intranet. Ports a forwarded as seen in the picture. The output of netstat executed on the Rasp is as following:

edit: I can also use a certificate from strato instead of the lets-encrypt-cert

[Output-netstat-nltp.txt](https://forum.delta.chat/uploads/short-url/tKLlUjJQS3m2gpq1ZXPxTmmJjsf.txt) (1.9 KB)

 ![PortforwardingFritzbox](https://support.delta.chat/uploads/default/original/2X/c/c1aa65bd94de42d07f668c25574e700d64ad0aa0.jpeg)

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 6, 2026, 12:11am UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/4 "2026-05-06T00:11:38Z")

</div>

> [@broncheolus](#):
>
> I’m trying to install to a Raspberry Pi behind a fritzbox.

Ok, the problem is that the IP address you have put into DNS is not public, it is from `100.64.0.0/10` ([IPv4 shared address space - Wikipedia](https://en.wikipedia.org/wiki/IPv4_shared_address_space)), so Let’s Encrypt (CA) cannot connect to the server over HTTP.

If you are setting it up for the local network, you can get a TLS certificate and follow [Running a relay with externally managed certificates](https://chatmail.at/doc/relay/getting_started.html#running-a-relay-with-externally-managed-certificates), or you can create a subdomain that starts with `_` (e.g. `_cm.example.org`) and follow [Running a relay with self-signed certificates](https://chatmail.at/doc/relay/getting_started.html#running-a-relay-with-self-signed-certificates).

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 6, 2026, 2:23pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/5 "2026-05-06T14:23:08Z")

</div>

Ah, ok! Thanks a lot! I will try.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 7, 2026, 1:33pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/6 "2026-05-07T13:33:56Z")

</div>

I have now a static ip and will try to install the relay.

Before I do so I have one more question. At my domain provider I have a ssh certificate.

- Is it possible to use this certificate instead of the let’s encrypt cert?
- Will it be recognised automatically (I have connected the cert to my domain) and be used for the relay?

Thxs.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 7, 2026, 3:05pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/7 "2026-05-07T15:05:50Z")

</div>

If you mean SSL certificate, you can use it by following [Setting up a chatmail relay - chatmail relay documentation](https://chatmail.at/doc/relay/getting_started.html#running-a-relay-with-externally-managed-certificates) if you the hoster gives you certificate and the key. If they don’t give you the key, but just offer a reverse proxy, then this is not usable for SMTP and IMAP. In any case you probably don’t want them to have SSL/TLS key for your server, and if you use their certificate you will need to renew it manually once it expires. So if you have static IP that can be used to connect to your server, better use Let’s Encrypt with built-in acmetool.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 7, 2026, 4:32pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/8 "2026-05-07T16:32:26Z")

</div>

Thank you. I will follow your advice!

Really great! Have a nice evening.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 7, 2026, 7:52pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/9 "2026-05-07T19:52:08Z")

</div>

Hi again,

The process went fine.

when testing (`scripts/cmdeploy dns---scripts/cmdeploy status---scripts/cmdeploy test---scripts/cmdeploy bench`) the output is the following (attachment “TestingTheServer.txt))

For me everything seems fine except the first part containing the DNS settings. I tried to set everything I could but for some of these DNS settings I could not find the place to do so. So are the relevant if everything else went fine? (for my blind eye)

–log edited out–

Edit: Actually, I already use my relay and it works perfectly so far, I’m so happy. DeltaChat is so brilliant.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 7, 2026, 8:34pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/10 "2026-05-07T20:34:05Z")

</div>

Did I already mention that I’m sooo happy! ;-))

---

<div class="post-metadata">

**Author:** ![punkero](https://forum.delta.chat/user_avatar/forum.delta.chat/punkero/32/3455_2.png) [@punkero](https://forum.delta.chat/u/punkero)\
**Post date:** [May 8, 2026, 4:34pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/11 "2026-05-08T16:34:38Z")

</div>

> I tried to set everything I could but for some of these DNS settings I could not find the place to do so

The report is basically saying you have almost nothing configured in DNS, so I would take this as a more serious failure rather than a light warning. Looking up your zone, it uses [rzone.de](http://rzone.de) which is owned by [strato.de](http://strato.de); I do not read German but I think this is the doc with how to use their DNS control panel:

- [https://www.strato.de/faq/domains/wie-kann-ich-bei-strato-meine-dns-eintraege-verwalten/](https://www.strato.de/faq/domains/wie-kann-ich-bei-strato-meine-dns-eintraege-verwalten/)

The settings being reported missing are kind of important to how modern email delivery in general works, you’re missing almost all of them.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 9, 2026, 3:11pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/12 "2026-05-09T15:11:19Z")

</div>

Ok. I already tried to find the correct place to set some of those. Just an example:

\_mta-sts.example.org. 3600 IN TXT “v=STSv1; id=202605071851\”

or

\_dmarc.example.org. 3600 IN TXT “v=DMARC1;p=reject;adkim=s;aspf=s”

Is there something I get wrong? I also can’t find a place to set TTL.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 9, 2026, 3:13pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/13 "2026-05-09T15:13:07Z")

</div>

Or:

[example.org](http://example.org). 3600 IN CAA 0 issue “[letsencrypt.org](http://letsencrypt.org);accounturi=[https://acme-v02.api.letsencrypt.org/acme/acct/1234”](https://acme-v02.api.letsencrypt.org/acme/acct/1234%E2%80%9D)

Where’s the right place to set this?

 ![grafik](https://support.delta.chat/uploads/default/original/2X/f/fed94cb9eea8b7f28970d3f684e08b436f165a17.png)

I’m sorry to bother you with these things.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 9, 2026, 3:39pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/14 "2026-05-09T15:39:54Z")

</div>

Setting TXT records look correct, but you probably don’t need to put the double quotes into the text field.

For CAA, if you cannot replace the type “TXT” with “CAA” because it is not in the list, you cannot set it, but you can skip this step, see [CAA record on cPanel](https://support.delta.chat/t/caa-record-on-cpanel/4714)

---

<div class="post-metadata">

**Author:** ![punkero](https://forum.delta.chat/user_avatar/forum.delta.chat/punkero/32/3455_2.png) [@punkero](https://forum.delta.chat/u/punkero)\
**Post date:** [May 9, 2026, 3:42pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/15 "2026-05-09T15:42:46Z")

</div>

> [@broncheolus](#):
>
> Is there something I get wrong? I also can’t find a place to set TTL.

It’s no bother, we all have to start and learn somehow. For the first problem, you are doing the right thing but running into an “invisible” problem - the quotation marks. When you see a line written like this:

```auto
example.org. 3600 IN CAA 0 issue “lets...”

```

…it’s in “BIND” (the original software for doing internet DNS developed at Berkeley) format which is a text file with a structure. But when you use a webUI / GUI DNS control panel at a provider, they are trying to help you by dealing with the minutiae because the BIND format is very strict with periods, quotes and things of that sort which we humans just sort of get wrong sometimes.

In this case, the control panel is handling the quotation marks for you – you should be able to just remove the beginning and ending quotes and paste it into the field. When saving, the control panel will add the appropriate quotes around it for internal use. They typically do the same thing with periods - by BIND spec you have to end everything with periods but it’s not natural for us humans, so they automate that part.

For the CAA record, it’s a specific type and it’s _possible_ that [Strato.de](http://Strato.de) does not support them - they are “new” but like at least 5+ years old and “everyone” supports them. The control panel needs to have that option, or…. well, you stumbled on one of the rare, outdated DNS providers who hasn’t upgraded to support CAA records? I haven’t run into one of these in a long time, you may have gotten bad luck with your DNS host.

This might also be why you don’t see an option to change the TTL, but sometimes they hide it away behind an “Advanced” button or checkbox or something. I know nothing about [strato.de](http://strato.de) but it might not have the most robust DNS solution. You can host DNS anywhere, a lot of folks use [https://www.dnsperf.com/](https://www.dnsperf.com/) to help them find a DNS provider they like.

**Edit** : I found someone asking for help about 2 years ago and the response at that time is Strato does not support CAA and is a limited DNS provider. [DNS CAA? (Webserver, Strato, Nextcloud)](https://www.gutefrage.net/frage/dns-caa)

Edit 2, another confirmation Strato does not support CAA. [Who Supports CAA Records?](https://sslmate.com/caa/support)

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 9, 2026, 4:06pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/16 "2026-05-09T16:06:08Z")

</div>

Oh. So I just leave it that way? Is it necessary to change my provider? Would be some work again.

actually I could reduce the things missing.

Port 587 was already gone. But when checking again the entry seems to miss again. Maybe it takes some time till everything runs correctly TTL (=”refresh time”?) is 10000, I think. at strato.

Well I also realised, that I posted my domain. Now my private relay can be used by anyone. How stupid of me. :-)))

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 9, 2026, 4:14pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/17 "2026-05-09T16:14:41Z")

</div>

removed the double quotes

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 9, 2026, 4:21pm UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/18 "2026-05-09T16:21:55Z")

</div>

Well now everything is set except the CAA. So I will leave it that way except it s massively risky.

---

<div class="post-metadata">

**Author:** ![broncheolus](https://forum.delta.chat/user_avatar/forum.delta.chat/broncheolus/32/140_2.png) [@broncheolus](https://forum.delta.chat/u/broncheolus)\
**Post date:** [May 10, 2026, 8:52am UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/19 "2026-05-10T08:52:34Z")

</div>

One last question or request,

Is it possible to remove the files and points where I mention my domain? I removed the entries where I could still edit my posts but there are still posts where it’s visible. I’ve no problem if other people use my relay but I’m kind of afraid that too many of them could bring my RaspPi to the limit.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [May 10, 2026, 9:36am UTC](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180/22 "2026-05-10T09:36:49Z")

</div>

I edited out everything i found

[Next page](https://forum.delta.chat/t/problem-installing-chat-relay-certificate-for-shared-ipv4-address-space/5180.md?page=2)
