I just noticed how to set up the DNS record for the Email server on Cloudflare DNS.
It should be DNS only
.
I have my very own Email server, with IP address, a.b.c.d. It is powered by iRedmail.
In Cloudflare DNS. I should set it up like this.
1) Add an A record for this mail subdomain.
Type | Name | IPv4 address | Proxy status |
---|---|---|---|
A | mail |
a.b.c.d | DNS only |
2) Add an MX record that points to the subdomain above.
Type | Name | Mail server | TTL |
---|---|---|---|
MX | @ |
mail.example.com |
Auto |
I was doing it in the wrong way. Made it in Proxied.
Then no email can be sent and received. When I use Thunderbird Email App to retrieve the emails, it shew TimeOut
.