# Problem with DKIM, SPF and Dmarc

**URL:** <https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769>\
**Category:** Mail\
**Created:** [December 21, 2025, 9:40am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769 "2025-12-21T09:40:04Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 9:40am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/1 "2025-12-21T09:40:04Z")

</div>

Hello, do you have any reliable websites or tools for generating DKIM, SPF, and DMARC records? Some servers treat my Hestie-generated messages as spam, and I get responses like the one in the image.

 ![Zrzut ekranu 2025-12-21 o 10.39.44](https://forum.hestiacp.com/uploads/default/original/2X/e/ef97fb14f1eb3567fed1930559b91c17ea1f955b.jpeg)

 ![Zrzut ekranu 2025-12-21 o 10.39.34](https://forum.hestiacp.com/uploads/default/original/2X/f/f8a49d851291f8bfd5401bdeebb8df80f33a3c35.jpeg)

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 9:43am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/2 "2025-12-21T09:43:39Z")

</div>

Hello, do you have any reliable websites or tools for generating DKIM, SPF, and DMARC records? Some servers treat my Hestie-generated messages as spam, and I get responses like the one in the image.

 ![Zrzut ekranu 2025-12-21 o 10.39.44](https://forum.hestiacp.com/uploads/default/original/2X/e/ef97fb14f1eb3567fed1930559b91c17ea1f955b.jpeg)

 ![Zrzut ekranu 2025-12-21 o 10.39.34](https://forum.hestiacp.com/uploads/default/original/2X/f/f8a49d851291f8bfd5401bdeebb8df80f33a3c35.jpeg)

I am sending the domain settings

 ![Zrzut ekranu 2025-12-21 o 10.41.59](https://forum.hestiacp.com/uploads/default/original/2X/4/4c0f9d605469f79e639f567fb2d1a28463435031.jpeg)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 10:05am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/3 "2025-12-21T10:05:24Z")

</div>

In Cloudflare, you added the DKIM info to the wrong place. You added it to your base domain `webdesign-studio.com.pl` but you must add it to `mail._domainkey.webdesign-studio.com.pl` subdomain record.

DMARC and SPF is correctly added.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 11:26am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/4 "2025-12-21T11:26:33Z")

</div>

Could you show me how to add it correctly so I don’t make a mistake?

 ![Zrzut ekranu 2025-12-21 o 12.27.32](https://forum.hestiacp.com/uploads/default/original/2X/2/249fbb238eed87f09d964c42688351d8eb3bc793.jpeg)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 11:32am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/5 "2025-12-21T11:32:12Z")

</div>

In `Name` field remove the base domain and add `mail._domainkey`

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 11:46am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/6 "2025-12-21T11:46:06Z")

</div>

> [@sahsanu](#):
>
> mail.\_domainkey

will it be okay?

 ![Zrzut ekranu 2025-12-21 o 12.45.30](https://forum.hestiacp.com/uploads/default/original/2X/d/d177534f542e8760737a6fb1b52bb824959ff5fe.jpeg)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 12:02pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/7 "2025-12-21T12:02:08Z")

</div>

Yes, seems so.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 12:15pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/8 "2025-12-21T12:15:21Z")

</div>

Thanks for your help. I think my email will be working normally now. Now I have to wait 24 hours?

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 12:35pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/9 "2025-12-21T12:35:06Z")

</div>

> [@tasior22](#):
>
> Thanks for your help.

You’re welcome.

> [@tasior22](#):
>
> Now I have to wait 24 hours?

No, it should work now.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 2:46pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/10 "2025-12-21T14:46:56Z")

</div>

However, after sending the email I received this reply:

 ![Zrzut ekranu 2025-12-21 o 15.46.41](https://forum.hestiacp.com/uploads/default/original/2X/a/a8f7759ce44a98c425b962d249ebd877d6f72c3d.jpeg)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 3:19pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/11 "2025-12-21T15:19:15Z")

</div>

You should create a PTR record for your current public IP that resolves to the same hostname your mail server uses to identify itself, in this case `webdesign-studio.com.pl`.

**Note** : The PTR record must be created on your hosting side, not Cloudflare.

You can also test your mail server using this site:

> **[Newsletters spam test by mail-tester.com](https://www.mail-tester.com/)**
>
> mail-tester.com is a free online service that allows you to test your emails for Spam, Malformed Content and Mail Server Configuration problems

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 3:37pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/12 "2025-12-21T15:37:02Z")

</div>

so this ptr record would have to be added by the hosting provider, right

 ![Zrzut ekranu 2025-12-21 o 16.45.43](https://forum.hestiacp.com/uploads/default/original/2X/6/6519f674569c0ae601f234eafc1ac5284752e740.jpeg)

 ![Zrzut ekranu 2025-12-21 o 16.46.07](https://forum.hestiacp.com/uploads/default/original/2X/2/2586feb08b4bffa9c4284a66e53cde0873ec0472.jpeg)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 3:52pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/13 "2025-12-21T15:52:51Z")

</div>

Yes, but usually you should be able to change it through the control panel provided by your hosting company.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 3:55pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/14 "2025-12-21T15:55:57Z")

</div>

Unfortunately, I can’t because they also added revdns to me, I don’t have that option.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 21, 2025, 3:59pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/15 "2025-12-21T15:59:27Z")

</div>

> [@tasior22](#):
>
> I can’t because they also added revdns to me

Sorry, I don’t understand what you mean.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 21, 2025, 4:26pm UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/16 "2025-12-21T16:26:23Z")

</div>

I wanted to write that my hosting provider did not provide these options in the panel, such as adding prt and revdns records, I just have to write a ticket and they will add it.

---

<div class="post-metadata">

**Author:** ![tasior22](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/t/b5a626/32.png) [@tasior22](https://forum.hestiacp.com/u/tasior22)\
**Post date:** [December 23, 2025, 9:05am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/17 "2025-12-23T09:05:31Z")

</div>

Hello, me and my friends who use Hestia mail with me still get this reply after sending a message:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its

recipients. This is a permanent error. The following address(es) failed:

[a.bozek@nsm.org.pl](mailto:a.bozek@nsm.org.pl "mailto:a.bozek@nsm.org.pl")

```
host mail.nsm.org.pl \[195.78.66.221\]

SMTP error from remote mail server after end of data:

550-Your message to <[a.bozek@nsm.org.pl](mailto:a.bozek@nsm.org.pl "mailto:a.bozek@nsm.org.pl")> was classified as SPAM. Please add

550-more content, cut down on HTML links, use fewer naughty words etc. Also,

550-ask your IT dept to make sure your mailserver has REVERSEDNS, SPF, DKIM,

550 and is not on any black lists. Your score:

170

```

can i fix it somehow revdns and prt records added.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 23, 2025, 9:54am UTC](https://forum.hestiacp.com/t/problem-with-dkim-spf-and-dmarc/20769/18 "2025-12-23T09:54:28Z")

</div>

The second command should return `webdesign-studio.com.pl` but it returns nothing.

```auto
❯ dig webdesign-studio.com.pl +short
83.168.108.58
❯ dig -x 83.168.108.58 +short

```

Example of an IP with a PTR configured:

```auto
❯ dig mail.hestiacp.com +short
116.203.78.202
❯ dig -x 116.203.78.202 +short
web02.hestiacp.com.

```

Your hosting provider didn’t add the PTR record for your IP. You should contact them about this.
