showmyip.dev

Email check: SPF, DKIM and DMARC

Check a domain's email authentication records and find out what to fix so its mail isn't marked as spam or spoofed.

google.com: 0 problems, 0 to improve, 5 OK.

Mail servers (MX)

google.com
  • 10 smtp.google.com
  • 1 mail server, lowest priority number tried first.

SPF

google.com
  • v=spf1 include:_spf.google.com ~all
  • Ends with ~all (soft fail): mail from servers not listed is marked as suspicious. With a DMARC policy, that's the usual setup.
  • Needs 1 of the 10 DNS lookups allowed.

DMARC

_dmarc.google.com
  • Policy p=reject: mail that fails authentication is rejected.
  • Aggregate reports go to [email protected].

DKIM

17 common selectors
  • No DKIM key under the common selectors. Providers choose their own selector names: find yours in the DKIM-Signature header (s=…) of an email you sent, and enter it above.

MTA-STS

_mta-sts.google.com
  • v=STSv1; id=20210803T010101;
  • MTA-STS is set up: sending servers must use encrypted, verified connections to your mail servers.

TLS reporting

_smtp._tls.google.com

SPF, DKIM and DMARC

Email has no built-in way to prove who sent a message, so anyone can put your domain in the From address. Three DNS records fix that, and receiving servers like Gmail and Outlook check all of them:

  • SPF lists the servers allowed to send mail for your domain, in a TXT record starting with v=spf1.
  • DKIM signs each message; the public key to check the signature is published at selector._domainkey.example.com, where your mail provider picks the selector.
  • DMARC, at _dmarc.example.com, tells receivers what to do with mail that fails both (deliver, send to spam or reject) and where to send reports.

Since 2024, Gmail and Yahoo require SPF or DKIM from everyone who sends to them, and all three, with a DMARC policy, from bulk senders. Without them, mail is likely to land in spam.

Finding your DKIM selector

This check tries the selectors common providers use (Google Workspace, Microsoft 365, Mailchimp, SendGrid and others). If yours isn't found, open an email you sent, view its original source or headers, and look for DKIM-Signature:: the selector is the value after s=.

MTA-STS and TLS reporting

These optional records protect mail on its way to you: MTA-STS tells sending servers to deliver only over encrypted connections to your real mail servers, and TLS-RPT asks them to report when that fails.

To see all of a domain's DNS records, use the DNS lookup; to check that a new record has spread, the DNS propagation checker.