You send a quote to a client, and it never arrives. Days later, you learn it sat in their spam folder. Or you send an invoice, and the client’s server rejects it with an authentication error.
Both problems hurt trust, and both often have a fixable cause.
Receiving mail servers decide in seconds whether a message is genuine. They ask who sent it, whether it changed on the way, and if the domain owner approves the sender.
When your domain publishes no proof, the receiving server has to guess. Many servers guess wrong, so legitimate mail lands in spam or fails authentication checks.
SPF, DKIM and DMARC are three email authentication standards that help receiving mail servers verify who sent an email. Each one checks a different part of the message.
Together, they show the world that your domain approves the mail.
Configuring all three improves domain protection and email authentication. It does not guarantee inbox placement. Message content, sender reputation and recipient behaviour still affect where your mail lands.
These instructions apply to South African businesses using custom-domain email with providers such as Truehost, Microsoft 365, Google Workspace and other email hosts.
You will find the records, the steps and the checks below.
Table of Contents
What Are SPF, DKIM and DMARC?
This table gives you the short version. The bullets that follow explain each record in plain terms.
| Record | What it does | What it checks |
|---|---|---|
| SPF | Lists authorised sending servers | Whether the sending server is permitted to send for your domain |
| DKIM | Adds a cryptographic signature to outgoing email | Whether the message’s signed content and selected headers have been altered |
| DMARC | Tells receiving servers how to handle failed authentication | Whether SPF or DKIM aligns with the visible From domain |
- SPF: Think of it as a guest list. Your DNS names the servers allowed to send mail for your domain. Receivers compare the sending server against that list, so a stranger’s server fails the check.
- DKIM: Think of it as a wax seal. Your mail server signs each outgoing message. Receivers use a public key in your DNS to confirm nobody changed the signed content in transit.
- DMARC: Think of it as the instruction sheet. It tells receivers what to do when authentication fails. It also asks them to send you reports, so you can see who sends mail as your domain.
The three records work as a team. SPF and DKIM prove who sent the message. DMARC links that proof to the From address your client sees, and it sets the policy for failures.
Why South African Businesses Need SPF, DKIM and DMARC
- Reduce email spoofing: Make it harder for attackers to impersonate addresses such as [email protected]. When your domain publishes clear sending rules, a forged message fails the checks.
- Protect customer communication: Reduce the risk of fraudulent invoices, payment requests and password-reset messages appearing to come from your domain. Your clients stay safer, and your name stays clean.
- Improve email authentication: Help receiving providers verify legitimate messages. A verified message earns more trust than one that arrives with no proof.
- Protect domain reputation: Reduce unauthorised use of your domain in email campaigns and phishing attempts. A domain that criminals abuse can lose the trust of mailbox providers, and that hurts your genuine mail too.
- Meet major mailbox provider requirements: Gmail and Yahoo introduced authentication requirements in 2024, and Outlook.com followed in 2025. These rules apply most firmly to bulk senders, meaning senders of more than 5,000 messages a day to those providers.
Most small businesses send far fewer messages than that. You still gain from authentication, because receivers treat unauthenticated mail with more suspicion. Keep the limit in mind, though. SPF, DKIM and DMARC alone do not guarantee delivery.
What You Need Before Setting Up SPF, DKIM and DMARC
Gather these items first. The setup then takes one sitting instead of several frustrating attempts.
- DNS access: You need access to your domain’s DNS management panel. Without it, you cannot publish any record.
- Your domain name: Use the exact domain in your email addresses. A typo here breaks every record.
- Your sending services: List the names and IP addresses of all services that send email using your domain. A missing service later fails authentication.
- SPF information: Your email hosting provider supplies it. It tells you what to publish.
- DKIM details: Your provider supplies the DKIM selector and public key. You cannot invent these values.
- A reporting address: Choose an email address that can receive DMARC aggregate reports. Reports arrive regularly, so pick a mailbox someone checks.
Sending services that may need authentication
- Business email hosting: Your main mailboxes send mail every day.
- Google Workspace or Microsoft 365: These send from your domain too if you use them.
- Website contact forms: Forms often send notifications and confirmations from your domain.
- WordPress websites: Plugins and themes can send mail on your behalf.
- CRM and marketing email platforms: Newsletters and campaigns use their own servers.
- Invoicing and transactional email services: Receipts and statements often come from a separate system.
Important: A website and an email host may use different servers. Do not assume that your web hosting IP address belongs in your SPF record.
How to Set Up SPF, DKIM and DMARC for Your Domain
The examples below use one consistent domain, example.co.za. The values are illustrative. Use the exact records supplied by your email provider.
Step 1: Find Your Domain’s DNS Management Panel
DNS records live in one place. Finding that place first saves you from editing the wrong panel.
- Log in: Sign in to the company where your domain’s DNS is managed.
- Find the right screen: Look for DNS Zone Editor, DNS Management or Advanced DNS. Providers use different names for the same tool.
- Check who hosts your DNS: Domain registration and DNS hosting may be with different providers. The company that sold you the domain may not control its records.
- Watch for external nameservers: If the domain uses external nameservers, make DNS changes at the active DNS provider. Changes made anywhere else have no effect.
Step 2: Create or Update Your SPF Record
SPF publishes your guest list. Here is an illustrative TXT record:
| Field | Example |
|---|---|
| Type | TXT |
| Host/Name | @ |
| Value | v=spf1 include:mailprovider.example -all |
| TTL | Provider default |
- Use the correct include: Replace the example include with the actual SPF mechanism supplied by your email provider.
- Add other senders: If other services send email from your domain, include their authorised sending mechanisms too. Each service adds its own entry.
- Keep one record: Do not create a second SPF record when one already exists. Combine the authorised mechanisms into the existing record. Two records confuse receivers.
- Stay lean: Avoid adding services that do not send email for your domain. Every extra mechanism adds lookups and weakens your list.
The -all ending tells receivers to reject mail from servers that are not on your list. Some providers suggest a softer ending while you test, so follow your provider’s guidance.
Step 3: Enable DKIM and Add the DNS Record
DKIM needs two parts. Your email host signs the mail, and your DNS holds the public key that proves the signature.
- Open the control panel: Log in to your email hosting control panel.
- Find the settings: Look for the DKIM or email authentication section.
- Get the key: Generate or retrieve the DKIM key if your provider requires it. Some providers create it for you.
- Copy exactly: Copy the selector and public key exactly as supplied. One missing character breaks the signature.
- Publish it: Add the required TXT or CNAME record to DNS, depending on your provider’s instructions.
Here is an illustrative TXT record:
| Field | Example |
|---|---|
| Type | TXT |
| Host/Name | selector1._domainkey |
| Value | v=DKIM1; k=rsa; p=PUBLIC_KEY_HERE |
| TTL | Provider default |
This example is not a usable DKIM key. The actual public key must come from your email provider. Your provider also tells you the real selector name, which may differ from selector1.
Step 4: Add a DMARC Record
Start with a monitoring policy. It lets you watch before you enforce anything.
| Field | Example |
|---|---|
| Type | TXT |
| Host/Name | _dmarc |
| Value | v=DMARC1; p=none; rua=mailto:[email protected] |
| TTL | Provider default |
- Set the reporting address: Replace the example address with one configured to receive DMARC reports.
- Check the mailbox: Make sure the reporting mailbox exists and can receive the reports. A report sent to a missing mailbox helps no one.
- Understand p=none: This policy tells receivers to monitor and report, and not to block or quarantine failing mail. You see who sends mail as your domain without risking legitimate messages.
- Tighten later: Once your legitimate sending sources pass authentication and you have reviewed the reports, consider moving to p=quarantine and eventually p=reject. Each step gives receivers firmer instructions about failing mail.
Step 5: Allow DNS Changes to Propagate
DNS changes do not appear everywhere at once. Patience here prevents false alarms.
- Expect a delay: DNS updates may take time to appear across different resolvers.
- Skip fixed promises: No one can promise an exact propagation time, so ignore anyone who does.
- Understand the TTL: The TTL and your DNS provider influence how quickly changes become visible.
- Recheck first: Confirm the records show correctly before you test email authentication. Testing too early shows old results.
How to Check If SPF, DKIM and DMARC Are Working
Do not assume the records work because you saved them. Check them with these practical methods:
| Method | What to check |
|---|---|
| DNS lookup | Confirm the TXT and CNAME records are published correctly |
| Email header inspection | Check SPF, DKIM and DMARC authentication results |
| Gmail message details | Open the message’s original headers and inspect authentication results |
| DMARC reports | Identify legitimate and unauthorised sending sources |
- DNS lookup: Use a DNS lookup tool to view your published records. Compare them with what your provider supplied.
- Email header inspection: Send a test message to another mailbox and open its full headers. Look for the authentication results line.
- Gmail message details: Send a message to a Gmail address, open it and choose Show original. Gmail lists the SPF, DKIM and DMARC results at the top.
- DMARC reports: Reports show which servers send mail as your domain. You spot forgotten services and unauthorised senders.
Common authentication results
- spf=pass: The sending server is on your list.
- dkim=pass: The signature matches and the signed content is unchanged.
- dmarc=pass: Authentication aligns with the visible From domain.
DMARC can pass when either SPF or DKIM passes with the required domain alignment. Both do not have to pass for DMARC to pass.
Common SPF, DKIM and DMARC Setup Mistakes
- Publishing multiple SPF records: Merge authorised sending mechanisms into one SPF record. Receivers may fail a domain that publishes two.
- Using the wrong SPF include: Copy the exact value from your email provider. A near match authorises nothing.
- Exceeding the SPF DNS lookup limit: SPF allows 10 DNS lookups. Review nested includes and unnecessary mechanisms.
- Publishing the wrong DKIM selector: Use the selector provided by your email host. A wrong selector leaves receivers with no key to check.
- Copying an incomplete DKIM key: Ensure the full public key is published without missing characters. A cut-off key fails every signature.
- Enforcing DMARC too early: Monitor authentication results before moving to quarantine or reject. Early enforcement can block your own legitimate mail.
- Forgetting website and marketing emails: Authenticate every legitimate service that sends using your domain. Forgotten services fail checks first.
- Assuming authentication guarantees inbox placement: Reputation, message content, recipient engagement and sending practices also affect delivery.
Set Up Business Email with Truehost
Email authentication starts with the right email provider. Buying email hosting does not automatically configure every DNS record, so plan to publish your records yourself.
- Custom domains need authentication: Businesses that use a custom domain need correctly configured email authentication. Your clients then see mail that proves its origin.
- Truehost Workplace: It suits businesses that need domain-based email accounts.
- Get the records first: Obtain the correct SPF and DKIM records from your email provider before you publish DNS changes. Wrong records can break mail that works today.
- Ask for the exact values: Check the email hosting documentation or contact support for the DNS values your plan requires.
Get professional email addresses for your South African business with Truehost Workplace.
Web Hosting
Windows HostingBuilt for Windows apps and websites – stability, speed and flexibility
Reseller HostingLaunch a hosting business without technical skills or expensive infrastructure
Affiliate ProgramRefer customers and earn commissions from sales across our platform
Domain SearchFind and secure a domain name in seconds with our quick lookup tool
CO ZA Domains
All DomainsExplore domain names from over 324 TLDs globally – all in one place
Free Whois Lookup Tool South Africa
VPS
SSLs



