My mail server can send to gmail but cannot receive mail from gmail

I’m testing a mail server to receive and send mail. When I test gmail, I can send to gmail but cannot receive mail from gmail. My mail server doesn’t even have any message of receiving or blocking mail. I was wondering if there is anything that could be cloudflare’s DNS or any other feature that is blocking it?

Welcome to the Cloudflare Community. :logodrop:

Check the A record for the hostname in your MX record. If it is :orange: proxied, that would pevent it from receiving. Switch it to :grey: DNS Only.

You can share your domain name here if you would like the Community to offer more specific answers.

yes, i use DNS Only, but it not work.
Only gmail can never receive emails.

That contradicts your initial description of the problem.

Which is it?

Can you share your domain name so the Community can query your published DNS to offer better informed answers?

My email server can send to gmail, but gmail can’t send to my email sever.
Domian: juwwej.com; mail.juwwej.com;

1 Like

Thanks for sharing. You have some unusual include values in your SPF, but that is not relevant to inbound email.

Your IP does not appear to be reachable from any of the test locations I have used so far, including a China Telecom looking glass site. You should confirm with your ISP that your mailserver IP is globally routed.

I tried yahoo and icloud mail can be sent to the mail server, but only gmail cannot.
I found that the mail server did not receive any SMTP protocol from gmail when gmail send to mail server, but cloudflare dns analytics had records.

FWIW I cannot reach that IP either. Tried with two separate IPs, in different countries.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.