Cloudflare - any alternative for mail server

Hi Admin,

My problem is simple and like mentioned in 2nd point here https://infinityfree.net/support/domains/cloudflare-caveats -
“Using Cloudflare with MX records is not yet supported. You cannot use our mail servers and Cloudflare at the same time.

So, I’ve setup cloudflare with my own domain (pointing to infinityfree nameservers) & enabled it under cpanel also. everything (including SSL) is working fine on my website except mail server.

I’m not receiving any mails. but i’m able to send mails from roundcube mail client. I noticed that the TO address of sent mail is getting altered something like this, "info@mydomain.com.cdn.cloudflare.net". so, when i tried to send mail to both "info@mydomain.com" and "info@mydomain.com.cdn.cloudflare.net", still i’m not getting the mails in my inbox of spam folders.

Please help me to setup mail/mail server. I want to use cloudflare as well. Will this help in some way to setup mail server???

Regards,
Stunn3r.

Hello stunn3r, I would suggest sending a Support Ticket InfinityFree, it will allow them a better ability to response to your problem.

@stunn3r Like the article said: email and Cloudflare is a bit broken.

The best way to add it to Cloudflare is to disable the Cloudflare integration in the control panel and add the domain name to your own Cloudflare account. Cloudflare will copy the DNS records, after which you can use Cloudflare’s nameservers.

You may want to check this article to learn more about using your own nameservers: https://infinityfree.net/support/domains/find-your-ip

@Officialgking We don’t provide ticket support for InfinityFree, so if you send an email you’ll just be pointed to the forum again.

@Admin said:
@stunn3r Like the article said: email and Cloudflare is a bit broken.

The best way to add it to Cloudflare is to disable the Cloudflare integration in the control panel and add the domain name to your own Cloudflare account. Cloudflare will copy the DNS records, after which you can use Cloudflare’s nameservers.

You may want to check this article to learn more about using your own nameservers: https://infinityfree.net/support/domains/find-your-ip

@Officialgking We don’t provide ticket support for InfinityFree, so if you send an email you’ll just be pointed to the forum again.

Thank you sir,

I was thinking to do the same. I’ll try,

  1. to point my domain to cloudflare nameserver, (i’ll skip creating my own nameservers.)
  2. & will add infinityfree nameservers in cloudflare dns zone.
  3. after this i’ll add mx.epizy.com entry in MX records in control panel to receive the mails.

Hope this works!.. & i consider the 3rd point is mandatory, right?


@Officialgking thank you for replying, I knew there is no ticket support for infinityfree. that’s why i created discussion in the support forum.

Regards,
stunn3r.

@stunn3r said:

@Admin said:
@stunn3r Like the article said: email and Cloudflare is a bit broken.

The best way to add it to Cloudflare is to disable the Cloudflare integration in the control panel and add the domain name to your own Cloudflare account. Cloudflare will copy the DNS records, after which you can use Cloudflare’s nameservers.

You may want to check this article to learn more about using your own nameservers: https://infinityfree.net/support/domains/find-your-ip

@Officialgking We don’t provide ticket support for InfinityFree, so if you send an email you’ll just be pointed to the forum again.

Thank you sir,

I was thinking to do the same. I’ll try,

  1. to point my domain to cloudflare nameserver, (i’ll skip creating my own nameservers.)
  2. & will add infinityfree nameservers in cloudflare dns zone.
  3. after this i’ll add mx.epizy.com entry in MX records in control panel to receive the mails.

Hope this works!.. & i consider the 3rd point is mandatory, right?

Point 1: Very important.

Point 2: Never do that. Never point a domain name to two different sets of nameservers, it will create weird issues. Cloudflare will scan the records on our nameservers so generally you don’t need to do anything else. If that doesn’t work (or you’re using other nameservers), follow the guide I linked before to find the IP address of your website and set it in your nameservers. If you’re tinkering with NS records yourself, you’re generally doing it wrong.

Point 3: No, you need to set the MX records in Cloudflare. With external nameservers, that control panel section doesn’t do anything.