Field Notes · Email

Your business email may land in spam. Three DNS records fix most of it.

· 3 min read · Systems

Anyone can put your company name in the From line of an email. Mail services now check three records on your domain to find out if a message really came from you. If those records are missing or wrong, your invoices, quotes and replies can go to the spam folder, or not arrive at all.

The three records

All three are text records in your domain's DNS (Domain Name System), the public list of settings for your domain. You set them once, where your domain is managed.

What each record does
RecordWhat it tells the receiving mail service
SPF (Sender Policy Framework)Which servers may send mail for your domain.
DKIM (DomainKeys Identified Mail)How to check the digital signature on each message, so it can tell that nobody changed the message on the way.
DMARC (Domain-based Message Authentication, Reporting and Conformance)What to do with mail that fails the SPF and DKIM checks, and where to send reports about it.

What the big mail services require

Where small businesses get it wrong

How to get it right

  1. List every service that sends mail as your domain. Include the forms and tools, not only the mailboxes.
  2. Publish one SPF record that names all of those services.
  3. Turn on DKIM in each service, and add the DKIM records it gives you to your DNS.
  4. Add a DMARC record with the policy p=none. This setting only watches and reports. It does not block mail. Read the reports for a few weeks.
  5. When all your real mail passes, make the policy stricter: p=quarantine sends failing mail to spam, and p=reject blocks it. This stops others from faking your domain.

Sources: Google, Email sender guidelines and Email sender guidelines FAQ; Microsoft, Outlook's new requirements for high-volume senders; Yahoo, Sender best practices; IETF, RFC 7208 (SPF, section 4.5: one SPF record).