GoDaddy is where my domain is registered.
GoDaddy provides email for my domain via Office356.
The DNS records are at Cloudflare.
I found the page at GoDaddy that has all the info I’m supposed to place in DNS records for email to work. I input them all at Cloudflare. When I try to send email to my domain it gets rejected with an “invalid recipient” error.
I assume I did something wrong with the DNS records at Cloudflare, but I’m not sure what. I have exported my email-related DNS records from Cloudflare and am posting them here in the hopes that someone more knowledgeable than I can see the problem.
(If it matters, all the CNAME records are proxied. All the non-CNAME records are “DNS Only.”)
;; CNAME Records
autodiscover.MYDOMAIN.EXT. 1 IN CNAME autodiscover.outlook. com.
email.MYDOMAIN.EXT. 1 IN CNAME email.secureserver. net.
lyncdiscover.MYDOMAIN.EXT. 1 IN CNAME webdir.online.lync. com.
msoid.MYDOMAIN.EXT. 1 IN CNAME clientconfig.microsoftonline-p. net.
sip.MYDOMAIN.EXT. 1 IN CNAME sipdir.online.lync. com.
;; MX Records
MYDOMAIN.EXT. 1 IN MX 0 MYDOMAIN-EXT.mail.protection.outlook. com.
;; SRV Records
_sipfederationtls._tcp.MYDOMAIN.EXT. 1 IN SRV 100 1 5061 sipfed.online.lync. com.
_sip._tls.MYDOMAIN.EXT. 1 IN SRV 100 1 443 sipdir.online.lync. com.
;; TXT Records
MYDOMAIN.EXT. 1 IN TXT “v=spf1 include:spf.protection.outlook. com -all”
MYDOMAIN.EXT. 1 IN TXT “NETORGFT5199098.onmicrosoft. com”