SPF, DKIM and DMARC are three DNS records that let a receiving mail server check that a message claiming to come from your domain really did. SPF lists the servers allowed to send your domain’s mail. DKIM adds a signature to each message that the receiver checks against a public key in your DNS. DMARC tells the receiver what to do when those checks fail and where to send reports. Google’s sender guidelines (checked 2 November 2026) require SPF or DKIM from every sender, and all three from anyone sending more than 5,000 messages a day to Gmail.

SPF

SPF is a TXT record on the domain itself. It names the servers allowed to send mail for the domain and ends with a rule for everyone else. Atwora Mail customers publish:

v=spf1 include:atwora.com -all

The include points to Atwora’s own list of sending servers, so the record keeps working if our server address changes. “-all” means mail from any other server should fail; “~all” (soft fail) is a weaker version some providers recommend while you test. A domain must have exactly one SPF record. If you also send through a billing tool or newsletter service, add its include to the same record. The SPF standard (RFC 7208) limits a record to 10 DNS lookups, so a record with many includes can break.

DKIM

With DKIM, your mail server signs each outgoing message with a private key, and publishes the matching public key in DNS under a “selector” name. Atwora uses the selector “mail”, so the record is at mail._domainkey.yourcompany.in and looks like:

v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqh...

Your email host creates the key pair and shows you the public part; Atwora makes a separate key for each customer domain. DKIM survives forwarding better than SPF, because the signature travels with the message. The standard is RFC 6376.

DMARC

DMARC is a TXT record at _dmarc.yourcompany.in. It passes when SPF or DKIM passes for the same domain that appears in the From address, and it sets a policy for messages that fail:

  • p=none: deliver as usual and send reports. Start here.
  • p=quarantine: put failing mail in spam.
  • p=reject: refuse failing mail.
v=DMARC1; p=none; rua=mailto:[email protected]

The rua address receives daily reports from large receivers such as Google, listing which servers sent mail as your domain and whether it passed. Once the reports show that all your real mail passes, move to p=quarantine. If you jump straight to quarantine or reject, mail from a tool you forgot about (an invoicing system, a website contact form) goes to spam. The standard is RFC 7489.

How to check your records

dig TXT yourcompany.in +short
dig TXT mail._domainkey.yourcompany.in +short
dig TXT _dmarc.yourcompany.in +short

On Windows, use nslookup -type=TXT with the same names. The simplest end-to-end test is to send a message to a Gmail address, open it, and choose Show original: Gmail lists SPF, DKIM and DMARC as PASS or FAIL. Atwora customers can also open DNS Check in the dashboard, which compares each record with the value it expects.

Common mistakes

  • Two SPF records on one domain. Receivers then treat SPF as an error; merge them into one.
  • The old provider’s include left in SPF, or its MX records left in place after a move.
  • The DKIM key pasted with line breaks or extra quotes, which some DNS editors add. Paste it as one line.
  • The DMARC record created at the domain itself instead of at _dmarc.
  • A rua address for a mailbox that does not exist, so nobody sees the reports.

The deliverability checklist covers the other reasons mail lands in spam, and the setup guide lists every record Atwora Mail needs.

Frequently asked questions

Do I need SPF, DKIM and DMARC?

Gmail requires SPF or DKIM from every sender, and SPF, DKIM and DMARC from senders of more than 5,000 messages a day to Gmail. Setting up all three is the safest choice for any business domain.

Which DMARC policy should I start with?

p=none. It changes nothing about delivery and sends you reports. Move to p=quarantine once the reports show your real mail passes.

Can I have two SPF records?

No. A domain must have one SPF record. Add every sending service’s include to that single record.

First published on the MailFlow website (Atwora Mail’s earlier name) on 20 May 2026. Rewritten on 2 November 2026 for Atwora Mail’s hosted service; prices and provider details were checked that day. Prices change, so open each provider’s page before you decide.

Get professional email for your business

Business email on your own domain, hosted in India, from ₹29 per user per month. 30-day free trial, no card needed.

See pricing and start free