Home / Guides / Email / Complete guide

Email guide · Complete guide

The Business Email DNS Guide: MX, SPF, DKIM, DMARC and Logos

Updated · Reference guide, 14,168 words · By the FORM & FRAME team

Business email depends on a handful of DNS records most people never see: MX records, SPF, DKIM, DMARC, and newer ones such as MTA-STS and BIMI. Get them right and your email arrives in inboxes, cannot easily be forged, and can even show your logo next to your messages. Get them wrong and mail bounces, lands in spam, or criminals send invoices in your name. This guide explains every record in plain English, shows you how to find out what your domain has today, gives complete working setups for the common email platforms, and covers how to get your logo showing in inboxes and signatures.

Key takeaways

  • Know where your DNS lives first. The records only work if you edit them at the DNS host your domain actually uses, which is often not the company you bought the domain from.
  • MX decides where your mail is delivered. One email platform, one set of MX records. Mixing providers' MX records causes lost mail.
  • SPF, DKIM and DMARC work as a team. SPF lists who may send, DKIM signs each message, and DMARC tells receivers what to do with fakes. All three are expected by Gmail, Yahoo and Microsoft for anyone sending in volume.
  • Copy values from your provider, never from old blog posts. Microsoft and Google changed their record formats in 2023 to 2026; old examples can break things.
  • Logos in the inbox need DMARC enforcement. BIMI requires DMARC at quarantine or reject; Gmail and Apple also need a paid mark certificate, and Outlook does not show BIMI logos at all.
  • Signature logos are a different job. They are images in the message body, best as a hosted PNG with proper dimensions and alt text.
In this guide
  1. Part 1: How email delivery actually works
  2. Part 2: DNS basics you need for email
  3. Part 3: Adding records in the DNS panels you are likely to use
  4. Part 4: How to find out what your DNS is today
  5. Part 5: Three worked DNS audits
  6. Part 6: MX records in depth
  7. Part 7: SPF in depth
  8. Part 8: DKIM in depth
  9. Part 9: DMARC in depth, including the 2026 standard update
  10. Part 10: Record builders: create your SPF, DMARC and BIMI records
  11. Part 11: Encrypted delivery: MTA-STS, TLS-RPT, DANE and reverse DNS
  12. Part 12: Getting your logo shown in the inbox
  13. Part 13: Logos in email signatures and templates
  14. Part 14: Addresses, aliases, shared mailboxes and sender names
  15. Part 15: Complete configurations for common setups
  16. Part 16: Gmail, Yahoo and Microsoft sender requirements
  17. Part 17: Changing email providers or DNS hosts without losing mail
  18. Part 18: Troubleshooting email delivery
  19. Part 19: Checklists and maintenance
  20. Frequently asked questions

Who this guide is for. Business owners who want to understand what their IT person or web developer is doing, office managers setting up email for a small team, and developers and agencies who configure DNS for clients. Each part starts with the plain-English idea and then gets technical. If you only want the security side, our website security guide covers spoofing and invoice fraud in depth.

Part 1: How email delivery actually works

Before touching any records, it helps to picture what happens when someone sends an email to accounts@yourbusiness.co.za. The whole process takes seconds, and DNS is involved at almost every step.

Diagram of email delivery: the sender's mail server looks up the recipient domain's MX record in DNS, connects to the receiving server, which checks SPF, DKIM and DMARC records in the sender's DNS, then delivers to the inbox, spam or rejects, and sends DMARC reports back
Every email triggers several DNS lookups: one to find where to deliver it, and several more to decide whether to trust it.
  1. The sender writes the message in Outlook, Gmail or an app, and their email provider's outgoing server takes it.
  2. The sending server asks DNS: "What are the MX records for yourbusiness.co.za?" The MX records name the servers that accept mail for your domain.
  3. It connects to your receiving server (for example Microsoft 365, Google or your host's mail server), usually over an encrypted connection.
  4. Your receiving server checks the message. It looks up the sender's SPF record to see whether the sending server is allowed, verifies the sender's DKIM signature using the public key in the sender's DNS, and applies the sender's DMARC policy.
  5. Filtering happens: spam scoring, malware scanning, reputation checks.
  6. The message lands in the inbox or the spam folder, or is rejected with a bounce message.
  7. Reports flow back. If the sender's domain publishes DMARC with a reporting address, the receiver later sends a summary of what it saw.

Notice the two directions. Your MX records matter for mail coming to you. Your SPF, DKIM and DMARC records matter for mail you send, because other people's servers check them. Most problems come from mixing these up: changing MX when the problem is outgoing mail, or adding SPF entries when the problem is that mail is not arriving.

The records at a glance

RecordLives atTypeWhat it doesAffects
MXyourbusiness.co.zaMXNames the servers that receive your mailIncoming mail
SPFyourbusiness.co.zaTXTLists servers allowed to send as your domainOutgoing mail trust
DKIMselector._domainkey.yourbusiness.co.zaTXT or CNAMEPublishes the public key used to verify signatures on your mailOutgoing mail trust
DMARC_dmarc.yourbusiness.co.zaTXTPolicy for mail that fails, plus reporting addressesOutgoing mail trust and spoofing protection
MTA-STS_mta-sts.yourbusiness.co.za plus a policy file on mta-sts.yourbusiness.co.zaTXT plus HTTPSRequires encrypted delivery to your serversIncoming mail security
TLS-RPT_smtp._tls.yourbusiness.co.zaTXTWhere to send reports about encryption failuresIncoming mail monitoring
BIMIdefault._bimi.yourbusiness.co.zaTXTPoints to your logo (and certificate) for supporting inboxesHow your mail looks
Autodiscover / autoconfigautodiscover.yourbusiness.co.za and similarCNAME or SRVHelps mail apps configure themselvesSetting up devices
Verification recordsyourbusiness.co.za or a subdomainTXT or CNAMEProve to Microsoft, Google, newsletter tools and others that you own the domainAccount setup
PTR (reverse DNS)The sending server's IP addressPTRMaps an IP address back to a hostnameOutgoing mail from your own servers

Words used in this guide

DNS host
The service that answers DNS questions for your domain and where you edit records: your registrar, your web host, Cloudflare, or another DNS provider. Identified by your domain's nameservers.
Registrar
The company you pay to register the domain. It sets which nameservers the domain uses, but it is not necessarily where the records live.
Zone
The full set of DNS records for a domain, kept at the DNS host.
Apex (root, "@")
The bare domain itself, such as yourbusiness.co.za. Many DNS panels write it as @ or leave the name blank.
TTL
Time to live: how long other systems may cache a record before checking again, in seconds.
Envelope sender (Return-Path)
The hidden address used for bounces. SPF checks this domain, not the From address people see.
Header From
The From address shown to the reader. DMARC protects this domain.
Alignment
DMARC's requirement that the domain verified by SPF or DKIM matches the domain in the visible From address.
DKIM selector
A label that lets one domain have several DKIM keys, for example selector1, google or k1.
Mailbox provider
The company hosting the recipient's inbox, such as Gmail, Outlook.com, Yahoo or your own Microsoft 365 tenant.

Part 2: DNS basics you need for email

DNS (the Domain Name System) is the internet's address book. For email, you only need a working understanding of a few ideas: where your records are kept, what the common record types are, how DNS panels label things, and why changes are not instant.

Registrar, nameservers and DNS host

Three things are easy to confuse:

  • The registrar is where you bought and renew the domain.
  • The nameservers (NS records), set at the registrar, say which DNS host answers for your domain.
  • The DNS host is where your records actually live and where you must edit them.

Example: you register yourbusiness.co.za with a local registrar, but its nameservers point to Cloudflare. Your MX, SPF and DMARC records must then be edited in Cloudflare. Adding them at the registrar does nothing, even if the registrar's panel lets you type them in. This single misunderstanding causes a large share of "I added the record but it doesn't work" problems. Part 4 shows how to check.

Record types you will meet

TypePurposeEmail example
APoints a name to an IPv4 addressmail.yourbusiness.co.za → 198.51.100.20 for a self-hosted mail server
AAAAPoints a name to an IPv6 addressSame, for IPv6
CNAMEMakes one name an alias of another nameselector1._domainkey → … .dkim.mail.microsoft; autodiscover → autodiscover.outlook.com
MXNames the mail servers for a domain, with priorities@ MX 1 smtp.google.com
TXTHolds text; used for SPF, DKIM keys, DMARC, BIMI, MTA-STS, TLS-RPT and verificationsv=spf1 include:_spf.google.com -all
SRVAdvertises a service's host and port_autodiscover._tcp, _submission._tcp
NSNames the DNS servers for a zone or delegated subdomainDelegating mail.yourbusiness.co.za to another provider (rare)
PTRReverse lookup from IP to name; set by whoever owns the IPYour VPS provider sets 198.51.100.20 → mail.yourbusiness.co.za
CAASays which certificate authorities may issue certificatesRelevant for HTTPS on mta-sts subdomains

How DNS panels label fields

Every DNS panel looks different, which makes provider instructions confusing. The same record might be entered in four different ways:

Panel styleName / Host fieldValue fieldNotes
Cloudflare and most modern panels@ for the apex, or _dmarc for a subdomainThe record valueThe domain is appended automatically
cPanel Zone EditorOften the full name with a trailing dot: _dmarc.yourbusiness.co.za.The record valueTyping only _dmarc usually works too; check the preview
Some registrarsBlank for the apexValueA blank name means the apex
Zone file (BIND format)_dmarc or _dmarc.yourbusiness.co.za.Value in quotes for TXTNames without a trailing dot are relative to the zone

Common mistakes caused by panel differences:

  • Doubled domain: typing _dmarc.yourbusiness.co.za in a panel that appends the domain, producing _dmarc.yourbusiness.co.za.yourbusiness.co.za. Always check the record by looking it up afterwards (Part 4).
  • Missing trailing dot in zone files or old panels, producing the same doubling for values: smtp.google.com.yourbusiness.co.za.
  • Quotes: some panels want TXT values in quotes, others add them automatically. Extra quotes inside the value can break SPF.
  • Priority in the wrong place: some panels have a separate Priority field for MX; others expect 1 smtp.google.com in the value.

TXT record length

A single string inside a TXT record can be at most 255 characters. Longer values, such as 2048-bit DKIM keys, are split into several quoted strings in the same record, which receivers join back together. Good DNS panels do this automatically. If you paste a long DKIM key and the panel complains, check whether it expects you to split it, and never insert spaces inside the key itself.

google._domainkey  TXT  ( "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs7…"
                          "…remaining part of the key…IDAQAB" )

TTL and "propagation"

When you change a record, other DNS resolvers may keep using the old answer until the TTL of the old record expires. That is what people call propagation. Practical rules:

  • Common TTLs are 300 seconds (5 minutes), 3600 (1 hour) and 86400 (1 day).
  • Before a planned change (such as moving email providers), lower the TTL of the records you will change to 300 a day or two in advance, so the switch takes effect quickly and mistakes can be reversed quickly.
  • After the change settles, raise TTLs again (3600 is a sensible default).
  • Providers' "allow up to 72 hours" warnings are worst-case; most changes are visible within minutes to an hour when TTLs are low.
  • Negative answers are cached too: if you looked up a record before creating it, your resolver may remember "doesn't exist" for a while.

Apex restrictions and conflicts

  • No CNAME at the apex alongside other records. The apex already has NS, SOA and usually MX and TXT records, and DNS rules forbid a CNAME sharing a name with other records. Some providers offer "CNAME flattening" or ALIAS records to work around this for websites, but MX and TXT records must still be ordinary records.
  • MX must point to a hostname, never directly to an IP address, and the hostname should not itself be a CNAME.
  • One SPF record per name. Multiple TXT records are allowed at the apex (for verifications), but only one may start with v=spf1.
  • One DMARC record at _dmarc.

Cloudflare's orange cloud and email

If your DNS is on Cloudflare, records can be "proxied" (orange cloud) or "DNS only" (grey cloud). Email does not work through Cloudflare's web proxy. Any hostname used by mail (MX targets, mail., smtp., imap., autodiscover CNAMEs) must be DNS only. MX, TXT and SRV records cannot be proxied anyway, but A records and CNAMEs used for mail can be proxied by mistake, which breaks mail clients and self-hosted servers.

DNSSEC in one paragraph

DNSSEC signs your DNS records so they cannot be forged in transit. It is enabled at your DNS host and then activated by adding a DS record at your registrar. It underpins DANE (encrypted mail delivery verified through DNS), which Microsoft and Google now support for inbound mail on their DNSSEC-signed MX hosts. It is worth enabling where your DNS host and registrar support it, with one warning: turn DNSSEC off at the registrar before moving to a different DNS host, or the domain can go dark.

Part 3: Adding records in the DNS panels you are likely to use

The record is the same everywhere; the screens are not. Here is how to add email records in the panels small businesses use most. Menu names change over time, but the flow stays similar.

Cloudflare

  1. Select the domain, then DNS, Records, Add record.
  2. Choose the Type (MX, TXT, CNAME).
  3. Name: @ for the domain itself, or the label only, such as _dmarc or selector1._domainkey. Cloudflare appends the domain.
  4. Content / Mail server / Target: paste the value. For TXT records, paste without surrounding quotes; Cloudflare handles them.
  5. Priority for MX in its own field.
  6. Proxy status: CNAMEs and A records used for mail (autodiscover, mail, mta-sts if served elsewhere) must be DNS only.
  7. Save, then check the record with a lookup.

Cloudflare also has an Email section with Email Routing and a DMARC Management dashboard that can receive and summarise DMARC reports for domains on Cloudflare.

cPanel Zone Editor

  1. In cPanel, open Zone Editor, then Manage next to the domain.
  2. Click Add Record and choose the type.
  3. Name: cPanel shows the full name; typing _dmarc usually expands to _dmarc.yourbusiness.co.za.. Check the final name has exactly one copy of your domain and a trailing dot.
  4. Record: paste the value.
  5. For MX records, use the separate Email Routing page as well: "Local Mail Exchanger" if cPanel hosts your mailboxes, "Remote Mail Exchanger" if Microsoft 365 or Google does. A wrong setting here makes the server keep mail for your domain locally instead of sending it to your real mailboxes.
  6. The Email Deliverability page checks SPF, DKIM and PTR and can install suggested records when cPanel hosts the DNS.

Remember: if your nameservers point elsewhere (for example Cloudflare), edits in cPanel's Zone Editor have no effect on the live DNS.

Microsoft 365 domain setup

  1. Microsoft 365 admin centre, Settings, Domains, Add domain.
  2. Verify ownership with the TXT record shown (MS=ms…).
  3. Choose to add records yourself; Microsoft lists MX, the autodiscover CNAME and the SPF TXT record with exact values. (If Microsoft offers to set up DNS automatically through a supported provider, it can, but you lose visibility of what changed.)
  4. Set up DKIM separately in the Defender portal (Part 8).
  5. Back on the domain page, the health check shows any missing or incorrect records.

Google Workspace domain setup

  1. Admin console: verify the domain with a TXT record (google-site-verification=…) or CNAME.
  2. Create users before activating Gmail if anyone already uses addresses on the domain.
  3. Add the MX record (smtp.google.com, priority 1) at your DNS host and click to activate Gmail.
  4. Generate DKIM under Apps, Google Workspace, Gmail, Authenticate email, publish it, and start authentication.
  5. Use the Admin console's domain and Gmail setup checks, or Google's Check MX tool, to confirm.

Registrar DNS panels

Many South African and international registrars provide a basic DNS editor. Typical quirks:

  • A blank host field means the apex; some require @.
  • Some have no separate priority field and expect 1 smtp.google.com in the value.
  • Some limit TXT length; split long DKIM keys into quoted strings or ask support.
  • Some do not support CNAME records with underscores in the name; if a DKIM CNAME is rejected, ask support or move DNS to a more capable host.
  • Changes may only publish after you click a separate "Save zone" or "Apply" button.

Before and after every change

  • Screenshot or export the zone before editing.
  • Confirm you are editing at the DNS host the nameservers point to.
  • After saving, look the record up directly at the nameserver.
  • Send a test email where relevant.
  • Update your inventory.

Part 4: How to find out what your DNS is today

Before changing anything, take an inventory. This part shows how to discover where your domain's DNS is hosted, read every email-related record, and work out which services send mail as your domain. You can do all of it with free online tools, or with commands on your own computer.

Step 1: Find the registrar and nameservers

Do a WHOIS or RDAP lookup on your domain (many free websites offer this; for .za domains, registrars and the registry provide lookup services). Note:

  • Registrar: who you pay for the domain.
  • Nameservers: these tell you the DNS host. Names like *.ns.cloudflare.com mean Cloudflare; ns1.yourhost.co.za means your web host; *.domaincontrol.com, *.registrar-servers.com and similar point to particular registrars.
  • Expiry date and status (look for a transfer lock).

From a command line you can ask DNS directly:

dig NS yourbusiness.co.za +short
Resolve-DnsName yourbusiness.co.za -Type NS
nslookup -type=NS yourbusiness.co.za

Step 2: Read the email records

Run these lookups (replace the domain) and save the output in a document. This is your "before" snapshot.

dig MX yourbusiness.co.za +short
dig TXT yourbusiness.co.za +short                 # SPF and verification records
dig TXT _dmarc.yourbusiness.co.za +short          # DMARC
dig TXT _mta-sts.yourbusiness.co.za +short        # MTA-STS
dig TXT _smtp._tls.yourbusiness.co.za +short      # TLS-RPT
dig TXT default._bimi.yourbusiness.co.za +short   # BIMI
dig CNAME autodiscover.yourbusiness.co.za +short  # Outlook autodiscover
# DKIM: you need the selector name; common ones to try:
dig TXT google._domainkey.yourbusiness.co.za +short
dig CNAME selector1._domainkey.yourbusiness.co.za +short
dig CNAME selector2._domainkey.yourbusiness.co.za +short
dig TXT default._domainkey.yourbusiness.co.za +short
dig TXT k1._domainkey.yourbusiness.co.za +short
Resolve-DnsName yourbusiness.co.za -Type MX
Resolve-DnsName yourbusiness.co.za -Type TXT
Resolve-DnsName _dmarc.yourbusiness.co.za -Type TXT
Resolve-DnsName selector1._domainkey.yourbusiness.co.za -Type CNAME

Tip: to see the answer straight from your DNS host rather than a cached copy, ask one of your nameservers directly, for example dig MX yourbusiness.co.za @ns1.yourdnshost.example. That tells you whether a change you just made has been saved correctly, even before caches update.

Reading the results

$ dig MX yourbusiness.co.za +short
0 yourbusiness-co-za.mail.protection.outlook.com.     ← mail is delivered to Microsoft 365

$ dig TXT yourbusiness.co.za +short
"v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net -all"   ← SPF: Microsoft 365 + Mailchimp
"MS=ms12345678"                                       ← Microsoft domain verification
"google-site-verification=AbC…"                       ← Google Search Console verification

$ dig TXT _dmarc.yourbusiness.co.za +short
"v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.co.za"   ← DMARC exists, monitoring only

$ dig CNAME selector1._domainkey.yourbusiness.co.za +short
selector1-yourbusiness-co-za._domainkey.yourtenant.onmicrosoft.com.   ← Microsoft 365 DKIM is published

From these few lines you already know: email is hosted on Microsoft 365, Mailchimp is allowed to send, DKIM is set up for Microsoft 365 (Mailchimp's DKIM still needs checking), and DMARC is only monitoring, so the domain is not yet protected against spoofing.

Online tools that do it for you

  • Google Admin Toolbox Dig and Check MX: quick lookups and Google-specific checks.
  • Microsoft 365 admin centre: Settings, Domains, select the domain, then DNS records shows which expected records are missing or wrong.
  • Multi-check tools such as MXToolbox and the many DMARC vendors' free checkers: test SPF syntax and lookup counts, DMARC, DKIM selectors, blocklists and BIMI.
  • Global propagation checkers: show what resolvers around the world currently see after a change.

Step 3: Find every service that sends as your domain

DNS shows you what has been authorised, not what is actually sending. To find real senders:

  1. Ask around. Who sends invoices, newsletters, booking confirmations, website notifications, payroll slips, support replies? Each is likely a separate service.
  2. Check message headers of emails your systems send to a Gmail test account ("Show original"): the Received lines and DKIM d= domain show which service sent them.
  3. Publish DMARC with reporting (even p=none) and read the reports for two to four weeks. They list every server that sent mail claiming to be your domain. This is the most reliable inventory method. See Part 9.
  4. Look at verification records in your TXT and CNAME records: each one usually corresponds to a service someone signed up for.

An inventory template

ItemYour answer
Domain(s)yourbusiness.co.za, other domains and subdomains that send mail
Registrar and login owner
DNS host (from nameservers) and login owner
Mailbox provider (from MX)
Other sending servicesWebsite, newsletter, invoicing, CRM, helpdesk, booking, scanners
Current SPF record and lookup count
DKIM selectors in use, per service
DMARC policy and report address
MTA-STS / TLS-RPT
BIMI
Other verification records and what they are for
Date of this snapshot

Keep this with your other business records. It is exactly what you need when changing providers, troubleshooting, or handing over to a new IT supplier.

Part 5: Three worked DNS audits

Reading real lookups is the fastest way to learn. Below are three fictional domains' email records as a lookup would show them, followed by what is wrong and how to fix it. All names, tenants, keys and IPs are invented.

Audit 1: The accounting practice

MX     10 mail.example-accountants.co.za.
MX     0  example-accountants-co-za.mail.protection.outlook.com.
TXT    "v=spf1 +a +mx ~all"
TXT    "v=spf1 include:spf.protection.outlook.com -all"
TXT    "MS=ms90817263"
_dmarc (no record)
selector1._domainkey (no record)

Findings:

  1. Two MX sets. The practice moved to Microsoft 365 but the old hosting MX (mail.example-accountants.co.za) remains. Because Microsoft's record has the lower number it is preferred, but any sender that cannot reach Microsoft momentarily will deliver to the old server, where mail sits unread. Fix: delete the old MX.
  2. Two SPF records. Every SPF check returns a permanent error, so SPF effectively does not exist. Fix: keep one record: v=spf1 include:spf.protection.outlook.com -all (add the web host only if it still sends mail).
  3. No DKIM. Microsoft 365 is signing with the onmicrosoft.com domain, which does not align. Fix: publish both selector CNAMEs from the Defender portal and enable signing.
  4. No DMARC. Anyone can send email as the practice, and its clients receive payment instructions by email. Fix: start with p=none and reports, then move to reject within weeks.

Audit 2: The online shop

MX     1 smtp.google.com.
TXT    "v=spf1 include:_spf.google.com include:servers.mcsv.net include:sendgrid.net include:spf.example-helpdesk.com include:_spf.example-crm.com include:mail.zendesk.example include:spf.example-courier.com ~all"
google._domainkey   TXT "v=DKIM1; k=rsa; p=MIIBIjAN…"
k2._domainkey       CNAME dkim2.mcsv.net.
_dmarc              TXT "v=DMARC1; p=none; rua=mailto:owner@gmail.com"

Findings:

  1. SPF over the lookup limit. Seven includes, several with nested lookups, push the total past 10. Some receivers return permerror. Fix: remove services no longer used; set up aligned DKIM for Mailchimp, SendGrid and the helpdesk so they need not be in SPF; move marketing to news.example-shop.co.za.
  2. DMARC reports go to a personal Gmail address, which cannot receive reports for another domain without authorisation and is unreadable XML anyway. Fix: use a DMARC reporting service or a business mailbox.
  3. DMARC stuck at p=none. Customers can be phished with fake order emails from the shop's exact domain. Fix: after fixing senders, enforce.
  4. Good: Google DKIM and Mailchimp DKIM are in place.

Audit 3: The parked brand domain

A      198.51.100.10      (redirects to the main website)
MX     (no record)
TXT    (no record)
_dmarc (no record)

Findings: the domain never sends email, but with no MX, SPF or DMARC, criminals can send convincing email from it, and some senders will try to deliver mail to the A record's web server. Fix: publish null MX, v=spf1 -all and DMARC reject (Setup I in Part 15).

What these audits have in common

  • Leftovers from previous providers are the most common fault.
  • Duplicates (two SPF records, two MX sets) quietly break things.
  • DMARC is missing or stuck in monitoring mode for years.
  • Every fix is a few DNS edits once you know what you are looking at.

Part 6: MX records in depth

MX (mail exchanger) records tell the world where to deliver email for your domain. They are the only email records that control incoming mail, and they are the most dangerous to get wrong: a bad MX record means mail bounces or, worse, goes somewhere you do not control.

How MX records work

Each MX record has a priority (also called preference) and a target hostname. Sending servers try the lowest number first, and fall back to higher numbers if it does not answer. Records with equal priority share the load.

yourbusiness.co.za.  3600  IN  MX  10  mx1.mailprovider.example.
yourbusiness.co.za.  3600  IN  MX  20  mx2.mailprovider.example.

The priority number itself does not matter; only the order does. "0", "1" and "10" for a single record all behave identically.

Current values for common providers

Always copy the exact value your provider's admin console shows for your domain. The table shows the patterns you should expect, which helps you spot mistakes.

ProviderTypical MXNotes
Google Workspace1 smtp.google.comGoogle simplified MX for new customers to this single record from April 2023. The older five-record set (ASPMX.L.GOOGLE.COM and alternates) still works indefinitely; do not change it if mail is working. Google also documents a DNSSEC-signed option using MX1.SMTP.GOOG to MX4.SMTP.GOOG.
Microsoft 3650 yourbusiness-co-za.mail.protection.outlook.com (existing domains) or a hostname under mx.microsoft (newer domains)Microsoft is moving newly added domains to DNSSEC-capable hostnames under mx.microsoft; the date for this has moved several times (most recently announced for July 2026). mail.protection.outlook.com keeps working for existing domains. Never construct the value by hand; copy it from the admin centre.
Zoho Mail10 mx.zoho.com, 20 mx2.zoho.com, 50 mx3.zoho.comHostnames differ by data centre region (for example .eu, .in); use the ones in your Zoho admin console.
Web host (cPanel and similar)0 yourbusiness.co.za or 10 mail.yourbusiness.co.zaPoints at your hosting server. In cPanel, also check Email Routing is set to "Local Mail Exchanger".
Cloudflare Email RoutingThree route1/2/3.mx.cloudflare.net recordsForwarding only (no mailboxes); Cloudflare adds the records for you.
Email security gateway (Mimecast, Proofpoint and others)The gateway's hostnamesMail passes through the gateway, then on to your mailbox provider.

MX rules that prevent lost mail

  • One provider's MX set only. Never leave old MX records from a previous provider alongside new ones. Senders will deliver some mail to the old provider, where it may be accepted into a mailbox nobody reads, or bounce.
  • No "backup MX" from a different company unless it is a proper, configured service. Old advice to add your web host as a backup MX causes mail to pile up on a server that does not know your users, and spammers deliberately target backup MX servers because they filter less.
  • Point to hostnames, not IP addresses, and not to CNAMEs.
  • The target must accept mail for your domain. Adding an MX record is not enough; the mail platform must know the domain (via verification in Microsoft 365 or Google, or as a domain in cPanel).
  • Lower the TTL before changes (Part 2).

Null MX: domains that receive no mail

For a domain that should never receive email (a parked domain, a redirect-only domain, a web-only subdomain), publish a "null MX" so senders fail immediately instead of trying the website's server:

yourolddomain.co.za.  3600  IN  MX  0  .

Subdomains and MX

MX records apply to an exact name. yourbusiness.co.za's MX does not cover shop.yourbusiness.co.za. If you want addresses like orders@shop.yourbusiness.co.za to receive mail (for example for a marketing platform's reply handling), that subdomain needs its own MX. Equally, subdomains used only for sending (such as news.yourbusiness.co.za) often need an MX for bounce handling; your sending service will tell you if so.

Split delivery and dual delivery

Sometimes two systems must handle the same domain, for example during a migration, or because some staff use Google and others use Microsoft. This is done inside the mail platforms, not with DNS:

  • Split delivery: MX points to the primary platform. Mailboxes that live elsewhere are configured on the primary as forwarding to the secondary (Google calls this split delivery with routing; Microsoft uses connectors and mail-enabled contacts or internal relay domains).
  • Dual delivery: every message is delivered to both systems, useful briefly during migrations.

Both need careful setup and testing; they are covered in the configurations and migration parts.

Testing MX changes

  1. Look up MX directly at your nameserver to confirm the change was saved.
  2. Check with a public resolver (Google's 8.8.8.8 or Cloudflare's 1.1.1.1) once the old TTL has passed.
  3. Send test emails from an outside account (Gmail, Outlook.com) to several mailboxes, including aliases and shared mailboxes.
  4. Check the provider's admin console shows the domain's MX as valid.
  5. Watch for bounces and check the old system for stray mail for a few days.

Part 7: SPF in depth

SPF (Sender Policy Framework) is a TXT record listing the servers allowed to send email using your domain in the envelope sender (Return-Path). Receiving servers compare the connecting server's IP address with your list.

Anatomy of an SPF record

v=spf1 ip4:198.51.100.20 include:spf.protection.outlook.com include:servers.mcsv.net -all
│      │                 │                                                          │
│      │                 └ include another domain's SPF (a service you use)         └ everything else fails
│      └ allow a specific IPv4 address
└ version tag: must come first, exactly "v=spf1"

Mechanisms

MechanismMeaningCosts a DNS lookup?Use it for
include:domainCheck that domain's SPF record tooYes (plus whatever it contains)Email platforms and services
ip4: / ip6:Allow an address or rangeNoYour own servers, office mail relays
aAllow the IP of the domain's A recordYesA website server that also sends mail (better: use an email service instead)
mxAllow the IPs of the domain's MX hostsYes, plus one per MX hostSelf-hosted mail where the same server sends and receives
exists:Advanced, macro-based checksYesSpecialist setups only
redirect=domainUse another domain's SPF insteadYesSharing one policy across many domains
ptrDeprecated; do not useYes, and slowNothing
allMatches everything not matched earlierNoAlways last

Qualifiers

QualifierResultTypical use
+ (default)PassImplied before mechanisms; never use +all
-Fail-all: strict ending
~Softfail~all: cautious ending; with DMARC enforcement, the practical effect is similar
?NeutralRarely useful

The 10-lookup limit (and the 2 void-lookup limit)

Evaluating SPF may trigger at most 10 DNS lookups in total, counting every include, a, mx, exists and redirect, including those nested inside included records. Exceeding it produces a permerror, and SPF fails for every message. Receivers also commonly stop after 2 "void" lookups (lookups that return nothing), which happens when an include points at a domain that no longer has an SPF record.

Approximate lookup costs of popular includes (they change, so check with a tool):

IncludeServiceApproximate lookups
spf.protection.outlook.comMicrosoft 3651 to 2
_spf.google.comGoogle Workspaceabout 4
servers.mcsv.netMailchimp1
sendgrid.netSendGrid1 to 2
amazonses.comAmazon SES1
spf.brevo.comBrevo1 to 2
_spf.salesforce.comSalesforceseveral

Staying under the limit

  1. Remove services you no longer use. Old includes accumulate for years.
  2. Prefer aligned DKIM for third-party senders. Many marketing and transactional services can pass DMARC with DKIM alone and use their own envelope domain, so they do not need to be in your SPF at all. Check each service's documentation.
  3. Use subdomains. Send newsletters from news.yourbusiness.co.za with its own SPF, keeping the main domain's record short.
  4. Replace a and mx with ip4: entries where the IPs are stable.
  5. Be careful with "SPF flattening" (replacing includes with the IP addresses they resolve to). It saves lookups but breaks silently when providers change their IPs, unless a service keeps it updated automatically.

Example SPF records

v=spf1 include:spf.protection.outlook.com -all
v=spf1 include:_spf.google.com ~all
v=spf1 +a +mx ip4:198.51.100.20 ~all
v=spf1 include:spf.protection.outlook.com include:servers.mcsv.net ip4:203.0.113.45 -all
v=spf1 -all

Common SPF mistakes

MistakeEffectFix
Two records starting v=spf1Permerror: SPF fails for all mailMerge into one record
More than 10 lookupsPermerrorRemove includes, use DKIM-only alignment or subdomains
+all or ?allAnyone can pass SPF as youUse -all or ~all
Missing a sending serviceThat service's mail fails SPF (and DMARC if not DKIM-aligned)Add the include, or set up aligned DKIM
Typos: include:spf.protection.outlook.com. with odd spacing, v=spf1 not first, smart quotesPermerror or ignored recordRetype carefully; validate with a checker
SPF published as type "SPF" onlyIgnored (the SPF record type is obsolete)Publish as TXT
SPF on the wrong nameNo effectSPF must be on the exact domain used in the envelope sender
Expecting SPF to protect the visible From addressFalse confidenceAdd DMARC; SPF alone checks only the hidden envelope domain

SPF and forwarding

When someone forwards your email (an alumni address, a mailing list, a user's auto-forward), the forwarding server sends it on from its own IP address, which is not in your SPF. SPF then fails at the final destination. This is normal and unavoidable. It is the main reason DKIM matters: a DKIM signature usually survives forwarding intact, so DMARC can still pass.

Part 8: DKIM in depth

DKIM (DomainKeys Identified Mail) adds a digital signature to every message you send. The sending system signs certain headers and the body with a private key; the receiver fetches the matching public key from your DNS and checks the signature. If the message was altered in transit, or was not signed by an authorised system, verification fails.

How a DKIM signature looks

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
  d=yourbusiness.co.za; s=selector1;
  h=From:To:Subject:Date:Message-ID;
  bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=;
  b=AuUoFEfDxTDkHlLXSZEpZj79LICEps6eda7W3deTVFOk4yAUoqOB…
TagMeaning
d=The signing domain. For DMARC alignment, this must match (or be a parent of) your From domain.
s=The selector. The receiver looks up the public key at s._domainkey.d, here selector1._domainkey.yourbusiness.co.za.
h=Which headers were signed.
bh=A hash of the body. "Body hash did not verify" errors mean the body changed after signing.
b=The signature itself.

The DNS side: TXT or CNAME

The public key is published at selector._domainkey.yourdomain, either:

  • Directly as a TXT record containing v=DKIM1; k=rsa; p=…key… (Google Workspace, cPanel, many smaller services), or
  • As a CNAME pointing to a record the provider hosts (Microsoft 365, Amazon SES, Mailchimp, many marketing tools). CNAMEs let the provider rotate keys without you editing DNS.

Selectors: several keys on one domain

Each sending service uses its own selector, so one domain can have many DKIM keys side by side: selector1 and selector2 for Microsoft 365, google for Google Workspace, k1 and k2 for Mailchimp, s1 and s2 for others. They do not conflict. You only need to know each service's selector names when checking or troubleshooting.

Setting up DKIM on common platforms

Microsoft 365

  1. In the Microsoft Defender portal, go to the email authentication settings, open the DKIM tab and select your custom domain. (Or use Exchange Online PowerShell: Get-DkimSigningConfig -Identity yourbusiness.co.za | Format-List Selector1CNAME,Selector2CNAME.)
  2. Copy the two CNAME values shown. Microsoft introduced a new format for custom domains added from May 2025, ending in .dkim.mail.microsoft (for example selector1-yourbusiness-co-za._domainkey.yourtenant.n-v1.dkim.mail.microsoft). Older domains use targets ending in .onmicrosoft.com. Use whatever your console shows; do not convert one into the other, and do not add .com after .microsoft.
  3. Publish two CNAME records: selector1._domainkey and selector2._domainkey.
  4. Wait for them to resolve, then switch DKIM signing on for the domain. Microsoft rotates between the two selectors automatically.
selector1._domainkey  CNAME  selector1-yourbusiness-co-za._domainkey.yourtenant.n-v1.dkim.mail.microsoft.
selector2._domainkey  CNAME  selector2-yourbusiness-co-za._domainkey.yourtenant.n-v1.dkim.mail.microsoft.

Google Workspace

  1. In the Admin console go to Apps, Google Workspace, Gmail, Authenticate email.
  2. Select the domain and generate a new record; choose a 2048-bit key if your DNS host supports long TXT values (otherwise 1024).
  3. Publish the TXT record at google._domainkey (the default selector).
  4. Back in the Admin console, click Start authentication.

cPanel hosting

In cPanel's Email Deliverability page, the host shows the DKIM record it expects, usually with selector default. If your DNS is hosted by cPanel itself, it may install it with one click; if DNS is elsewhere (for example Cloudflare), copy the TXT record across exactly.

Newsletter, transactional and business tools

Look for "domain authentication", "sender authentication" or "custom DKIM" in each service's settings (Mailchimp, Brevo, MailerLite, Klaviyo, Amazon SES, Postmark, Mailgun, SendGrid, Resend, HubSpot, Xero and others). They give you one to three CNAME or TXT records. Until you complete this step, most of these services sign with their own domain, which does not align with yours for DMARC.

Key length and rotation

  • Use 2048-bit RSA keys where possible; 1024-bit keys are still accepted but weaker. Keys shorter than 1024 bits are rejected by major receivers.
  • Rotate keys periodically (for example yearly) on platforms where you manage them yourself: publish a new selector, switch signing to it, then remove the old record after a few days. Hosted CNAME setups rotate automatically.
  • Revoke a compromised key by publishing an empty p= value for that selector, then moving to a new selector.

Testing DKIM

  1. Send a message to a Gmail account and use "Show original": look for DKIM: 'PASS' with domain yourbusiness.co.za.
  2. Check the Authentication-Results header for dkim=pass header.d=yourbusiness.co.za.
  3. If DKIM passes but with a different d= domain (for example the newsletter service's own domain), DKIM is working but not aligned; complete that service's domain authentication.

Common DKIM problems

SymptomLikely causeFix
dkim=fail (no key for signature)Record missing, wrong name, or not yet visibleLook up selector._domainkey.yourdomain; fix doubled domain names in the panel
body hash did not verifyMessage altered after signing (disclaimer or signature added by a gateway or mailing list, line-ending changes)Add footers before signing, or have the gateway re-sign; accept that some mailing lists break DKIM
key syntax errorKey pasted with spaces, line breaks or missing parts; quotes inside the valueRepublish exactly; let the panel split long values
Microsoft 365 shows "CnameMissing"CNAMEs not published, wrong target, or a TXT record published instead of a CNAMEPublish both CNAMEs with the exact targets
DKIM passes, DMARC failsSigning domain does not match the From domainConfigure custom-domain DKIM in the sending service

Part 9: DMARC in depth, including the 2026 standard update

DMARC ties SPF and DKIM to the address people actually see in the From line, tells receivers what to do with mail that fails, and asks them to send you reports. It is the record that actually stops criminals sending email from your exact domain, and it is a prerequisite for logos in the inbox (Part 12).

The 2026 update: RFC 9989

The original DMARC specification (RFC 7489, 2015) was informational. After years of work, the IETF published the updated protocol, long known as "DMARCbis", on 20 May 2026 as RFC 9989 (core protocol), RFC 9990 (aggregate reporting) and RFC 9991 (failure reporting), moving DMARC onto the Standards Track. Records still begin with v=DMARC1, and existing records keep working. The practical changes:

  • The pct=, rf= and ri= tags are deprecated. In particular, gradual rollout by percentage is gone; a new t= (testing) flag replaces part of its purpose.
  • A new np= tag sets the policy for non-existent subdomains, a favourite target for spoofing.
  • The psd= tag (for public suffix domains) moves into the core standard.
  • The Public Suffix List is replaced by a "DNS tree walk" to find the organisational domain.
  • For DMARC purposes, SPF uses only the MAIL FROM (envelope) identity, with no fallback to the HELO name.

Receivers will adopt the new behaviour over time, and many will keep honouring pct for a while. For new records, avoid relying on pct; use t=y if you want a testing phase.

Tags reference

TagExampleMeaning
vv=DMARC1Version; must be first
pp=rejectPolicy for the domain: none (monitor), quarantine (spam folder), reject (refuse)
spsp=rejectPolicy for existing subdomains (defaults to p)
npnp=rejectPolicy for non-existent subdomains (new in RFC 9989)
ruarua=mailto:dmarc@yourbusiness.co.zaWhere aggregate reports go (comma-separated list allowed)
rufruf=mailto:…Where failure (forensic) reports go; few receivers send them, and they can contain personal information
adkimadkim=sDKIM alignment: r relaxed (default, subdomains match) or s strict (exact match)
aspfaspf=rSPF alignment, same options
fofo=1When to send failure reports
tt=yTesting flag (new): asks receivers to treat the policy as testing
pct, rf, riDeprecated in RFC 9989

Alignment, with examples

A message passes DMARC if either SPF or DKIM passes and its domain aligns with the From domain.

FromSPF domain (Return-Path)DKIM d=Result (relaxed)
yourbusiness.co.zayourbusiness.co.za (pass)yourbusiness.co.za (pass)Pass
yourbusiness.co.zabounces.newsletter.example (pass)yourbusiness.co.za (pass)Pass via DKIM
yourbusiness.co.zabounce.yourbusiness.co.za (pass)nonePass via SPF (relaxed alignment allows the subdomain)
yourbusiness.co.zabounces.newsletter.example (pass)newsletter.example (pass)Fail: both pass, neither aligns
yourbusiness.co.za(forwarded, fail)yourbusiness.co.za (pass)Pass via DKIM

Rollout plan

  1. Monitor: v=DMARC1; p=none; rua=mailto:…. Collect two to four weeks of reports.
  2. Fix legitimate senders that fail: enable aligned DKIM, fix SPF, move website mail to an authenticated service.
  3. Quarantine: p=quarantine. Optionally add t=y for a short test period with receivers that support it.
  4. Reject: p=reject, plus sp=reject and np=reject once subdomain senders are covered.
  5. Keep reading reports monthly. New services, vendor changes and forwarding patterns all show up there first.
_dmarc  TXT  "v=DMARC1; p=none; rua=mailto:dmarc-reports@yourbusiness.co.za; fo=1"
_dmarc  TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourbusiness.co.za"
_dmarc  TXT  "v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:dmarc-reports@yourbusiness.co.za"

Sending reports to another domain

If your reports go to an address on a different domain (for example a DMARC reporting service), that domain must publish an authorisation record, or receivers will not send reports there. Reporting services set this up on their side; if you use your own second domain, add:

yourbusiness.co.za._report._dmarc.reportsdomain.example.  TXT  "v=DMARC1"

Reading aggregate reports

Reports arrive daily as compressed XML attachments. A DMARC reporting service (many offer free tiers for small volumes) turns them into dashboards. For each sending source, check:

  • Is it a service we use? If not, it is probably spoofing (which enforcement will block) or a forgotten service.
  • Does it pass DMARC? If a legitimate service fails, fix its SPF or DKIM alignment before enforcing.
  • Are failures from forwarders and mailing lists? Those are expected in small numbers when DKIM passes.

Our DMARC troubleshooting section in the security guide walks through the common failure patterns.

DMARC and mailing lists

Mailing lists often modify messages (adding a subject tag or footer), which breaks DKIM, and resend from their own servers, which breaks SPF. Modern list software rewrites the From address to avoid DMARC failures, and many receivers use ARC (Authenticated Received Chain) to trust the original authentication results. The updated standard acknowledges this indirect-mail problem remains unsolved. In practice, it rarely justifies staying at p=none for a business domain; if your staff post to discussion lists, test first.

DMARC for every domain you own

Domains that never send email should still have DMARC, because criminals happily spoof unused domains:

@        TXT  "v=spf1 -all"
_dmarc   TXT  "v=DMARC1; p=reject; sp=reject; np=reject;"
@        MX   0 .

Part 10: Record builders: create your SPF, DMARC and BIMI records

Use these builders to assemble correctly formatted records. They run entirely in your browser and send nothing anywhere. Always double-check provider-specific values (such as include domains) against your provider's current documentation before publishing.

SPF builder

Tick every service that sends email using your domain in the envelope sender. Services that pass DMARC with their own aligned DKIM often do not need to be here; check their instructions.

DMARC builder

Publish as a TXT record with the name _dmarc.

BIMI builder

Publish as a TXT record with the name default._bimi. Requires DMARC at quarantine or reject.

Part 11: Encrypted delivery: MTA-STS, TLS-RPT, DANE and reverse DNS

SPF, DKIM and DMARC prove who sent a message. A separate set of records protects the connection between mail servers, so messages cannot be read or redirected in transit, and helps your own mail servers look trustworthy.

Why transport security matters

Mail servers usually encrypt connections with STARTTLS, but opportunistically: if encryption fails, or an attacker in the network path strips the offer, many servers fall back to sending in plain text. MTA-STS and DANE let you tell senders "only deliver to me over properly encrypted connections to these exact servers".

MTA-STS step by step

MTA-STS has two parts: a small policy file served over HTTPS, and a TXT record announcing it.

  1. Create a subdomain mta-sts.yourbusiness.co.za with a valid HTTPS certificate. Any static hosting works; some DMARC and email security services host it for you.
  2. Publish the policy file at https://mta-sts.yourbusiness.co.za/.well-known/mta-sts.txt.
  3. Start in testing mode, then switch to enforce after checking TLS-RPT reports.
  4. Publish the TXT record at _mta-sts with an id value; change the id whenever you change the policy file.
version: STSv1
mode: testing
mx: *.mail.protection.outlook.com
max_age: 86400
version: STSv1
mode: enforce
mx: smtp.google.com
mx: *.aspmx.l.google.com
mx: aspmx.l.google.com
max_age: 604800
_mta-sts  TXT  "v=STSv1; id=20261203T1200"

The mx: lines must cover every MX hostname you publish (wildcards are allowed for the first label). If your Microsoft 365 MX uses a hostname under mx.microsoft, include a matching pattern. A mismatch in enforce mode makes compliant senders refuse to deliver to you, so always run testing mode first.

TLS-RPT: reports about encryption failures

_smtp._tls  TXT  "v=TLSRPTv1; rua=mailto:tls-reports@yourbusiness.co.za"

Senders that support it (including Google and Microsoft) send daily JSON reports of successful and failed encrypted connections to your servers. Use them to confirm your MTA-STS policy is correct before enforcing.

DANE and DNSSEC

DANE publishes the fingerprint of the receiving server's certificate in DNS (TLSA records), protected by DNSSEC, so senders can verify they are talking to the genuine server. It requires DNSSEC on the MX hostnames' zone. For hosted platforms, the provider does this on its own MX hostnames: Microsoft's newer mx.microsoft hostnames and Google's signed MX*.SMTP.GOOG option exist precisely to support DNSSEC and DANE. Your part is enabling DNSSEC on your own domain and using the provider's signed MX hostnames. For self-hosted mail, DANE needs careful certificate management: a TLSA record that does not match a renewed certificate stops mail.

Reverse DNS (PTR) and HELO: only for your own mail servers

If you send mail from your own server or VPS (rather than Microsoft 365, Google or a sending service), receivers check that:

  • The sending IP address has a PTR record (reverse DNS) naming a hostname, for example mail.yourbusiness.co.za. PTR records are set by whoever owns the IP address, usually your hosting or VPS provider, through their control panel or support.
  • That hostname's A record points back to the same IP ("forward-confirmed reverse DNS").
  • The server introduces itself (HELO/EHLO) with that hostname.
  • The IP is not on blocklists and is not in a residential or dynamic range.

Google's sender guidelines require valid forward and reverse DNS for sending IPs. Hosted platforms take care of all of this for you, which is one of the strongest reasons not to run your own outgoing mail server for a small business.

Client configuration records (autodiscover and friends)

These do not affect delivery, but they make setting up mail apps painless.

PlatformRecordPurpose
Microsoft 365autodiscover CNAME autodiscover.outlook.comOutlook finds mailbox settings automatically
cPanel / hostsautodiscover and autoconfig A or CNAME records, sometimes _autodiscover._tcp SRVOutlook and Thunderbird auto-setup
Self-hosted / genericSRV records such as _submission._tcp, _imaps._tcp (RFC 6186)Some clients discover server names and ports
Google WorkspaceNone needed for Gmail; optional CNAME mail → ghs.googlehosted.com for a custom webmail addressConvenience

Leftover autodiscover records from a previous provider are a classic cause of Outlook repeatedly asking for passwords after a migration. Remove or update them when you change platforms.

Part 12: Getting your logo shown in the inbox

When your email arrives, most inboxes show a small circle next to the sender name. Usually it contains initials or a generic icon. With the right setup, it can show your logo, which makes your messages instantly recognisable and harder to imitate. There are several separate systems for this, and each inbox supports different ones. This part explains them all and what each actually achieves.

Mock inbox showing three messages: one with a brand logo and verified checkmark from a VMC, one with a logo from a CMC without a checkmark, and one with plain initials because the sender has no BIMI setup; beside it the chain of requirements from DMARC enforcement to SVG logo, certificate and BIMI record
What recipients see depends on your setup and on their inbox. Names are invented.

The options at a glance

MethodWhere the logo appearsWhat you needCost
BIMI without a certificateYahoo Mail and AOL (for senders with good reputation and volume), Fastmail and some othersDMARC enforcement, SVG Tiny PS logo, BIMI DNS recordFree
BIMI with a CMC (Common Mark Certificate)Adds Gmail (logo, no checkmark)As above, plus a CMC, which requires the logo to have been displayed publicly on your domain for at least 12 monthsAnnual certificate fee
BIMI with a VMC (Verified Mark Certificate)Gmail with a blue verified checkmark, Apple Mail and iCloud Mail, Yahoo, and othersAs above, plus a VMC, which requires a registered trademark for the logo with an accepted trademark officeHigher annual certificate fee plus trademark costs
Apple Branded MailApple Mail on iPhone and iCloud Mail on the web, including for recipients using other mail accounts in Apple MailApple Business (Business Connect) account, verified company, approved logo, DMARC with DKIMFree
Google account profile photoGmail, for mail sent from addresses that are Google accounts (for example Google Workspace users)Set profile photos for your Workspace users or the sending accountFree
Microsoft 365 user photosOutlook within your own organisationUser photos in Microsoft 365Free
Outlook.com / Microsoft 365 for external recipientsNo standard BIMI support at the time of writingNothing you can setn/a

Two honest points before you spend money: Outlook does not display BIMI logos, so if most of your customers use Outlook or Microsoft 365 at work, BIMI will not help them; and no method guarantees display, because each mailbox provider applies its own reputation and eligibility checks.

BIMI: Brand Indicators for Message Identification

BIMI is an open standard: you publish a DNS record pointing to your logo, and supporting inboxes display it for messages that pass DMARC. It works because DMARC enforcement proves the message really came from your domain.

Requirements

  1. DMARC at enforcement. Your organisational domain needs p=quarantine or p=reject applying to all mail (no pct below 100), and subdomains need an enforcing policy too. A monitoring policy (p=none) does not qualify. See Part 9.
  2. Aligned authentication on every message you want the logo on, including newsletters sent through third-party tools.
  3. A logo in SVG Tiny Portable/Secure (SVG Tiny PS) format: a restricted profile of SVG Tiny 1.2 with no scripts, external references or animations, a square aspect ratio, a solid background, a <title> element, and a small file size (32 KB or less is the common guidance).
  4. HTTPS hosting for the logo (and certificate, if you have one) on a public URL.
  5. Optionally a mark certificate (VMC or CMC) for Gmail and Apple.
  6. A BIMI TXT record at default._bimi.yourdomain.
  7. Sender reputation. Providers display logos only for senders they trust; new or low-volume senders may not see logos immediately, especially at Yahoo.

The BIMI record

default._bimi  TXT  "v=BIMI1; l=https://yourbusiness.co.za/bimi/logo.svg; a=;"
default._bimi  TXT  "v=BIMI1; l=https://yourbusiness.co.za/bimi/logo.svg; a=https://yourbusiness.co.za/bimi/certificate.pem"
  • l= is the logo URL. With a certificate, the logo embedded in the certificate is what is shown, so keep the files consistent.
  • a= is the certificate (PEM file) URL; empty if you have none.
  • Different selectors (for example news._bimi) can be used with a BIMI-Selector header, but almost everyone uses default.

Preparing the SVG logo

  • Start from the vector master of your logo, not a PNG.
  • Use a square artboard and design for a circle crop: most inboxes mask the logo into a circle, so keep important elements inside the centre and give the logo some padding.
  • Set a solid background colour (transparent backgrounds are not allowed).
  • Convert text to outlines.
  • Export as SVG, then convert to SVG Tiny PS using a BIMI conversion tool, or have your designer or certificate provider do it. Validate the result with a BIMI inspector before publishing.
  • Check it at small sizes: the inbox circle is tiny, so simplify wordmarks; a symbol often works better than a full logo.

VMC or CMC?

VMCCMC
Proof requiredA registered trademark of the exact logo, with a trademark office accepted by the certificate authoritiesEvidence the logo has been displayed publicly on your domain for at least 12 months
GmailLogo and blue verified checkmarkLogo, no checkmark
Apple MailSupportedNot supported at the time of writing
Validation timeTypically days to weeks, once documents are in orderSimilar

Mark certificates are issued by a small number of authorised certificate authorities (the BIMI Group publishes the current list; DigiCert, GlobalSign and SSL.com are among them). Before buying, confirm your trademark office is accepted, because only trademarks registered with specific offices qualify. If your business has not registered its logo as a trademark, a CMC is the realistic route to Gmail, provided you have used the logo on your website for a year.

Apple Branded Mail

Apple offers its own free alternative through Apple Business (formerly Apple Business Connect). Once your company is verified and your brand logo approved, your logo and name can appear in Apple Mail on iPhone and in iCloud Mail on the web. Requirements include a commercial domain (free webmail addresses do not qualify), DMARC compliance with DKIM authentication on all mail (SPF alone is not enough), and Apple's review, which can take several business days. Because Apple Mail is widely used on iPhones even for Gmail and work accounts, this can reach people BIMI does not, so it is worth doing alongside BIMI.

Google account photos

Gmail shows the profile photo of a Google account when the sender address is a Google account. If your business uses Google Workspace, setting a profile photo for each user (a headshot or, for shared addresses such as accounts@, your logo) means Gmail recipients often see it. Administrators can manage whether users can change their photos. This does not need DMARC or certificates, but it only applies to mail sent from Google accounts.

Microsoft 365 photos

Photos set for Microsoft 365 users appear in Outlook and Teams inside your organisation, which is useful for staff recognising each other's genuine messages, but they are not shown to external Outlook.com or Gmail recipients.

Which should you do?

  1. Everyone: get DMARC to enforcement first. It protects you from spoofing regardless of logos.
  2. Everyone with Google Workspace: set profile photos.
  3. Businesses whose customers use iPhones: set up Apple Branded Mail.
  4. Businesses sending marketing or transactional email at volume: publish a certificate-free BIMI record for Yahoo and others, then consider a CMC or VMC for Gmail based on your audience and budget.
  5. Businesses mainly emailing corporate Outlook users: logos will not show there; focus on authentication, consistent sender names and good signatures.

Troubleshooting BIMI

ProblemCheck
No logo anywhereDMARC policy is quarantine or reject for all mail (no pct below 100); BIMI record syntax; logo URL loads over HTTPS
Logo in Yahoo but not GmailGmail needs a VMC or CMC
Logo in Gmail but not Apple MailApple needs a VMC (or use Apple Branded Mail)
Logo shows for some campaigns but not othersThose messages are not DMARC-aligned (often a newsletter tool without custom DKIM), or come from a subdomain without enforcement
Certificate rejectedSVG in the certificate differs from the hosted SVG; certificate expired; file not served as PEM
Logo looks cropped or blurryRedesign for a circle crop with padding and simpler shapes

Part 13: Logos in email signatures and templates

The logo in your email signature is a completely different thing from the inbox logo. It is an image inside the message itself, and it has to survive dozens of email programs with very different rules: Outlook on Windows, Outlook on Mac, Gmail on the web and phones, Apple Mail, dark mode, and image blocking. This part explains the methods and the settings that work reliably.

Annotated email signature showing a hosted PNG logo at 2x resolution with width and height set, name and role in live text, phone and website links, a notice about banking details, and notes about dark mode, alt text and file size
A signature that survives most email programs: small hosted image, everything else as live text.
MethodHow it worksProsCons
Hosted (linked) imageThe signature references an image URL on your website or a CDNSmall messages; consistent; easy to updateSome recipients block remote images until they click "show images"; the image must stay online
Embedded (CID) imageThe image is attached inline and referenced inside the messageShows without remote image loading in many clientsAppears as an attachment (paperclip) in some clients; bigger messages; can trigger spam filters if large
Base64 data URIThe image is encoded directly in the HTMLSelf-containedBlocked or stripped by Gmail and many Outlook versions; avoid

For most businesses, a hosted PNG is the best balance. Gmail proxies remote images and shows them by default, and Apple Mail shows them; Outlook may ask the recipient to download pictures, so the signature must still make sense without the image.

Image specifications that work

  • Format: PNG for logos with flat colours or transparency; JPG for photos. Not SVG: Outlook and many clients do not display SVG in email. Avoid animated GIFs for logos.
  • Size: design at 2x the display size for sharp results on high-resolution screens. For a logo displayed 160 pixels wide, export 320 pixels wide.
  • Set width and height attributes in the HTML to the display size (for example width="160" height="40"). Without them, Outlook on Windows may show the 2x image at full size or rescale it based on display settings.
  • File size: keep it small, ideally under 30 to 50 KB.
  • Hosting: a stable HTTPS URL on your own domain, for example https://yourbusiness.co.za/email/logo-320.png. Do not hotlink from social media or file-sharing links, which change or expire.
  • Alt text: alt="Your Business", so people with images blocked still see your name.
  • Dark mode: many clients invert or darken backgrounds. A logo with dark text on a transparent background can disappear on dark backgrounds. Use a version with a light outline or a solid white or brand-coloured background tile, and test in dark mode.

A robust signature HTML pattern

<table cellpadding="0" cellspacing="0" border="0" style="font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#1a1a1a;">
  <tr>
    <td style="padding-right:14px;vertical-align:top;">
      <img src="https://yourbusiness.co.za/email/logo-320.png" width="160" height="40"
           alt="Your Business" style="display:block;border:0;">
    </td>
    <td style="border-left:2px solid #ff4b1f;padding-left:14px;vertical-align:top;">
      <strong>Thandi Example</strong><br>Accounts Manager, Your Business<br>
      <a href="tel:+27110000000" style="color:#1a1a1a;text-decoration:none;">011 000 0000</a> ·
      <a href="https://yourbusiness.co.za" style="color:#c92f0a;">yourbusiness.co.za</a>
    </td>
  </tr>
  <tr>
    <td colspan="2" style="padding-top:10px;font-size:11px;color:#666;">
      We never change our banking details by email. Please call us before paying a new account.
    </td>
  </tr>
</table>

Why it is built this way: email clients ignore most modern CSS, so tables and inline styles are the reliable layout method; text stays as real text (searchable, readable with images off, accessible); and the security notice helps prevent invoice fraud (see our customer protection wording).

Setting signatures on each platform

Microsoft 365 and Outlook

  • Per user: in Outlook (new Outlook and Outlook on the web: Settings, Account, Signatures; classic Outlook: File, Options, Mail, Signatures). Paste the HTML rendered in a browser (open the HTML file in a browser, select all, copy, paste) rather than raw code.
  • Roaming signatures: modern Outlook stores signatures in the mailbox, so they follow users across devices.
  • Organisation-wide: an Exchange mail flow rule can append a disclaimer or signature to outgoing mail, but it adds the text at the end of threads and cannot easily include per-user details nicely. Dedicated signature management tools exist for consistent company-wide signatures.

Google Workspace and Gmail

  • Per user: Gmail Settings, General, Signature. Use the image button and insert by URL for a hosted logo. Gmail limits signature length (about 10,000 characters).
  • Organisation-wide: the Admin console's "Append footer" setting adds a standard footer to outgoing mail. Third-party tools can push personalised signatures to every user.
  • Mobile: the Gmail apps use a separate, plain-text mobile signature unless configured otherwise.

Apple Mail

Mail settings, Signatures. Apple Mail may convert hosted images into attachments when composing; the "Always match my default message font" option and image handling vary by version, so send a test.

Mobile apps

Many mobile mail apps only support plain-text signatures. Keep a short text version: name, role, business, phone, website.

What to include, and what to leave out

  • Include: name, role, business name, phone, website, and for companies any registration details your company secretary or attorney advises.
  • Include: a one-line banking details warning if you invoice by email.
  • Consider: a link to your privacy notice, especially if emails go to customers.
  • Leave out: long legal disclaimers (they rarely have legal force and clutter every reply), multiple social icons as images (each one is another image to block and another spam signal), large banners on every email, quotes and slogans in images.

Newsletter and transactional templates

The same image rules apply to logos in newsletters, order confirmations and invoices: hosted PNG at 2x with explicit dimensions, alt text, dark-mode-friendly versions, and live text for important information. Keep the sending domain, From name and logo consistent across all of them, so customers learn what your genuine email looks like. That consistency is also what BIMI and Apple Branded Mail reinforce at the inbox level.

Part 14: Addresses, aliases, shared mailboxes and sender names

DNS gets mail to your domain; how you organise addresses decides whether it reaches the right people, and how your messages appear to recipients.

Mailboxes, aliases, groups and shared mailboxes

TypeWhat it isUse it forLicence cost (Microsoft 365 / Google)
User mailboxA person's own inbox and loginEach staff memberYes
AliasExtra address delivering to an existing mailboxName variations (thandi@ and t.example@), retired addressesNo
Group / distribution listOne address delivering to several peoplesales@ where each person handles replies from their own mailboxNo
Shared mailbox (Microsoft) / collaborative inbox (Google groups)One mailbox several people open with their own loginsinfo@, accounts@, support@Usually no (Microsoft shared mailboxes are free within size limits)
Catch-allReceives mail for any address that does not existRarely a good idean/a

Avoid sharing one user's password between several people for a role address; use a shared mailbox so each person signs in with their own account and 2FA (see our security guide on shared logins). Avoid catch-all addresses: they collect huge amounts of spam and make your domain look like a target for directory-harvesting.

  • info@ or hello@: general enquiries (shared mailbox).
  • accounts@: invoices and statements (shared mailbox, finance only).
  • support@ or orders@: customer service.
  • dmarc@ or a reporting service address: DMARC reports, not read by humans directly.
  • postmaster@ and abuse@: expected by internet standards; aliases to an administrator.
  • noreply@: for automated messages, but consider a monitored address instead, since customers reply anyway.

Sender names (display names)

  • Use a consistent pattern: "Thandi at Your Business" or "Your Business Accounts". Consistency helps recipients spot fakes.
  • Do not use the business name alone for personal mailboxes if staff send personal-style emails; recipients like knowing who wrote.
  • Avoid all caps, emojis and words like "Urgent" or "Security" in display names; they look like phishing.
  • For newsletters, use the brand name people signed up to.

Reply-To and sending on behalf

  • Reply-To lets automated mail come from a sending address while replies go to a monitored mailbox. Use it for website forms (visitor's address as Reply-To) and newsletters (support mailbox as Reply-To).
  • Send As and Send on Behalf permissions (Microsoft 365) and "Send mail as" (Gmail) let staff send from shared addresses properly authenticated through your platform, rather than through outside services that would fail DMARC.
  • Do not configure Gmail personal accounts to send "as" your business address through Google's own servers; this fails DMARC once you enforce it. Use your business platform's SMTP instead, or better, a proper mailbox.

Auto-forwarding

Forwarding business mail to personal accounts creates security and POPIA risks, and forwarded mail can fail SPF at the destination. Microsoft 365 and Google Workspace can block automatic external forwarding; most businesses should. Where a forward is genuinely needed, configure it centrally and document it.

Part 15: Complete configurations for common setups

This part gives full, working record sets for the setups South African small businesses use most. Values in angle brackets, and all example tenant names, keys and IP addresses, must be replaced with those from your own provider consoles. Use these as a map of what should exist, then copy exact values from each provider.

Reading the examples: @ means the domain itself. TTL is 3600 unless noted. Records marked "(from console)" must be copied exactly from the provider; never type them from memory.

Setup A: Microsoft 365 for email, website on separate hosting

; website
@                      A      198.51.100.10              ; your web host
www                    CNAME  yourbusiness.co.za.

; incoming mail
@                      MX     0 yourbusiness-co-za.mail.protection.outlook.com.   ; (from console)

; verification and client setup
@                      TXT    "MS=ms12345678"                                  ; (from console)
autodiscover           CNAME  autodiscover.outlook.com.

; authentication
@                      TXT    "v=spf1 include:spf.protection.outlook.com -all"
selector1._domainkey   CNAME  selector1-yourbusiness-co-za._domainkey.yourtenant.n-v1.dkim.mail.microsoft.   ; (from console)
selector2._domainkey   CNAME  selector2-yourbusiness-co-za._domainkey.yourtenant.n-v1.dkim.mail.microsoft.   ; (from console)
_dmarc                 TXT    "v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:dmarc@yourbusiness.co.za"

; transport security (optional, recommended)
_mta-sts               TXT    "v=STSv1; id=20261203"
mta-sts                CNAME  <host serving the policy file>.
_smtp._tls             TXT    "v=TLSRPTv1; rua=mailto:tls-reports@yourbusiness.co.za"

Website contact forms on the web host should send through Microsoft 365 SMTP (with an app-appropriate authentication method) or a transactional service. If the web host must send directly, add its IP to SPF and set up DKIM on it, or better, use a subdomain such as web.yourbusiness.co.za for those messages.

Older Microsoft records you can usually remove if present and unused: sip, lyncdiscover and _sip._tls/_sipfederationtls._tcp SRV records (from the retired Skype for Business), and enterpriseregistration/enterpriseenrollment CNAMEs (only needed for some device management setups). Check with your IT provider before deleting anything.

Setup B: Google Workspace with a newsletter tool and accounting software

@                      MX     1 smtp.google.com.
@                      TXT    "google-site-verification=AbC123…"            ; (from console)
@                      TXT    "v=spf1 include:_spf.google.com -all"
google._domainkey      TXT    "v=DKIM1; k=rsa; p=MIIBIjANBgkq…IDAQAB"        ; (from console, 2048-bit)

; Mailchimp domain authentication: aligned DKIM, no SPF include needed
k2._domainkey          CNAME  dkim2.mcsv.net.                               ; (from Mailchimp)
k3._domainkey          CNAME  dkim3.mcsv.net.                               ; (from Mailchimp)

; invoicing software that emails invoices "from" your address
<selector>._domainkey  CNAME  <value from the software>.                    ; (from the software)

_dmarc                 TXT    "v=DMARC1; p=quarantine; rua=mailto:dmarc@yourbusiness.co.za"
default._bimi          TXT    "v=BIMI1; l=https://yourbusiness.co.za/bimi/logo.svg; a=;"

Notice that Mailchimp is not in SPF: with its domain authentication complete, Mailchimp campaigns pass DMARC through aligned DKIM. Check each service's current instructions; some also ask for a return-path CNAME so SPF aligns too.

Setup C: Email on your web hosting (cPanel)

@                      A      198.51.100.20
mail                   A      198.51.100.20      ; DNS only (grey cloud) if on Cloudflare
@                      MX     0 mail.yourbusiness.co.za.
@                      TXT    "v=spf1 +a +mx ip4:198.51.100.20 ~all"
default._domainkey     TXT    "v=DKIM1; k=rsa; p=MIIBIjANBgkq…"   ; (from cPanel Email Deliverability)
_dmarc                 TXT    "v=DMARC1; p=quarantine; rua=mailto:dmarc@yourbusiness.co.za"
autoconfig             A      198.51.100.20
autodiscover           A      198.51.100.20

If your DNS is on Cloudflare but mail is on cPanel, the website A record can be proxied (orange), but mail, autoconfig, autodiscover and any hostname mail clients connect to must be DNS only. Point the MX at mail.yourbusiness.co.za rather than the bare domain, because the bare domain is proxied and would send mail to Cloudflare. Also make sure the cPanel server's PTR record is set by the host, and use cPanel's Email Deliverability page to confirm SPF and DKIM match.

Setup D: Zoho Mail

@                      MX     10 mx.zoho.com.
@                      MX     20 mx2.zoho.com.
@                      MX     50 mx3.zoho.com.
@                      TXT    "zoho-verification=zb12345678.zmverify.zoho.com"   ; (from console)
@                      TXT    "v=spf1 include:zohomail.com -all"
zmail._domainkey       TXT    "v=DKIM1; k=rsa; p=MIGfMA0…"                       ; (from console; selector you chose)
_dmarc                 TXT    "v=DMARC1; p=quarantine; rua=mailto:dmarc@yourbusiness.co.za"

Setup E: Forwarding only (Cloudflare Email Routing to a Gmail account)

For a very small business that wants hello@yourbusiness.co.za to arrive in an existing Gmail account, Cloudflare Email Routing forwards incoming mail for free. Cloudflare adds its MX records and an SPF include when you enable it.

@                      MX     <priority> route1.mx.cloudflare.net.
@                      MX     <priority> route2.mx.cloudflare.net.
@                      MX     <priority> route3.mx.cloudflare.net.
@                      TXT    "v=spf1 include:_spf.mx.cloudflare.net ~all"

Limitation: forwarding handles incoming mail only. Replying "as" hello@yourbusiness.co.za from Gmail requires sending through an SMTP service that is authorised for your domain (and included in SPF and DKIM), otherwise replies fail DMARC or come from the Gmail address. For anything beyond a sole trader, a proper mailbox plan is simpler and more professional.

Setup F: Separate subdomains for marketing and transactional mail

Sending newsletters and system emails from subdomains protects your main domain's reputation and keeps SPF short.

; main domain: people's mailboxes on Microsoft 365 (records as Setup A)

; news.yourbusiness.co.za: newsletters via a marketing platform
news                   TXT    "v=spf1 include:<platform spf> -all"   ; if the platform requires it
<sel>._domainkey.news  CNAME  <from platform>.
news                   MX     10 <bounce host from platform>.          ; if the platform requires it
_dmarc.news            TXT    "v=DMARC1; p=reject; rua=mailto:dmarc@yourbusiness.co.za"   ; optional: inherits from parent otherwise

; mail.app.yourbusiness.co.za or notify.yourbusiness.co.za: transactional email (SES, Postmark, Resend…)
<records exactly as given by the transactional provider>

Keep the From domain recognisable (for example news@news.yourbusiness.co.za or orders@notify.yourbusiness.co.za), and keep reply addresses going to monitored mailboxes on the main domain.

Setup G: Inbound security gateway in front of your mailboxes

With a gateway (Mimecast, Proofpoint, Microsoft Defender in front of another platform, or similar), MX points to the gateway, which filters and then relays to your mailbox platform. Remember to:

  • Lock down the mailbox platform so it accepts mail only from the gateway (for example connectors in Microsoft 365), otherwise attackers can bypass it by delivering directly.
  • Enable enhanced filtering or ARC trust in the mailbox platform, so it evaluates SPF and DMARC using the original sender's IP rather than the gateway's.
  • Update MTA-STS mx: patterns to the gateway hostnames.

Setup H: Several domains or brands

  • Each domain that sends needs its own SPF, DKIM (per domain, per service) and DMARC.
  • Each domain that receives needs its own MX, and must be added to the mailbox platform as an accepted or secondary domain.
  • Domains that only redirect to the main website: lock them down with null records (Part 9).
  • To manage many domains with one SPF policy, use redirect=_spf.yourbusiness.co.za pointing to a shared record; changes then happen in one place.

Setup I: A domain that never sends or receives mail

@        MX     0 .
@        TXT    "v=spf1 -all"
_dmarc   TXT    "v=DMARC1; p=reject; sp=reject; np=reject;"
*._domainkey  TXT  "v=DKIM1; p="     ; optional: revokes any DKIM selector

Part 16: Gmail, Yahoo and Microsoft sender requirements

Since 2024, the biggest mailbox providers have turned email authentication from "good practice" into a condition of delivery. Even if you are not a bulk sender, these rules describe what receivers now expect from everyone.

Requirements for all senders (Gmail and Yahoo)

  • SPF or DKIM authentication for your domain.
  • Valid forward and reverse DNS for sending IP addresses (handled by hosted platforms).
  • TLS encryption when sending.
  • Low spam complaint rates: keep reported spam well below 0.3%, ideally under 0.1%.
  • Messages formatted to internet standards (no forged headers, valid From addresses).

Additional requirements for bulk senders

Gmail defines bulk senders as those sending close to 5,000 or more messages a day to personal Gmail accounts; once you qualify, you are treated as a bulk sender permanently. Microsoft introduced similar rules for Outlook.com consumer addresses (Hotmail, Live, Outlook.com) from May 2025 for domains sending over 5,000 messages a day, moving non-compliant mail to junk and later rejecting it. Bulk senders need:

  • SPF and DKIM, both passing.
  • DMARC published (at least p=none), with the From domain aligned to SPF or DKIM.
  • One-click unsubscribe for marketing and subscription messages, using the List-Unsubscribe and List-Unsubscribe-Post headers, plus a visible unsubscribe link, honoured within two days.
  • Spam rates under the thresholds above.

Reputable newsletter platforms add the unsubscribe headers for you; your job is the domain authentication and keeping your list clean (confirmed opt-in, removing bounces and inactive subscribers). In South Africa, POPIA's direct marketing rules (section 69) also require consent for electronic marketing to individuals who are not existing customers, and an opt-out in every message; see our POPIA guide.

Monitoring tools from the providers

  • Google Postmaster Tools: verify your domain (a TXT record) to see spam rate, authentication results and compliance status for mail sent to Gmail.
  • Microsoft SNDS (Smart Network Data Services): data for IP addresses you control, useful mainly for self-hosted senders.
  • Yahoo Sender Hub: complaint feedback and sender information for Yahoo.

Practical checklist for anyone sending newsletters

  • Newsletter platform domain authentication complete (aligned DKIM).
  • DMARC published for the sending domain, with reports monitored.
  • One-click unsubscribe present in campaigns (test with a Gmail account: Gmail shows an "Unsubscribe" link next to the sender).
  • Consent records kept for subscribers.
  • Bounces and complaints automatically suppressed.
  • Inactive subscribers re-confirmed or removed periodically.
  • Postmaster Tools set up for the sending domain.
  • Marketing sent from a subdomain if volume is high, to protect the main domain.

Part 17: Changing email providers or DNS hosts without losing mail

Most email disasters happen during changes: moving from hosting mailboxes to Microsoft 365 or Google Workspace, switching between those two, or moving DNS to Cloudflare. With a plan, these moves are routine.

Timeline of an email migration: inventory and lower TTL a week before, create mailboxes and copy old mail, switch MX on cut-over day, update SPF, DKIM and autodiscover, copy remaining mail and reconnect devices the day after, then monitor and decommission the old service after two to four weeks
A typical mailbox migration, from preparation to switching off the old service.

Migration A: Hosting mailboxes to Microsoft 365 or Google Workspace

One to two weeks before

  1. Inventory mailboxes, aliases, forwarders, distribution lists, shared mailboxes and every sending service (Part 4).
  2. Sign up and verify the domain with the new platform (a TXT record). Verification does not affect mail flow.
  3. Create all users, aliases and shared mailboxes on the new platform, before changing MX. Mail for addresses that do not exist yet will bounce.
  4. Lower the TTL of MX and SPF records to 300 seconds.
  5. Start copying old mail with the platform's migration tools (IMAP migration in Microsoft 365, Google's data migration service) or a third-party migration tool.
  6. Tell staff what will happen, when, and what they need to do on their phones and laptops.

Cut-over day (pick a quiet time, such as Friday evening)

  1. Replace the MX records with the new provider's, deleting the old ones.
  2. Update SPF: add the new provider; keep the old one for a few days only if the old server still sends anything.
  3. Publish DKIM for the new provider and enable signing.
  4. Update autodiscover records and remove old ones that point at the host.
  5. Send test emails to and from outside accounts.

The next day

  1. Run a final incremental copy from the old mailboxes, to catch mail delivered there during the switch.
  2. Reconnect phones and Outlook to the new accounts; remove old account profiles to avoid confusion.
  3. Update website forms, scanners, invoicing software and other systems that send mail through the old server.

Two to four weeks later

  1. Check DMARC reports for any service still failing.
  2. Remove the old provider from SPF.
  3. Raise TTLs back to normal.
  4. Export a final archive of the old mailboxes, then cancel or disable the old email service.

Migration B: Between Microsoft 365 and Google Workspace

The same structure applies, with a few additions:

  • Calendars, contacts and shared files need their own migration steps.
  • Both platforms can briefly run side by side with split or dual delivery, letting groups move in stages (configure routing on the platform that holds the MX).
  • Remove the old platform's DKIM CNAMEs or TXT records only after it no longer sends anything.
  • Remember licence timing: do not cancel the old tenant until the final copy is complete.

Migration C: Moving DNS to a new host (for example Cloudflare)

  1. Export every record from the old DNS host. Do not rely on automatic scans alone: Cloudflare and others import what they can find, but they cannot discover records they do not know to ask for (especially DKIM selectors and other subdomain records).
  2. Compare the new zone with your inventory line by line: MX, SPF, all DKIM selectors, DMARC, MTA-STS, TLS-RPT, BIMI, autodiscover, verification records.
  3. Set mail-related hostnames to DNS only on Cloudflare.
  4. Turn off DNSSEC at the registrar before changing nameservers, then re-enable it with the new host's DS record afterwards.
  5. Change nameservers at the registrar.
  6. Verify by querying the new nameservers directly, then public resolvers, and send test emails.
  7. Keep the old DNS zone unchanged for a few days in case caches still query it.

Migration day checklist

  • All mailboxes, aliases and shared mailboxes exist on the new platform.
  • Domain verified on the new platform.
  • TTLs lowered at least a day ago.
  • Old MX records deleted; new MX records published and resolving.
  • SPF updated; only one SPF record.
  • DKIM published and signing enabled.
  • DMARC unchanged or monitoring during the move.
  • Autodiscover updated; stale records removed.
  • Test emails sent and received externally, including to aliases.
  • Final mail copy scheduled.
  • Devices reconnected; staff told what to expect.
  • Other sending systems repointed.
  • Old service scheduled for decommissioning after the monitoring period.

Part 18: Troubleshooting email delivery

When email misbehaves, work out which direction the problem is in first. Incoming problems are almost always MX or mailbox configuration. Outgoing problems are almost always SPF, DKIM, DMARC, reputation or content.

Symptom to cause

SymptomLikely causesFirst checks
Not receiving any emailMX missing or wrong; DNS host changed without copying records; domain expired; mailbox platform does not recognise the domainLook up MX; check nameservers and domain expiry; check the domain status in the admin console
Receiving some email but not from certain sendersStale MX from an old provider still published; sender's cache; MTA-STS mismatch in enforce modeLook for extra MX records; check TLS-RPT reports; ask the sender for the bounce
Mail arriving in the old mailboxOld MX still published or cached; the old platform still treats the domain as localDelete old MX; on cPanel set Email Routing to remote; on Microsoft 365 or Google, remove the domain from the old tenant when finished
Outgoing mail lands in recipients' spamSPF, DKIM or DMARC failing; new or poor reputation; spammy content; missing unsubscribe on bulk mail; sending from a web serverSend to Gmail and read "Show original"; check Postmaster Tools; review content and links
Bounces mentioning SPF or DMARCSending service not authorised or not alignedCheck SPF includes, DKIM for that service and DMARC reports
Website form emails not arrivingSent from the web server with the visitor's address as From; failing DMARC; blocked by host limitsUse authenticated SMTP or an API service; put the visitor's address in Reply-To
Outlook keeps asking for a password after a moveAutodiscover pointing at the old serverFix or remove autodiscover records; recreate the Outlook profile
Mail client cannot connect on CloudflareMail hostname proxied (orange cloud)Set mail hostnames to DNS only
Everything broke right after a DNS host moveRecords not copied, DNSSEC mismatchCompare zones; check DNSSEC DS record at the registrar

Reading bounce messages

Bounces (non-delivery reports) include a three-part status code and usually a short explanation. The first digit tells you whether to retry: 4.x.x is temporary, 5.x.x is permanent.

CodeTypical meaningWhat to do
550 5.1.1Recipient address does not existCheck spelling; the address or alias may not exist on the receiving platform
550 5.7.1Rejected by policy (spam, reputation, or the recipient's rules)Read the text after the code; check blocklists and authentication
550 5.7.26 (Gmail)Unauthenticated: fails DMARC or lacks required SPF/DKIMFix authentication and alignment for that sending service
421 4.7.0 / 4.7.28 (Gmail)Temporarily rate limited, often due to reputation or a sudden volume spikeSlow down; check spam rates; fix authentication
550 5.7.23SPF validation failedAdd the sending service to SPF or fix SPF errors
550 5.7.515 (Outlook.com)Fails Microsoft's authentication requirements for high-volume sendersPublish and align SPF, DKIM and DMARC
554 5.7.1 with a blocklist nameSending IP or domain is blocklistedFind the cause (compromised account, website spam), fix it, then request delisting
552 5.2.2Recipient mailbox fullContact the recipient another way
5.4.1 / 5.4.4Routing problem; the receiving domain's MX cannot be found or usedIf it is your domain, check MX and the platform's accepted domains

Exact codes and wording vary by provider; the text after the code is usually the most useful part. Our WordPress email deliverability chapter covers website-specific problems such as forms and order emails.

A step-by-step diagnosis routine

  1. Reproduce it: send a test from the affected system to a Gmail address and an Outlook.com address.
  2. Read the headers ("Show original" in Gmail): note SPF, DKIM and DMARC results and the domains they apply to.
  3. Look up the records involved, directly from your nameservers and from a public resolver.
  4. Validate syntax with an SPF and DMARC checker (lookup count, duplicates, typos).
  5. Check reputation: blocklist lookup, Postmaster Tools.
  6. Check recent changes: new services, DNS host moves, provider record format changes, expired certificates on mta-sts.
  7. Fix one thing at a time and retest, so you know what worked.

Tools worth bookmarking

  • Command line: dig, nslookup, PowerShell Resolve-DnsName.
  • Google Admin Toolbox (Dig, Check MX, Messageheader analyser).
  • Microsoft Remote Connectivity Analyzer and Message Header Analyzer.
  • Multi-purpose checkers for SPF, DKIM, DMARC, BIMI and blocklists.
  • A DMARC reporting service.
  • Google Postmaster Tools.

Part 19: Checklists and maintenance

The "done properly" checklist

A business domain is properly configured for email when every item below is true.

  • You know your registrar and DNS host, and both accounts use 2FA and business-controlled email addresses.
  • MX records point only to your current mail platform.
  • Exactly one SPF record, under 10 lookups, ending in -all or ~all, covering every service that needs SPF.
  • DKIM enabled with your own domain for the mailbox platform and every third-party sender.
  • DMARC at p=quarantine or p=reject, with reports going to a monitored service or mailbox.
  • Subdomain and non-existent subdomain policies set (sp=, np=) once subdomain senders are covered.
  • Unused domains locked down with null MX, v=spf1 -all and DMARC reject.
  • Website email sent through an authenticated service, with visitors' addresses in Reply-To.
  • MTA-STS (testing or enforce) and TLS-RPT published, for businesses that want encrypted delivery guaranteed.
  • Autodiscover and client records match the current platform; stale records removed.
  • No mail hostnames proxied through Cloudflare.
  • DNSSEC enabled where supported.
  • Logos: Google Workspace profile photos set; Apple Branded Mail considered; BIMI published if DMARC is enforced and the audience justifies it.
  • Signatures use hosted PNG logos with dimensions and alt text, and include the banking-details warning.
  • Bulk mail meets Gmail, Yahoo and Microsoft requirements, including one-click unsubscribe.
  • A DNS and email inventory is stored safely and kept current.

Monthly (15 minutes)

  • Review DMARC report summary for new or failing sources.
  • Check Postmaster Tools spam rate if you send newsletters.
  • Check TLS-RPT for failures if MTA-STS is in use.

Quarterly (30 minutes)

  • Export the DNS zone and compare it with the inventory.
  • Remove records for services you no longer use (and their SPF includes).
  • Check SPF lookup count.
  • Confirm the mark certificate (if any) and mta-sts HTTPS certificate are valid and not near expiry.
  • Check domain expiry and auto-renew.

When adding a new sending service

  1. Decide the From address and domain (main domain or a subdomain).
  2. Complete the service's domain authentication (DKIM, and return-path or SPF if required).
  3. Check the SPF lookup count if you add an include.
  4. Send a test to Gmail and confirm DMARC passes with alignment.
  5. Add it to your inventory.
  6. Watch DMARC reports for the first week.

When removing a service

  1. Confirm it no longer sends (DMARC reports).
  2. Remove its SPF include and DKIM records.
  3. Remove its verification records and any CNAMEs pointing to it (stale CNAMEs can be taken over by others; see our domain security section).
  4. Update the inventory.

Quick reference card

QuestionCommand or place
Where is my DNS hosted?dig NS yourdomain +short
Where does my mail go?dig MX yourdomain +short
Who may send as me?dig TXT yourdomain +short (look for v=spf1)
Is DKIM published?dig TXT selector._domainkey.yourdomain +short (or CNAME)
What is my DMARC policy?dig TXT _dmarc.yourdomain +short
Does a message pass?Gmail, "Show original"
Is my record saved at the source?dig … @your-nameserver

Frequently asked questions

What DNS records do I need for business email?

At minimum: MX records pointing to your mail platform, one SPF record listing the services allowed to send as your domain, DKIM records for each sending service, and a DMARC record. Optional extras are MTA-STS and TLS-RPT for encrypted delivery, BIMI for logos, and autodiscover records for easier device setup.

How do I find out where my DNS is hosted?

Look up your domain's nameservers with a WHOIS or RDAP lookup, or run dig NS yourdomain. The nameservers identify the DNS host, which is where you must edit records. This is often different from the company you registered the domain with.

Why isn't the DNS record I added working?

The most common causes are editing records at the registrar while the nameservers point somewhere else, a doubled domain name in the host field, a missing or extra trailing dot, waiting for cached TTLs to expire, or a typo in the value. Look the record up directly at your nameserver to see what is actually published.

How long do DNS changes take?

Usually minutes to an hour, depending on the TTL of the old record. Providers quote up to 72 hours as a worst case. Lower the TTL to 300 seconds a day or two before planned changes so they take effect quickly.

What is the current MX record for Google Workspace?

New Google Workspace setups use a single MX record with priority 1 pointing to smtp.google.com. Older setups with the five ASPMX records continue to work and do not need changing if mail is flowing.

What is the MX record for Microsoft 365?

Copy it from the Microsoft 365 admin centre for your domain. Existing domains typically use a hostname ending in mail.protection.outlook.com; Microsoft is moving newly added domains to DNSSEC-capable hostnames under mx.microsoft. Do not construct it by hand.

Can I have two SPF records?

No. Only one TXT record starting with v=spf1 is allowed per domain; two cause SPF to fail with a permanent error. Merge all mechanisms into a single record.

What is the SPF 10 lookup limit?

Evaluating an SPF record may trigger at most 10 DNS lookups, counting every include, a, mx, exists and redirect, including nested ones. More than 10 causes a permanent error and SPF fails. Remove unused includes, rely on aligned DKIM for third-party senders, or use subdomains.

Should SPF end in -all or ~all?

Both are acceptable once DMARC is in place. -all is stricter and recommended for domains that know all their senders; ~all is a cautious choice while you are still discovering senders. Never use +all.

Do I need DKIM if I have SPF?

Yes. SPF breaks when mail is forwarded and only checks the hidden envelope domain. DKIM signatures usually survive forwarding and are required by Gmail, Yahoo and Microsoft for bulk senders and by BIMI and Apple Branded Mail.

Why does Microsoft 365 say CnameMissing for DKIM?

The two selector CNAME records are not published, point to the wrong target, or were published as TXT records. Copy both CNAME targets exactly from the Defender portal or PowerShell, publish them, wait for them to resolve, then enable signing.

What DMARC policy should I use?

Start with p=none and a reporting address to discover your senders, fix any legitimate sources that fail, then move to p=quarantine and finally p=reject. Enforcement is what actually stops criminals using your exact domain.

What changed in DMARC in 2026?

The IETF published the updated DMARC standard as RFC 9989, 9990 and 9991 in May 2026. The pct, rf and ri tags are deprecated, an np tag sets the policy for non-existent subdomains, a t testing flag was added, and the public suffix list is replaced by a DNS tree walk. Records still start with v=DMARC1.

Where should DMARC reports go?

To a mailbox or, better, a DMARC reporting service that turns the XML reports into readable dashboards. If the address is on another domain, that domain must publish an authorisation record, which reporting services handle for you.

How do I get my logo to show next to my emails in Gmail?

Set DMARC to quarantine or reject, prepare your logo as an SVG Tiny PS file, publish a BIMI record and obtain a mark certificate: a CMC shows the logo, a VMC shows the logo with a blue verified checkmark. If you use Google Workspace, profile photos on sending accounts can also appear.

Does Outlook show BIMI logos?

No. Outlook, Outlook.com and Microsoft 365 mailboxes do not display standard BIMI logos at the time of writing.

What is the difference between a VMC and a CMC?

A Verified Mark Certificate requires a registered trademark for the logo and gives Gmail's verified checkmark and Apple Mail support. A Common Mark Certificate requires proof the logo has been displayed publicly on your domain for at least 12 months; Gmail shows the logo without a checkmark and Apple Mail does not currently accept it.

Can I show my logo in inboxes without paying for a certificate?

Partly. Yahoo, AOL and some other providers can show BIMI logos without a certificate for eligible senders. Apple Branded Mail is free through Apple Business. Google Workspace profile photos are free. Gmail's BIMI display needs a CMC or VMC.

What format should my BIMI logo be?

SVG Tiny Portable/Secure: a restricted SVG profile with a square shape, a solid background, a title element, no scripts or external references, and a small file size. Use a conversion tool and validate it before publishing.

What format should my email signature logo be?

A PNG hosted on your own website, exported at twice the display size, with width and height attributes set in the HTML and alt text. Avoid SVG and base64-embedded images because many email clients do not display them.

Why does my signature logo look huge in Outlook?

The image has no width and height attributes, so Outlook on Windows shows it at its full pixel size or scales it by the display's DPI. Set explicit width and height to the intended display size.

Why are my website's contact form emails going to spam?

They are usually sent from the web server without proper authentication, or use the visitor's email address in the From field, which fails DMARC. Send through an authenticated SMTP or API service and put the visitor's address in Reply-To.

What is MTA-STS?

A policy published over HTTPS and announced in DNS that tells other mail servers to deliver to you only over properly encrypted connections to your listed MX hosts. Start in testing mode with TLS-RPT reports, then enforce.

Do I need reverse DNS (PTR) for email?

Only if you send from your own server or VPS. Hosted platforms such as Microsoft 365, Google Workspace and sending services handle reverse DNS for their IP addresses.

Should email hostnames be proxied through Cloudflare?

No. Any hostname used for mail, such as mail, imap, smtp or autodiscover, must be set to DNS only. Cloudflare's proxy handles web traffic, not email.

How do I move email to Microsoft 365 or Google Workspace without losing mail?

Create all mailboxes and aliases first, lower TTLs, copy old mail, switch MX at a quiet time, update SPF, DKIM and autodiscover, run a final copy, reconnect devices, then remove the old provider from DNS after a few weeks of monitoring.

What happens to SPF and DKIM when I move DNS to Cloudflare?

Nothing, as long as every record is copied. Automatic imports often miss DKIM selectors and other subdomain records, so compare the new zone against an export of the old one before changing nameservers.

What are Gmail's bulk sender requirements?

Senders of around 5,000 or more messages a day to Gmail need SPF and DKIM, a DMARC record with alignment, one-click unsubscribe for marketing mail, and spam rates below 0.3 percent. Microsoft applies similar rules to Outlook.com for high-volume senders since May 2025.

Should newsletters be sent from a subdomain?

For regular or high-volume marketing, yes. A subdomain such as news.yourbusiness.co.za keeps marketing reputation separate from staff email and keeps the main domain's SPF record short.

What does bounce code 550 5.7.26 mean?

Gmail rejected the message because it failed authentication: typically DMARC failed, or required SPF or DKIM is missing. Fix authentication and alignment for the service that sent it.

Last reviewed 4 December 2026. Mail providers change their DNS values and sender rules often; always copy records from your own provider console. This is general guidance, not a guarantee of delivery.

Want hosting that someone actually looks after?

Our managed hosting and care plans include South African hosting, business email, SSL, backups, monitoring, security updates and small changes, run by the team that builds the websites.

See Hosting & Care