Share the details
Websites and agentsBrand and web

Email authentication Tanzania: SPF, DKIM and DMARC for the company domain, so invoices, bank files and tender replies arrive

Three DNS records decide whether your quotations reach the inbox and whether a fraudster can invoice in your name. The standards, the Google and Microsoft rules, a ten-minute check, a staged rollout and a worked example.

CFE Joseph Magweiga MarwaFounder & Chief Executive Officer, Zatra Consultants Limited
14 November 2026Published
21 November 2026Updated
17 min3,726 words
On this page
  1. What the standards say
  2. Who should read this
  3. What do Google and Microsoft require from a sender?
  4. What does each record look like?
  5. How do I check my domain in ten minutes?
  6. How do I roll out DMARC without losing mail?
  7. Why does this matter for invoices, banks and tenders in Tanzania?
  8. Which sending systems must be in the records?
  9. Worked example: a supplier whose invoices went to spam
  10. Mainland and Zanzibar
  11. What to do now
  12. Key dates
  13. What the NEMBO desk prepares
  14. How Zatra helps
  15. Sources and status
  16. Frequently asked questions
Quick answer

What email authentication does a Tanzanian company need on its domain?

Three DNS records: SPF listing the servers allowed to send as the domain, DKIM so each message carries a verifiable signature, and DMARC telling receivers what to do when neither aligns with the From address. Google has required SPF or DKIM from every sender since 1 February 2024 and Outlook rejects unauthenticated bulk mail since 5 May 2025. Start DMARC at p=none, read the reports, then move to reject.

Cover: Email authentication Tanzania, SPF, DKIM and DMARC for the company domain

Email authentication Tanzania companies set up once, in three DNS records, decides three things. Whether a quotation reaches a buyer's inbox. Whether a bank's compliance officer trusts a scanned board resolution. Whether a fraudster can send an invoice in the company's name with a changed account number. SPF, DKIM and DMARC are the three records. Google has required them of senders since 1 February 2024 and Microsoft has rejected unauthenticated bulk mail to Outlook.com since 5 May 2025. Most Tanzanian companies that bought a .co.tz domain and a mailbox never published them. This note explains what each record does, what the standards and the two largest mailbox providers require, how to check a domain in ten minutes, and how to roll DMARC out without losing a week of mail. It builds on the notes on the email signature standard and what an investor checks on a company website.

What the standards say

Three documents from the RFC Editor define the records. RFC 7208 (April 2014, standards track) defines the Sender Policy Framework: a TXT record at the domain that lists the servers allowed to send mail for it, with a limit of ten DNS lookups per evaluation in section 4.6.4. A record that needs more lookups returns a permanent error and is treated as if it failed. RFC 6376 (September 2011, Internet Standard 76) defines DomainKeys Identified Mail: the sending system signs each message with a private key, and the public key is published at selector._domainkey.domain. Signers must implement rsa-sha256 and long-lived keys must be at least 1,024 bits. RFC 7489 (March 2015, informational) defines Domain-based Message Authentication, Reporting and Conformance: a TXT record at _dmarc.domain that tells receivers what to do when neither SPF nor DKIM passes in alignment with the From address, using p=none, p=quarantine or p=reject, and where to send aggregate reports through the rua tag. The RFC Editor page marks RFC 7489 as obsoleted by newer DMARC documents, which the desk did not read. The record format described here is what providers publish today, and the desk marks the new documents verify.

Alignment is the idea that ties the three together. SPF authenticates the envelope sender and DKIM authenticates a signing domain. DMARC passes only when one of them passes and the authenticated domain matches the domain in the From header the reader sees. Relaxed alignment accepts a subdomain; strict alignment needs an exact match. A message sent by a bulk tool from the tool's own domain, with the company's name in the From line, fails alignment even if the tool's SPF and DKIM pass.

Who should read this

Managing directors who sign tenders, loan files and invoices by email. Finance managers who send quotations, pro-forma invoices and statements to buyers on Gmail and Outlook. Company secretaries who correspond with BRELA, TRA and banks from the company domain. IT officers and the freelancer who manages the Google Workspace or Microsoft 365 account. Bid managers whose NeST notifications and clarification emails must arrive. Anyone who has received a client's call asking why an invoice arrived from a lookalike address. The Zanzibar section is short, because DNS does not know the Union, but data duties do.

What do Google and Microsoft require from a sender?

Google's email sender guidelines apply to mail sent to personal Gmail accounts and took effect on 1 February 2024. All senders must publish SPF or DKIM, have valid forward and reverse DNS for their sending addresses, use TLS, keep the spam rate reported in Postmaster Tools below 0.3 percent, format messages to RFC 5322 and not impersonate Gmail From headers. Senders of more than 5,000 messages a day must do more: SPF and DKIM both, a DMARC record with at least p=none, a From domain aligned with SPF or DKIM, and one-click unsubscribe for marketing mail. DKIM keys must be 1,024 bits or longer and 2,048 is recommended. Microsoft's Outlook requirements for high-volume senders (published 2 April 2025, updated 30 April 2025) apply to domains sending more than 5,000 messages a day to Outlook.com, Hotmail and Live addresses: SPF must pass, DKIM must pass, and DMARC must be at least p=none and align with SPF or DKIM. From 5 May 2025 non-compliant messages are rejected with the code 550 5.7.515.

What do Google and Microsoft require from a sender?
RequirementGoogle, all sendersGoogle, over 5,000 a dayOutlook.com, over 5,000 a day
SPFSPF or DKIMRequiredRequired, must pass
DKIMSPF or DKIMRequired, key 1,024 bits or moreRequired, must pass
DMARCNot requiredAt least p=none, aligned FromAt least p=none, aligned
Reverse DNS (PTR)RequiredRequiredRecommended
TLS in transitRequiredRequiredRecommended
Spam rateBelow 0.3 percentBelow 0.3 percent, aim below 0.1No figure stated
One-click unsubscribeNot requiredRequired for marketing mailFunctional unsubscribe recommended
ConsequenceRejection or spam placementRejection codes 5.7.26 and 4.7.28Rejection 550 5.7.515 from 5 May 2025

A Tanzanian SME rarely sends 5,000 messages a day. The all-senders rules still apply to every invoice, and a company whose payroll, statements and newsletters go out from one domain can cross the bulk threshold on the day the month-end statements run. Publish all three records in any case; the cost is an hour of DNS work.

What does each record look like?

The table shows the shape of each record for a company that sends through Google Workspace and a transactional tool. Replace the hosts with the ones your providers publish. Do not copy a record from another company; an include for a provider you do not use is a hole, not a safeguard.

What does each record look like?
RecordDNS nameTypeShapeTrap
SPFcompany.co.tzTXTv=spf1 include:_spf.google.com include:provider.example -allTwo SPF records, or more than ten lookups, both void the policy
DKIMgoogle._domainkey.company.co.tzTXT or CNAMEv=DKIM1; k=rsa; p=public keyKey generated but signing never switched on in the admin console
DMARC_dmarc.company.co.tzTXTv=DMARC1; p=none; rua=mailto:[email protected]; adkim=r; aspf=rJumping to p=reject before the reports show every legitimate sender
Reverse DNSSending IPPTRSet by the mail providerSelf-hosted servers on a residential or shared IP

How do I check my domain in ten minutes?

Three lookups answer most questions. A dig or nslookup for TXT at the domain shows whether an SPF record exists and whether there is more than one. A TXT lookup at _dmarc.domain shows the DMARC policy. A TXT lookup at the selector your provider names under _domainkey shows the DKIM key; Google uses the selector google by default and Microsoft 365 uses selector1 and selector2. Then send a message to a Gmail address you control and open Show original: the headers report SPF, DKIM and DMARC as pass or fail and name the domains checked. If SPF passes but DMARC fails, alignment is the problem. If DKIM shows no signature, signing is not switched on. Register the domain in Google Postmaster Tools to read the spam rate Google measures.

How do I roll out DMARC without losing mail?

DMARC is rolled out in three stages, and the reports decide when to move. Stage one publishes p=none with a rua address, which changes nothing for receivers but starts the aggregate reports. Over two to four weeks the reports name every system sending as the domain: the mailbox provider, the accounting system that emails invoices, the website contact form, the HR tool, the branch in Mwanza that still uses an old relay. Each is either added to SPF and given a DKIM key, or stopped. Stage two moves to p=quarantine, optionally with pct=25 first, so unauthenticated mail goes to spam rather than being rejected. Stage three sets p=reject once the reports show only authenticated sources for a full billing cycle. The DMARC.org overview describes the same sequence. The common failure is a finance system that sends invoices through a third-party relay nobody remembered, which is why stage one must run through at least one month end.

Why does this matter for invoices, banks and tenders in Tanzania?

Three Tanzanian workflows depend on the company domain being trusted. First, invoices and statements. A quotation or pro-forma invoice that lands in a buyer's spam folder is paid late or not at all, and the note on invoice terms and days sales outstanding shows what each week of delay costs. Second, invoice redirection fraud. A fraudster who can send as the company, or as a lookalike domain, sends a buyer a message changing the bank account on an open invoice. DMARC at p=reject stops the first; nothing in DNS stops the second, so the house rule from the delegation of authority matrix applies: any change of bank details is confirmed by a call-back on a known number, never by reply. Third, official correspondence. Notifications from NeST, the TRA Taxpayer Portal and banks arrive at the registered address, and replies, clarifications and scanned resolutions leave from it. A compliance officer who sees the company's own domain failing authentication reads the file with more suspicion.

The Personal Data Protection Act, Cap. 44, adds a duty. Controllers must put technical and organisational safeguards around personal data, and a mailbox that can be spoofed is a weak safeguard for client data and payroll data. The Personal Data Protection Commission announced mandatory compliance inspections from 28 August 2026, as reported in the press. The note on PDPC registration covers the registration question; the desk did not read the Act's security provision and routes its section number to an advocate.

Which sending systems must be in the records?

List every system that sends mail as the domain before touching SPF. The usual set for a Tanzanian SME starts with the mailbox provider and the accounting or invoicing system. Add the website's contact and order forms, the newsletter tool, the HR or payroll system and the ticketing or CRM tool. Then the WhatsApp Business or chatbot platform that sends email receipts, the printers and scanners that email PDFs, and any branch relay. Each needs either an SPF include and a DKIM key from the provider, or a dedicated subdomain such as invoices.company.co.tz with its own records, which keeps a provider's reputation problem away from the main domain. The ten-lookup limit in RFC 7208 is the reason to use subdomains rather than piling includes into one record.

Worked example: a supplier whose invoices went to spam

Worked example, illustrative figures. Kilimani Supplies Limited invoices TZS 180,000,000 a month to twelve corporate buyers, most of them on Google Workspace. Its domain has an SPF record with eleven lookups, no DKIM signing and no DMARC record. From early 2024 its statements reach spam at four buyers, and days sales outstanding drift from 38 to 61 days. At TZS 180,000,000 a month, the extra 23 days hold about TZS 138,000,000 of cash outside the business, which on an overdraft at an illustrative 15.5 percent a year costs roughly TZS 1,780,000 a month in interest. In the same period a buyer receives a message from kilimani-supplies.co.tz, a lookalike registered that week, with new bank details for a TZS 48,000,000 invoice; the buyer's accountant calls the number on the original invoice and the fraud fails.

The repair takes one working day of a technician's time and no government fee. SPF is rebuilt with four includes and a subdomain for the invoicing system. DKIM is switched on in the admin console with a 2,048-bit key. DMARC is published at p=none with reports to a monitored mailbox, moved to p=quarantine after five weeks and to p=reject after the second month end. Postmaster Tools shows the spam rate at 0.05 percent. The lookalike domain cannot be stopped by DNS; the company writes to its buyers with the call-back rule and registers the obvious lookalikes it can. NEMBO's fee for the setup and the client letter, and Zatra's fee for the control note, are quoted separately on the pricing page. Interest and timing figures are illustrative.

Mainland and Zanzibar

DNS records and mailbox provider rules apply the same way in Dar es Salaam and in Zanzibar; nothing in SPF, DKIM or DMARC changes across the Union. The .tz registry serves both. The legal overlay differs. The Personal Data Protection Act's application to Zanzibar entities and Zanzibar's own electronic transactions and cybercrime rules are questions for an advocate. A Zanzibar company dealing with ZRA, BPRA and ZIPA by email has the same interest in a trusted domain as a Mainland company dealing with TRA and BRELA.

What to do now

  1. Inventory every sender: mailbox provider, invoicing system, website forms, newsletter, HR, CRM, chatbot, printers, branch relays.
  2. Look up the three records for the domain and send a test to a Gmail address to read the authentication results in the headers.
  3. Rebuild SPF with only the providers you use, under ten lookups, ending in -all, and move high-volume systems to subdomains.
  4. Switch on DKIM at each provider with a 2,048-bit key and confirm the signature appears in test headers.
  5. Publish DMARC at p=none with a rua address someone reads, and keep it there through at least one month end.
  6. Move to p=quarantine, then p=reject once the reports show only authenticated sources.
  7. Register in Postmaster Tools and watch the spam rate against the 0.3 percent line.
  8. Write the call-back rule into the finance SOP and tell buyers in writing that bank details never change by email.
  9. Record the setup in the controlled documents register with the selector names, key dates and the owner who reviews it each year.

Key dates

Key dates
DateEventSource
September 2011RFC 6376, DKIM, published as Internet Standard 76RFC Editor
April 2014RFC 7208, SPF version 1, publishedRFC Editor
March 2015RFC 7489, DMARC, publishedRFC Editor
1 February 2024Google sender guidelines take effect for all senders and bulk sendersGoogle Workspace Admin Help
5 May 2025Outlook.com rejects non-compliant mail from senders over 5,000 a day with 550 5.7.515Microsoft Tech Community, 2 April 2025, updated 30 April 2025
28 August 2026PDPC mandatory compliance inspections announced to startThe Respondent, 3 November 2026

What the NEMBO desk prepares

NEMBO designs and delivers the domain and email standard. That means the three DNS records written for the company's actual providers, the subdomain plan for invoicing and marketing mail, and the DMARC rollout calendar. It also means the matching signature standard, the client letter on the call-back rule, and the controlled document that records selectors, owners and review dates. Zatra Consultants prepares and checks the content: the sender inventory against the finance and HR systems, the SOP wording, and the data protection positions, with an advocate for the PDPA section numbers and any fraud report. There is no government fee for DNS records; domain renewal is paid to the registrar at its published rate and shown separately from NEMBO's and Zatra's fees, which are quoted in writing from the packages and pricing pages. NEMBO does not decide or guarantee any authority's outcome, and no mailbox provider's filtering decision either. See the websites desk, the systems desk, the signature desk and the process page, or share the domain name.

How Zatra helps

Zatra's note on the .tz domain, professional email and digital stamp sets the sequence: finish the company facts, apply for the domain, set up DNS and mailboxes after delegation, issue the stamp file, and keep the credentials with the company. Its internal controls and risk advisory desk writes the payment control that catches invoice redirection, and its digital transformation desk maps the systems that send mail. Zatra prepares, structures and coordinates; it does not practise law.

Next step

Websites, domains and company email

Zatra Consultants prepares and checks the content on the details the Client shares. NEMBO designs and delivers it. Fees are published on the packages page and quoted in writing.

Open the desk page

Sources and status

Accurate as at 14 November 2026. The RFC Editor marks RFC 7489 as obsoleted by newer DMARC documents that the desk did not read. The tzNIC registry site refused automated reading, so no registry rule is stated. The Personal Data Protection Act's security provision was not read and no section number is cited. Interest and timing figures in the worked example are illustrative.

Figures to confirm before you act

  • The current DMARC specification documents that replace RFC 7489, from the RFC Editor, before citing a section number.
  • Your providers' exact SPF include hosts and DKIM selectors, from each provider's own setup page, not from this note.
  • Whether your domain crosses the 5,000 messages a day threshold on statement or payroll days, from your sending logs.
  • The Personal Data Protection Act section on security safeguards and its application in Zanzibar, with an advocate.
  • The .tz registry's rules for .co.tz registrations and DNSSEC, from tzNIC or your accredited registrar.
  • Every figure in the worked example, which is illustrative.

This article is general information based on official sources available at the date of publication. It is not legal, tax or financial advice. Laws and notices change. Verify with the issuing authority or consult Zatra before acting.

Frequently asked questions

Do I need DMARC if I send fewer than 5,000 emails a day?

Google requires DMARC only from bulk senders, but it requires SPF or DKIM from everyone and judges spam rates for everyone. DMARC at p=none costs nothing and gives you the reports that show who is sending as your domain. A company that never sees those reports finds out about a spoofed invoice from a buyer.

Why do my emails pass SPF but still land in spam?

Passing SPF on the envelope does not mean the From domain is aligned, and spam placement also depends on reputation, content and the spam rate Google measures. Check the DKIM signature, the DMARC alignment result in the message headers and the Postmaster Tools spam rate against the 0.3 percent line before changing anything else.

Can DMARC stop lookalike domains?

No. DMARC protects your own domain from being used by others. A fraudster who registers a similar domain is sending from their own domain, which DMARC cannot touch. Register the obvious lookalikes you can, tell buyers in writing that bank details never change by email, and apply the call-back rule to every change request.

Who should set this up, the web designer or the accountant?

The person who controls the DNS zone publishes the records, usually the IT officer or the web provider. The sender inventory needs the finance and HR managers, because their systems send invoices and payslips. Give one named owner the review, record the selectors and dates in the controlled documents register, and keep the registrar login with the company.

How long does the DMARC rollout take?

Plan for six to ten weeks. Two to four weeks at p=none to collect reports across a month end, a few days to fix each sender, a short period at p=quarantine, then p=reject. Moving faster risks rejecting your own invoicing system's mail, which is the commonest self-inflicted outage.

Does this apply to Zanzibar companies?

Yes. DNS records and the Google and Microsoft rules apply wherever the domain is used, and the .tz registry serves the whole Union. The legal overlay differs: confirm the Personal Data Protection Act's application and Zanzibar's own electronic transactions rules with an advocate before writing the data protection section of the SOP.

Is there a government fee for any of this?

No. SPF, DKIM and DMARC are DNS records published with your registrar or DNS host at no government charge. Domain renewal is paid to the registrar at its published price. NEMBO's setup fee and Zatra's control note are quoted separately and in writing from the pricing page, never bundled with a third-party charge.

What does a receiving bank or tender panel see?

A compliance officer who opens the message headers sees the SPF, DKIM and DMARC results and the domains checked. A pass on all three, aligned with the From address, matches the letterhead and signature standard and removes one reason to query the file. A fail invites a phone call to verify, and delay.

CFE Joseph Magweiga Marwa

Founder & Chief Executive Officer, Zatra Consultants Limited. Written and checked by CFE Joseph Magweiga Marwa, who reviews the sources, the figures and the legal positions before a note is published. NEMBO designs and publishes it.

Related reading

Notes from the studio, with the working shown.

One email signature standard for a whole company in Tanzania: cover
Letters and signatures6 min read

One email signature standard for a whole company in Tanzania

Ten staff, ten signatures, 61 of 90 fields present. Why one standard protects trust, English and Kiswahili clarity and delivery, and what it includes.

By NEMBO Studio and Zatra Consultants · 17 October 2026
What an investor checks on a company website in two minutes: cover
Websites and agents6 min read

What an investor checks on a company website in two minutes

A lender checks a company website against registry records before the file is opened. Ten checks decide what the page proves, and five of eight lost points are text edits.

By NEMBO Studio and Zatra Consultants · 17 October 2026
PDPC Registration Tanzania: Website Privacy Guide: cover
Websites and agents19 min read

PDPC Registration Tanzania: Website Privacy Guide

A Tanzanian business site with a contact form, WhatsApp button and analytics must register with the PDPC, from TZS 100,000 for a small firm, and publish a privacy notice.

By NEMBO Studio and Zatra Consultants · 6 November 2026
Domain Ownership Tanzania: The .co.tz Registrant Record: cover
Websites and agents20 min read

Domain Ownership Tanzania: The .co.tz Registrant Record

A Tanzanian company's .co.tz name belongs to whoever is recorded as holder in the .tz Central Registry, not to whoever paid for it. This guide reads the Electronic and Postal Communications (Domain Names Management) Regulations, 2020, TCRA's own FAQ and the IANA delegation record. It sets out who the registrant must be, how the registry and its accredited registrars work, and what happens at renewal and expiry. It shows how a share buyer, a bank, Google and an investor test the record. It walks through recovering a name a freelancer registered in 2022 for an illustrative Dar es Salaam consultancy, with the fee arithmetic, and ends with the records to keep.

By NEMBO Studio and Zatra Consultants · 21 November 2026