Email deliverability problem

What is the name of the domain?

What is the issue you’re encountering

my emails from my domain is going to gmail spam

What steps have you taken to resolve the issue?

hello. my emails from my website (email server) getting into gmail spam folder so I research about it and findout that I should configure spf and dkim. so in my email deliverability in capnel it shows error: this system does not control DNS for the “” domain. contact the person responsible for for the “
I changed mx and txt records in cloudflare but nothing happened.

What feature, service or problem is this related to?

Mail records

Screenshot of the error

Can you show a screenshot of the records that you have configured in Cloudflare?

1 Like

thank you for your answer.

I can see both the SPF and DKIM records. However, the target of the MX record should be a DNS-Only record.

You might want to delete your CNAME record that is named mail and replace it with an A record with name mail and your IP address, DNS-Only.

Then change the target of the MX record to

Also, there is no reverse DNS (PTR) record for your IP address. I see that you have tried to create one in Cloudflare, but this record must be created with your hosting provider. You can delete the PTR record from Cloudflare.

1 Like

thank you very much Laudian
I did all of your advices (all of cloudflare settings and ptr record by hosting provider):

and sent multiple emails. all of emails to microsoft email (outlook) delivered in inbox (not spam) but all to gmail got spammed!

I can see that you have created a PTR record with your provider now, but the target does not exist:

dig +short ptr

dig +short

The target of the PTR needs to point back to your IP. You could use the mailsubdomain that you created earlier.

1 Like

my provider sent me pic of the ptr record:

I’m not sure what that on the screenshot is supposed to be, but it’s not how PTR records work.

dig +short ptr

Currently, your PTR record points to, but that name does not exist.

dig +short

The target of your PTR record needs to point to your server’s IP address.

1 Like