Can't Access Email After Move to Cloudflare ---

What is the name of the domain?

What is the issue you’re encountering

Hello, After changing DNS to Cloudflare it stopped working. I am getting a server error and I cannot send or receive emails from MS Outlook or my phone. I can only log in and receive emails from webmail. What kind of settings do I need to make? Domain name = keypadsistem.com Can you please help me with a fix? Thank you.

What feature, service or problem is this related to?

Mail records

Set your DNS record for mail (and any other email related subdomains you may have) to “DNS only” instead of “Proxied”…
https://cf.sjr.org.uk/tools/check?46cc16e6ff95405592cae0002276623d#dns-other

1 Like

I did as you said. I guess the problem will be solved, right?

Yes, that should fix it.

If you use FTP, that record should also be “DNS only”, otherwise you can delete it.

You should also remove include:keypadsistem.com from your SPF record as it is causing a loop which makes your SPF record invalid, so ignored.

1 Like

Thank you very much,
as you said, it remained as “v=spf1 ip4:185.48.181.52 +all”. I also removed FTP. I hope it works without any problems.

You shouldn’t use +all, that allows anyone to send as you, it basically disables SPF. You ~all or -all, preferably -all. Also run your email through an [eMail Tester],(Mail Tester: Free Email Spam Checker - Email Deliverability Tester) just to make sure everything is correctly set up.

@sjr Super cool tool you built - Kudos.

3 Likes

Thank you very much. I did not know that difference, please explain it, it was great. I corrected it as you said and checked my e-mail. Could you take a look and see if it was ok?

It looks good ~all just means to “softfail”, if it doesn’t pass SPF. A lot of people use v=spf1 mx a ~all or v=spf1 mx a -all Either of these will work for you also based on the DNS settings you shared. It just says if email is sent from any of your MX records or A records, it’s allowed. but ip4:185.48.181.52 works as well, just a little more restrictive if you change IP addresses, you’ll need to update your SPF record. You can also do v=spf1 mx a ip4:185.48.181.52 ~all

2 Likes

Thank you again for your information. I made the additions you said. There seems to be no problem now. “v=spf1 mx a ip4:185.48.181.52 ~all”.

Looks like you’re sending through google g-suite you need to add include:_spf.google.com to your SPF record.

1 Like

No, we used Gsuite 5 years ago. We are currently using the normal hosting server.

mx” and “ip4:185.48.181.52” are literally duplicating each other.

a” is currently authorizing too much by authorizing Cloudflare’s HTTP Proxies to send email on behalf of your domain, IP addresses that will never send any email at all.

That mess should be cleaned up, such as e.g. by changing it to the following one instead:

v=spf1 ip4:185.48.181.52 -all

2 Likes

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