When you send e-mail from your own domain (for example you@yourcompany.com), the receiving server asks: "Is this sender allowed to use that domain?" Three DNS records answer.
SPF: who may send
A list of the servers allowed to send for your domain. Example: v=spf1 include:_spf.google.com -all. A domain must have only one SPF record.
DKIM: a signature
Your mail server adds a digital signature to every message, and a public key in your DNS lets others check that the message was not changed. It is set up with your mail provider, who gives you the record to add.
DMARC: what to do when checks fail
Tells receivers what to do with mail that fails SPF and DKIM: nothing (p=none), put in spam (p=quarantine) or reject (p=reject). Start with p=none and read the reports before tightening.
How to check
- Send a message to a free mail-testing service and read its report on SPF, DKIM and DMARC.
- In Gmail, open a message you sent to yourself, choose Show original, and look for
SPF: PASS,DKIM: PASSandDMARC: PASS.
Other reasons for spam
Sending many messages at once, a new domain, a link to a blacklisted site, only images with no text, or a hacked account.
If you are not sure what to change in DNS, open a ticket and tell us your domain and who hosts your mail.