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?
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.
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
“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: