I am using a cloud server to host my site with WHM/CPanel. Everything else is going great and I am proud of how well my site is working. Except nobody can sign up themselves because the email isn't working.
Strangely, emails from things I signed up to ages ago are coming through today but I can't recieve or send emails myself. Which is also stopping people being able to sign up as they have to click the confirmation email etc.
WHM is set up on an IP address I am going to call IP A and the site is on a connected IP I am going to call IP B. The domain is registered through Godaddy and I am using Cloudflare as a middleman to stop attacks I was getting before. The site itself wasnt resolving properly a couple of days ago so I greyed out all the clouds for the hosting in Cloudflare. This fixed the issue and the site works fine otherwise. I left the clouds for everything else including the email as orange, to use Cloudflare DNS AND HTTP.
I have now greyed them all out, just to use Cloudflare DNS and not HTTP. The thing is I dont think that will help and I cant keep trying such small things and having to wait a couple of days for the DNS to work or not.
I am using Roudcube. Which opens on IP A. The WHM IP.
My question is, should IP B be used for all of the fields in Cloudflare (like it is now), including the email fields like MAIL or should IP B be used for all the site related fields and IP A be used for the email fields?
And/Or have you seen something else wrong from what I have written?
Thank you for your time.