A DKIM key record can carry flags: t=y marks the domain as testing DKIM, t=s requires signatures to come from the exact domain, and an empty p= means the key has been revoked — anything signed with it fails.
| Syntax | t=y | t=s | p= |
| t=y | Testing: failures should not be treated worse than unsigned mail |
| t=s | The i= domain must match d= exactly |
| p= (empty) | Key revoked |
| Defined in | RFC 6376 §3.6.1 |
What it does
With t=y, the specification says verifiers must not treat messages from a signer in testing mode differently from unsigned mail, even if the signature fails. It is meant for the first days of a new setup, and is easy to forget.
An empty p= is how a key is withdrawn: the selector still answers, but with no key, so every signature using it fails. That is the right way to retire a key that may have leaked, and the wrong state for a key a service still signs with.
Examples
v=DKIM1; t=y; k=rsa; p=MIIBIjANBgkq…
A key still in testing mode.
v=DKIM1; p=
A revoked key: signatures with this selector fail.
See what your own DKIM record says
Every term of your published record, read and explained — including this one.
Common mistakes
- t=y left on a key for years.
- Revoking the key a service is still signing with, instead of rotating to a new selector first.
What we recommend
Remove t=y once DKIM is verified; rotate by publishing a new selector, switching the service to it, then emptying the old one.
Check your DKIM keys for testing and revoked flags →
Sources
Checked on 25 September 2026 against these official sources:
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures — rfc-editor.org