MENTECHLet’s talkالعربية
Menu

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

  1. SPF: publish one record at the domain itself, naming everyone who sends for you.
  2. DKIM: switch it on in your mail service, and in each newsletter, invoice and CRM service. Wait two days.
  3. 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.
  4. Read the reports for at least a month, and fix every real sender that fails.
  5. 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.com

The 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 ~all

Check that it worked

nslookup -type=TXT _dmarc.example.com

It 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.
Have us fix it for you
CallWhatsAppLet’s talk