Author Topic: Email is neither received nor sent.  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Email is neither received nor sent.
« on: April 22, 2024, 09:48:43 PM »
Hello,
I have been struggling for almost a month to solve the email problem.
It neither receives nor sends emails.
i use Cloudflare as DNS.
Routing is disabled in Cloudflare.
I need emails to work on admin@djridhaboss.com.
I use the default Roundcube.

Please tell me the errors and how to solve the problem.

Please tell me what to change or what to add and where to do it.
Installed RainLoop Webmail on new subdomain, https://email.djridhaboss.com same problem.
Sorry for the question, I'm new to all this and it's very hard for me.

These are DNS i have added
https://gyazo.com/a52aa63498c705bd2033ee449264e1fc
That is on the server
https://gyazo.com/c91897dd2c27295b2661ebdb2c07c6d1

Thanks in advance

Offline
****
Re: Email is neither received nor sent.
« Reply #1 on: April 22, 2024, 10:27:45 PM »
Do you have valid rDNS / PTR record in place (provided by your hosting provider/ISP)?

Your SPF record doesn't look like complete, correct syntax; it should be more like this:
Code: [Select]
v=spf1 ip4:192.0.2.0 include:example.com -all
https://www.cloudflare.com/learning/dns/dns-records/dns-spf-record/

Offline
*
Re: Email is neither received nor sent.
« Reply #2 on: April 22, 2024, 10:43:01 PM »
Thanks for the replay.
I changed it to v=spf1 ip4:192.0.2.0 include:djridhaboss.com -all

Not work either.
I see the same error:
 Your message couldn't be delivered to admin@djridhaboss.com because the remote server is misconfigured. See technical details below for more information.

 554 5.7.1 : Relay access denied
« Last Edit: April 22, 2024, 10:46:21 PM by Kvakunoff »

Offline
*
Re: Email is neither received nor sent.
« Reply #3 on: April 22, 2024, 10:48:52 PM »

Offline
*
Re: Email is neither received nor sent.
« Reply #4 on: April 22, 2024, 10:54:35 PM »
I added this line.
v=spf1 mx a a:keanu.ns.cloudflare.com a:thea.ns.cloudflare.com -all

Now sending emails but not receiving the emails.

Offline
****
Re: Email is neither received nor sent.
« Reply #5 on: Today at 12:18:40 AM »
I never seen an email server run behind the Cloudflare proxy service before.

Usually this is only for websites, as email servers want to connect to/from the actual IP address.

Offline
*
Re: Email is neither received nor sent.
« Reply #6 on: Today at 12:21:12 AM »
Noting else works.
I watch tons of videos, noting helps :(

Offline
****
Re: Email is neither received nor sent.
« Reply #7 on: Today at 12:27:16 AM »
Noting else works.
I watch tons of videos, noting helps :(

You will need to un-proxy mail.domainname.com
Or get a 2nd IP just for mail.domainname.com, if you don't want to expose the primary IP.

When the mailserver checks the PTR & rDNS it will fail, as Cloudflare's proxy DNS doesn't have any entries.
Also trying to use Cloudflare's NS servers in an MX will get your IP into trouble, as their system could see it as a spammer attack.

Also if you are using a NAT for a local network, that also makes things more complicated, as your ISP may not allow port 25 access.

Offline
*
Re: Email is neither received nor sent.
« Reply #8 on: Today at 12:59:20 AM »
Thanks for replay.
I ask CONTABO support for answers, i use their server.
I removed the DNS records in Cloudflare.
Probably will write after i get more answers.

Noting more i can do.

Offline
*
Re: Email is neither received nor sent.
« Reply #9 on: Today at 05:59:13 AM »
I found this not working, probably for that reason i can't edit, add or do anything.

htdocs/resources/admin/modules/zone editor.php is corrupt. in Unknown on line 0
the page is white, except left side panel.

i updated all modules and this happen.