Can't receive any mail. DNS or any other setting issue?

What is the name of the domain?

icareu.tw

What is the issue you’re encountering

After I transferred the DNS to cloudflare, my mail server can send email out smoothly but cannot receive any external emails.

What steps have you taken to resolve the issue?

I tried hard to read all the history and excluded the other possible issues. Very frustration.
I can successfully send letters to external mailboxes and get good scores at https://www.mail-tester.com/. But I just can’t receive any external letters. They will be returned at first, and then they will be lost even after they are sent.

What feature, service or problem is this related to?

Mail records

Screenshot of the error

Your MX record is working as you have currently set and I can connect to port 25 so you’ll need to debug your server.

It would be better if you pointed the MX record at mail.icareu.tw, create a DNS record for mail that is “DNS only” and points to your IP address. You can then proxy the A record for icareu.tw so Cloudflare features can be applied to your website traffic for the domain.

Thanks for reply. My server seems work well cuz I’ve checked it repeatedly. There are two other places that make me more doubtful:

  1. Firewall on every internet node,Routers, NAS, or Cloudflare? Even I didn’t put any rule on them manually now.

But for Cloudflare’s firewall, I haven’t set any rules yet, but it literally means “default firewall rules”. I’m not sure if there are any rules being executed or not?

  1. Port mapping and open/close? I already check them with Open Port Check Tool - Test Port Forwarding on Your Router that I found all ports of my external ip are “open” but port of the IP of my ISP routers are closed. Is this correct?

Regarding to your suggestion of mail.icareu.tw, I got it but I decided not to do it at this moment. Because the mail domain (icareu.tw) has been used widely used for a long time.

Cloudflare only proxies HTTP/HTTPS traffic (unless you use Cloudflare Spectrum) so other than for DNS, Cloudflare is not involved in your mail. DNS records for mail must be set to “DNS only”.

This doesn’t change your mail address, just the DNS record to which it points so you can proxy your web server.

Set the MX record as @ MX mail
And mail A 123.195.56.181 (DNS only).

You can then proxy the A record for @.

1 Like


Is this consistent with your instructions?

So far, I got the best result only under this setting after trying many kinds of combination. I can mail out successfully. But, when I mail to [email protected] from a gmail, I got a error message:

554 5.7.1 Service unavailable; Client host [209.85.218.44] blocked using sbl.spamhaus.org; Error: open resolver; https://check.spamhaus.org/returnc/pub/162.158.241.6/

Your advice is welcome. Thanks.

mail needs to be “DNS only”, but you’ve now removed the DNS record for your domain (@) so add that back in.

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