How to configure DNS for email success with Cloudflare
Background: Cloudflare does not proxy email traffic.
DNS RECORDS
A record for mail – enter IP of the domain
A record for mail – turn proxy off
MX record – include the domain and the mail subdomain, TTL to 15 minutes
SPF record (given to me by IMH support)
v=spf1 +mx +a +include:smtp.servconfig.com ~all
Meaning:
+mx Accept hosts shown in MX records
+a Accept hosts from the domain
+include Accept any host in the pool of mail senders at IMH
~all Anything else consider questionable
DMarc record
v=DMARC1; p=quarantine; rua=mailto:jesse.austin.allen@gmail.com
“quarantine” tells the receiver to quarantine invalid email in spam folder
The email address is where reports of failures will go.