What each record does

  • SPF: a list of servers allowed to send email on behalf of your domain. For example your mail server, your web hosting and your newsletter tool.
  • DKIM: a digital signature on every email. The receiving server checks that the message really came from you and that nobody changed it on the way.
  • DMARC: a rule telling the recipient what to do with an email that fails the SPF or DKIM check (let it through, put it in spam or reject it). It can also send you reports.

All three are set up as text records in your domain's DNS, usually in your registrar's or hosting provider's control panel.

Why it matters

Gmail, Outlook and other providers are getting stricter with unverified email. If the records are missing or set up wrongly, order confirmations from your online shop, form replies and invoices end up in spam or never arrive at all. The customer then rings to say nothing came through. Without DMARC, anyone can also send fraudulent emails that look as if they came from you.

Example

A children's clothing shop in Martin sent order confirmations from WordPress and its newsletter through an external tool. SPF only covered the mail server. Half of the confirmations landed in spam on Gmail. Once all senders were added to SPF, DKIM was switched on for both the website and the newsletter and a DMARC record was added, the emails started reaching the inbox.

Common mistakes

  • Several SPF records at once. A domain may have only one, and the other services are added to it.
  • A forgotten service that also sends email, such as invoicing software.
  • A strict DMARC policy right from the start. Watch the reports first, then tighten it.
  • The website sends email through the PHP mail function without authentication. It is better to send via SMTP, logged in to a real mailbox.

For newsletters, these records are the basis of a good open rate. I check and set them up as part of my website maintenance service. A consistent email signature also helps recipients trust your messages.