{"id":9330,"date":"2026-12-02T21:46:42","date_gmt":"2026-12-02T21:46:42","guid":{"rendered":"https:\/\/www.warmy.io\/blog\/?p=9330"},"modified":"2026-12-02T21:47:41","modified_gmt":"2026-12-02T21:47:41","slug":"what-is-dkim","status":"publish","type":"post","link":"https:\/\/www.warmy.io\/blog\/what-is-dkim\/","title":{"rendered":"What Is DKIM? How DomainKeys Identified Mail Works (+ Record Examples)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">DomainKeys Identified Mail (DKIM) is an email authentication method that adds a cryptographic signature to outgoing messages. Receiving servers look up the public key in DNS to verify that the signing domain takes responsibility for the message and that the signed content has not changed in transit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Understanding what DKIM does in email helps explain why Gmail, Yahoo and Outlook care about it. This guide explains the signature, DNS record, keys, and configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/12\/what-is-dkim.jpg\" alt=\"What is DKIM: a signed email verified with a public key from the DKIM record\" title=\"What is DKIM\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is DKIM?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In simple terms, DKIM is a digital signature for an email. Each message from your mail server gets digitally signed with a private key that only the signing service holds: your own mail server or your email platform. The corresponding public key is stored in your domain name servers for verification by other receiving servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM grew out of two earlier projects, Yahoo&#8217;s DomainKeys and Cisco&#8217;s Identified Internet Mail. The merged method was first published as an IETF standard in 2007, and its current version is <a title=\"RFC 6376\" href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc6376\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 6376<\/a> from 2011.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A valid signature shows that the signing domain takes responsibility for the message and that the signed content has survived transit. Changes to signed headers or the covered body can invalidate the signature, although canonicalization tolerates certain formatting changes. An optional body length limit can leave appended content unsigned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM does not encrypt the message or protect the visible From address on its own. A spammer can sign a message with their own domain while using yours in the From address. DMARC checks whether a passing DKIM or SPF result aligns with the visible From domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Does DKIM Work?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM explained in one sentence: sign on send, verify on receive. It takes four steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You create the key pair. An email platform or mail server creates a private and public key pair for you. The private key stays on the sending server; the public key goes into a DNS TXT record under a name called a selector, which lets one domain hold several keys, for example one per email platform.<\/li>\n\n\n\n<li>Your server signs the email. It selects headers such as From, Subject and Date, computes a body hash for the <code>bh=<\/code> tag, and creates the <code>DKIM-Signature<\/code> header. It signs the selected headers and the new signature header (with <code>b=<\/code> empty), then puts the resulting signature in <code>b=<\/code>.<\/li>\n\n\n\n<li>The receiver gets your public key. It extracts the <code>d=<\/code> domain and <code>s=<\/code> selector and queries DNS for <code>selector._domainkey.domain.<\/code> A missing or malformed record prevents successful verification; a temporary DNS error may produce a temporary failure.<\/li>\n\n\n\n<li>The receiver verifies the message. It calculates the body hash and compares it with <code>bh=<\/code>. It then verifies the signature in <code>b=<\/code> against the signed headers using the public key. Both checks must succeed for that DKIM signature to pass.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM pass does not guarantee inbox placement. Receivers also consider SPF, DMARC, sender reputation and content. Bulk senders must meet the authentication requirements of their mailbox providers.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/12\/how-does-dkim-work-diagram.jpg\" alt=\"How DKIM works: signing with a private key and verifying with the DKIM record public key\" title=\"How DKIM works\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What a DKIM Record Looks Like<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM record is a TXT entry in your domain&#8217;s DNS that holds the public key receivers use to check your signature. Its name follows this pattern: selector followed by <code>_domainkey<\/code> and the domain itself. Here is a DKIM record example, which uses the s1 selector (the key is shortened):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Name:   s1._domainkey.example.com\nType:   TXT\nValue:  v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt4...wIDAQAB<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The value is a short list of tags. In practice, most DKIM records contain only v, k and p.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>DKIM record Tag<\/th><th>What it means<\/th><th>Typical value<\/th><\/tr><\/thead><tbody><tr><td>v<\/td><td>Record version<\/td><td>DKIM1; if present, it must come first<\/td><\/tr><tr><td>k<\/td><td>Key type<\/td><td>rsa (default) or ed25519<\/td><\/tr><tr><td>p<\/td><td>Public key, base64 encoded<\/td><td>A long string; an empty p= means the key is revoked<\/td><\/tr><tr><td>t<\/td><td>Flags<\/td><td>y indicates testing; s requires the i= domain to match d= exactly<\/td><\/tr><tr><td>h<\/td><td>Allowed hash algorithms<\/td><td>sha256<\/td><\/tr><tr><td>s<\/td><td>Service type<\/td><td>email or * (default)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Many email platforms skip the step of pasting a key. Instead, they give you a CNAME record that points your selector to a key they host. With this delegation, the platform can rotate keys without you touching DNS again. Microsoft 365, for example, uses two CNAMEs, selector1 and selector2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each platform picks its own selector name. If you don&#8217;t know which one your domain uses, our guide to the <a title=\"DKIM selector\" href=\"https:\/\/www.warmy.io\/blog\/dkim-selectors-step-by-step-guide-on-how-to-find-dkim-selectors\/\" target=\"_blank\" rel=\"noopener noreferrer\">DKIM selector<\/a> shows how to find it. To create a record or check one that&#8217;s already published, use our <a title=\"DKIM record generator and checker\" href=\"https:\/\/www.warmy.io\/free-tools\/dkim-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">DKIM record generator and checker<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reading a DKIM Signature in Email Headers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The DKIM signature travels in the message headers. Here is a shortened illustrative example; the signature value is not functional:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed\/relaxed; d=example.com; s=s1;\nt=1762336800; h=from:to:subject:date:message-id;\nbh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=;\nb=Kx7Q2mD4vR9...nA3fLw==<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>DKIM signature tag<\/th><th>What it means<\/th><\/tr><\/thead><tbody><tr><td>v<\/td><td>Signature version, always 1<\/td><\/tr><tr><td>a<\/td><td>Signing algorithm, usually rsa-sha256 or ed25519-sha256<\/td><\/tr><tr><td>c<\/td><td>Canonicalization for headers and body: relaxed tolerates small whitespace changes, simple does not<\/td><\/tr><tr><td>d<\/td><td>Signing domain, the one DMARC compares with the From address<\/td><\/tr><tr><td>s<\/td><td>Selector used to find the public key<\/td><\/tr><tr><td>h<\/td><td>List of signed headers<\/td><\/tr><tr><td>bh<\/td><td>Hash of the message body<\/td><\/tr><tr><td>b<\/td><td>The signature itself<\/td><\/tr><tr><td>t<\/td><td>Time of signing (Unix timestamp)<\/td><\/tr><tr><td>x<\/td><td>Optional expiration time<\/td><\/tr><tr><td>l<\/td><td>Optional body length limit; risky, because content added after that length isn&#8217;t covered<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To view the header in Gmail, open the message, and select the three dots followed by &#8220;Show original.&#8221; The list will display the headers along with the summary, which includes a DKIM check. To view the header in Outlook webmail and the new Outlook client, open the email, select the three dots, then select View &gt; &#8220;View Message Details.&#8221; To view the header in classic Outlook for Windows, open the message and go to File &gt; Properties &gt; Internet Headers. Raw headers are dense, so paste them into our <a title=\"email header analyzer\" href=\"https:\/\/www.warmy.io\/free-tools\/email-header-analyzer\/\" target=\"_blank\" rel=\"noopener noreferrer\">email header analyzer<\/a> to see the signature, the result, and the <code>d=<\/code> domain at a glance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/12\/dkim-signature-email-header.jpg\" alt=\"DKIM signature in an email header with d=, s=, bh= and b= tags\" title=\"DKIM signature header\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DKIM vs SPF vs DMARC<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The three standards answer different questions, and each has a blind spot that another one covers.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>&nbsp;<\/th><th>SPF<\/th><th>DKIM<\/th><th>DMARC<\/th><\/tr><\/thead><tbody><tr><th>What it checks<\/th><td>Is the sending server allowed for this domain?<\/td><td>Was the signed content verified using the signing domain&#8217;s public key?<\/td><td>Does at least one passing SPF or DKIM result align with the visible From domain?<\/td><\/tr><tr><th>Which domain<\/th><td>Envelope sender domain (or HELO in applicable cases)<\/td><td>d= in the signature<\/td><td>The visible From domain<\/td><\/tr><tr><th>Survives forwarding<\/th><td>Usually not<\/td><td>Usually, unless the message is modified<\/td><td>Depends on SPF and DKIM<\/td><\/tr><tr><th>What it misses<\/th><td>The From address<\/td><td>The From address<\/td><td>Authenticates nothing itself; it relies on the other two<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The key link between them is alignment. Our guide to <a title=\"what is DMARC\" href=\"https:\/\/www.warmy.io\/blog\/what-is-dmarc\/\" target=\"_blank\" rel=\"noopener noreferrer\">what is DMARC<\/a> explains this in more detail. DMARC passes when at least one successful SPF or DKIM result aligns with the visible From domain. For DKIM, this means the <code>d=<\/code> domain matches the From domain exactly in strict mode, or shares its organizational domain in relaxed mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, you send a newsletter from news@example.com through a platform that signs with d=esp-mail.net. DKIM passes because the signature is valid, but DMARC fails if there is no passing, aligned SPF result. Enable custom DKIM so the platform signs with your domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once DKIM is in place, add the other two records with our <a title=\"SPF record generator\" href=\"https:\/\/www.warmy.io\/free-tools\/spf-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">SPF record generator<\/a> and <a title=\"DMARC record generator\" href=\"https:\/\/www.warmy.io\/free-tools\/dmarc-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">DMARC record generator<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/12\/dkim-spf-dmarc-comparison.jpg\" alt=\"DKIM vs SPF vs DMARC: what each email authentication method checks\" title=\"DKIM vs SPF vs DMARC\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Set Up DKIM for Your Domain<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The steps are the same everywhere; the screens are just different.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Get the key. Most email providers will create the key pair for you, and you&#8217;ll see the DNS entry that you need to set. With a self-hosted mail server, you make the key pair on your own and keep the private key on that machine.<\/li>\n\n\n\n<li>Set the entry. Put the TXT entry, or the CNAME entries provided by your platform, into the DNS at the exact entry name provided by the platform.<\/li>\n\n\n\n<li>Enable signing. Signatures usually appear after clicking &#8220;verify&#8221; or &#8220;authenticate domain&#8221;. <a title=\"DNS changes\" href=\"https:\/\/www.warmy.io\/blog\/what-is-dns-propagation-and-how-to-minimize-its-impact-on-email-deliverability\/\" target=\"_blank\" rel=\"noopener noreferrer\">DNS changes<\/a> can take a few hours to propagate.<\/li>\n\n\n\n<li>Check that it works. Send an email to an address controlled by you, and then examine the headers and find <code>dkim=pass<\/code> and your domain in <code>d=<\/code>. Do it for every service that sends emails as you.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Every service sending emails on behalf of your domain needs its own DKIM configuration, usually using a unique selector. Marketing platform, help desk, and your email service provider all use separate signatures. In our step-by-step tutorials, we describe the most popular:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a title=\"Google Workspace\" href=\"https:\/\/www.warmy.io\/blog\/step-by-step-dkim-setup-google-workspace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Workspace<\/a><\/li>\n\n\n\n<li><a title=\"SendGrid\" href=\"https:\/\/www.warmy.io\/blog\/the-benefits-of-sendgrid-spf-record-and-sendgrid-dkim-record\/\" target=\"_blank\" rel=\"noopener noreferrer\">SendGrid<\/a><\/li>\n\n\n\n<li><a title=\"Mailgun\" href=\"https:\/\/www.warmy.io\/blog\/mailgun-spf-dkim-dmarc-best-practices\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mailgun<\/a><\/li>\n\n\n\n<li><a title=\"Klaviyo\" href=\"https:\/\/www.warmy.io\/blog\/klaviyo-spf-dkim-dmarc-setup-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Klaviyo<\/a><\/li>\n\n\n\n<li><a title=\"HubSpot\" href=\"https:\/\/www.warmy.io\/blog\/how-to-set-up-spf-dkim-dmarc-hubspot\/\" target=\"_blank\" rel=\"noopener noreferrer\">HubSpot<\/a><\/li>\n\n\n\n<li><a title=\"Postmark\" href=\"https:\/\/www.warmy.io\/blog\/how-to-set-up-postmark-spf-dkim-dmarc\/\" target=\"_blank\" rel=\"noopener noreferrer\">Postmark<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">We also have guides for <a title=\"Amazon SES\" href=\"https:\/\/www.warmy.io\/blog\/mastering-spf-and-dkim-setup-for-amazon-ses-a-comprehensive-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon SES<\/a>, <a title=\"Brevo\" href=\"https:\/\/www.warmy.io\/blog\/brevo-spf-dkim-dmarc-setup-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Brevo<\/a> and <a title=\"ConvertKit\" href=\"https:\/\/www.warmy.io\/blog\/convertkit-spf-dkim-dmarc-setup-step-by-step-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">ConvertKit<\/a>. For Microsoft 365, follow <a title=\"Microsoft&#039;s DKIM setup guide\" href=\"https:\/\/learn.microsoft.com\/en-us\/defender-office-365\/email-authentication-dkim-configure\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Microsoft&#8217;s DKIM setup guide<\/a>. Microsoft 365 signs mail from the default onmicrosoft.com domain automatically, but your custom domain needs the two CNAME records and signing switched on.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/12\/dkim-record-dns-txt-example.jpg\" alt=\"DKIM record example added as a TXT record at selector._domainkey\" title=\"DKIM record example\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DKIM Key Length, Ed25519 and Key Rotation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM key length matters. <a title=\"RFC 8301\" href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc8301\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 8301<\/a> requires RSA signing keys of at least 1024 bits and recommends at least 2048 bits. <a title=\"Google Workspace\" href=\"https:\/\/support.google.com\/a\/answer\/180504\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google Workspace<\/a> also recommends 2048-bit keys when your DNS host supports them. Choose 2048-bit DKIM keys when your sending platform supports them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A 2048-bit RSA public key typically exceeds the DNS limit of 255 octets per individual TXT character-string. Many DNS providers split the value automatically. Otherwise, divide it into multiple strings within one TXT record, not multiple records. A truncated key can cause verification to fail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a title=\"RFC 8463\" href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc8463\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 8463<\/a> added Ed25519 keys, which are much shorter and fast to verify. Not every receiver supports them yet, so senders who use Ed25519 also sign with RSA and publish both keys under different selectors.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To rotate keys, publish a new public key under a new selector, switch signing to it, and retain the old record long enough for delayed messages and verification. Some platforms that use CNAME delegation handle rotation for you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">&#8220;When setting up DKIM, use a 2048-bit RSA key whenever your email provider and DNS host support it. During key rotation, publish the new public key under a different selector and keep the previous key available while earlier messages are still in transit. This helps prevent authentication failures during the transition.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/www.warmy.io\/expert-page\/\" title=\"Warmy Email Deliverability Experts\" target=\"_blank\" rel=\"noopener noreferrer\">Daniel Shnaider<\/a>, CEO &amp; Co-Founder of Warmy.io<\/strong><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why DKIM Fails and How to Fix It<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Body hash mismatch. Something has altered the message since signing: an additional footer from a security gateway, a rewritten URL due to a tracker, or an appended disclaimer from your own server. Sign as the last step before sending, or move the tool that changes the message so it runs before signing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No records at the selector. The recipient queries <code>selector._domainkey.domain<\/code> and doesn&#8217;t find any, usually because of a typo in the record name, a record published in the wrong place, or a selector that changed when you switched platforms. Double-check the <code>s=<\/code> parameter from an actual header and make sure that the record exists at this exact name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Forwarding and mailing lists. Simple forwarding retains the DKIM signature, while mailing lists may alter the header by adding a subject or footer. ARC lets the list pass on the original result to downstream receivers, which decide whether to trust it; it does not make a broken signature pass.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wrong <code>d=<\/code> domain. The signature verifies with your platform&#8217;s domain, but it does not satisfy DMARC alignment if that domain differs from yours. DMARC fails unless another passing SPF or DKIM result aligns. Enable custom DKIM in the platform.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Truncated or malformed key. The public key is partly missing or extra quotes or spaces were added when it was pasted. Compare the published key against the one you have received from your platform.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our checklist to <a title=\"fix SPF, DKIM and DMARC errors\" href=\"https:\/\/www.warmy.io\/blog\/why-do-you-need-to-configure-spf-dkim-dmarc-and-how-to-set-them\/\" target=\"_blank\" rel=\"noopener noreferrer\">fix SPF, DKIM and DMARC errors<\/a> covers each case in more detail. After any change, send a message through our <a title=\"free email deliverability test\" href=\"https:\/\/www.warmy.io\/free-tools\/email-deliverability-test\/\" target=\"_blank\" rel=\"noopener noreferrer\">free email deliverability test<\/a> to confirm the signature passes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Is DKIM Required by Gmail, Yahoo and Outlook?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For bulk senders, yes. <a title=\"Gmail&#039;s sender guidelines\" href=\"https:\/\/support.google.com\/mail\/answer\/81126\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Gmail&#8217;s sender guidelines<\/a> require SPF, DKIM and DMARC for senders reaching about 5,000 messages per day to personal Gmail accounts. The <a title=\"Yahoo Sender Hub\" href=\"https:\/\/senders.yahooinc.com\/best-practices\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Yahoo Sender Hub<\/a> requires all three for bulk senders but does not publish a fixed volume threshold. Both providers require at least SPF or DKIM for other senders. Since May 2025, <a title=\"Microsoft\" href=\"https:\/\/learn.microsoft.com\/en-us\/defender-office-365\/email-authentication-dkim-configure\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Microsoft<\/a> has required SPF, DKIM and DMARC for domains sending over 5,000 messages daily to its consumer Outlook services. Our guide to <a title=\"Gmail bulk sender requirements\" href=\"https:\/\/www.warmy.io\/blog\/email-deliverability\/gmail-bulk-sender-requirements-explained\/\" target=\"_blank\" rel=\"noopener noreferrer\">Gmail bulk sender requirements<\/a> covers the remaining rules.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Authentication is the foundation. Combine it with <a title=\"DMARC monitoring\" href=\"https:\/\/www.warmy.io\/product\/dmarc-monitoring\/\" target=\"_blank\" rel=\"noopener noreferrer\">DMARC monitoring<\/a> to identify sending sources and authentication issues, and <a title=\"automated email warm-up\" href=\"https:\/\/www.warmy.io\/product\/warm-up-email\/\" target=\"_blank\" rel=\"noopener noreferrer\">automated email warm-up<\/a> to help build sending reputation. Neither authentication nor warm-up guarantees inbox placement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Monitor DMARC and warm up your domain with Warmy.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is DKIM in simple terms?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM meaning refers to a digital signature for email. A sending service signs messages with a private key, and receiving servers use a DNS public key to verify the signature and integrity of the signed content.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What does DKIM stand for?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM stands for DomainKeys Identified Mail. It combines Yahoo&#8217;s DomainKeys and Cisco&#8217;s Identified Internet Mail. The standard is described in RFC 6376.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How does DKIM work?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The sender hashes the body and signs selected headers. The receiver retrieves the public key using the signing domain and selector, checks the body hash, and verifies the cryptographic signature.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What does a DKIM record look like?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A typical record uses the name <code>selector._domainkey.yourdomain.com<\/code> and a TXT value such as v=DKIM1; k=rsa; <code>p=<\/code> followed by the public key. Some providers supply a CNAME instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is a DKIM selector?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A selector identifies the public key used to verify a signature. It appears in the <code>s=<\/code> tag and the DNS record name, allowing one domain to use multiple keys.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need both SPF and DKIM?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bulk senders to Gmail and Yahoo need both. Smaller senders should configure both as well. DKIM often survives forwarding, while SPF may fail. Either passing, aligned result can satisfy DMARC.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can DKIM pass while DMARC fails?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. A valid signature can pass DKIM without aligning with the visible From domain. DMARC fails if neither a passing DKIM signature nor a passing SPF result aligns with From.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I use a 1024-bit or 2048-bit DKIM key?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Choose 2048-bit RSA keys when supported by your platform and DNS host. Use 1024-bit keys only if compatibility requires it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I check if DKIM is working?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Send a test email and inspect Authentication-Results for <code>dkim=pass<\/code> and the signing domain. You can also use our <a title=\"email header analyzer\" href=\"https:\/\/www.warmy.io\/free-tools\/email-header-analyzer\/\" target=\"_blank\" rel=\"noopener noreferrer\">email header analyzer<\/a> or <a title=\"free email deliverability test\" href=\"https:\/\/www.warmy.io\/free-tools\/email-deliverability-test\/\" target=\"_blank\" rel=\"noopener noreferrer\">free email deliverability test<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does DKIM fail after forwarding?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Forwarding can preserve DKIM, but changes to signed headers or the body may invalidate it. ARC can convey earlier authentication results to receivers; it does not repair a broken signature.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DomainKeys Identified Mail (DKIM) is an email authentication method that adds a cryptographic signature to outgoing messages. Receiving servers look up the public key in DNS to verify that the signing domain takes responsibility for the message and that the signed content has not changed in transit. Understanding what DKIM does in email helps explain [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9323,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[104,81],"tags":[],"class_list":["post-9330","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-deliverability","category-uncategorized"],"acf":[],"lang":"en","translations":{"en":9330},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/comments?post=9330"}],"version-history":[{"count":1,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9330\/revisions"}],"predecessor-version":[{"id":9331,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9330\/revisions\/9331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/media\/9323"}],"wp:attachment":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/media?parent=9330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/categories?post=9330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/tags?post=9330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}