Stop others sending email as you
Stop email in your name.
Anyone can write your address in an email's sender line. Three records in your domain's DNS let mail services recognise the fakes and stop them.
Before you start
- Whoever runs your server or hosting can do this. Send them this page.
- List everything that sends email as you: staff mail, newsletters, invoices, website forms, the CRM. A forgotten one is the usual reason for lost email.
- You need access to the domain's DNS settings, usually at the company where you bought the domain.
The order
- SPF: publish one record at the domain itself, naming everyone who sends for you.
- DKIM: switch it on in your mail service, and in each newsletter, invoice and CRM service. Wait two days.
- DMARC: publish the first line below as a TXT record named _dmarc. It only asks for reports, so no email is stopped yet. Create the mailbox in it first.
- Read the reports for at least a month, and fix every real sender that fails.
- Replace it with the second line: fakes go to spam. If your staff write to mailing lists, stop here. Otherwise wait another month, then use the third: it asks mail services to refuse fakes.
v=DMARC1; p=none; rua=mailto:dmarc@example.com
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
v=DMARC1; p=reject; rua=mailto:dmarc@example.comThe steps
The SPF record is below. For DKIM, open the Admin console, Apps, Google Workspace, Gmail, Authenticate email. Generate a 2048-bit key, add its record to DNS, then choose Start authentication.
v=spf1 include:_spf.google.com ~allThe SPF record is below. For DKIM, open security.microsoft.com/authentication, choose your domain under DKIM, and copy the two records it shows into DNS. Never copy them from an article. Then switch signing on.
v=spf1 include:spf.protection.outlook.com ~allIf the domain never sends email, publish the first line at the domain itself and the second at _dmarc. Mail services that check can then refuse anything sent in its name.
v=spf1 -all
v=DMARC1; p=rejectCheck that it worked
nslookup -type=TXT _dmarc.example.comIt should show exactly one record, starting with v=DMARC1.
To undo it
Change the DMARC record back to p=none. Mail services notice within hours.
Common mistakes
- Naming too many services in SPF. Above 10 lookups, counting the ones inside each include, the whole record fails.
- Publishing a second SPF record. Two records cancel each other: add the new sender to the existing one.
- Jumping straight to p=reject, and losing your own invoices.
- Relying on pct= to go gradually. It was removed from the standard in 2026, so some services ignore it.
- Stopping at p=none. It satisfies the big mail services, but stops no fakes.