Gmail may incorrectly show DKIM as failing even when it passes due to various factors. A key issue is DKIM alignment, where the DKIM signing domain doesn't perfectly match the 'From' domain, crucial for DMARC. Gmail's reporting interface can also be buggy, incorrectly indicating failures. Modifications by intermediate servers after DKIM signing can invalidate signatures. Temporary DNS issues, subdomain misconfigurations, and forwarding practices can also lead to false negatives. Even with valid DKIM, Gmail considers sender reputation, SPF configuration, and applies additional filters based on content and user feedback. In some instances, it could be a temporary Google issue.
11 marketer opinions
Gmail may show DKIM as failing even when the DKIM check itself passes due to several reasons. These include alignment issues where the DKIM signing domain doesn't match the 'From' domain, intermediate servers modifying the message after signing, temporary DNS resolution problems, incorrect subdomain configurations, and DMARC policy settings. Additionally, even with passing DKIM, Gmail might still flag the email based on sender reputation, SPF configuration, or internal Gmail checks.
Marketer view
Email marketer from AuthSMTP explains Ensure that SPF (Sender Policy Framework) is also correctly configured. Problems with SPF can sometimes lead to DKIM being scrutinized more closely by Gmail. A comprehensive authentication setup including both SPF and DKIM is crucial.
19 Jan 2025 - AuthSMTP
Marketer view
Email marketer from DigitalOcean shares that a passing DKIM is not enough. Even with valid DKIM, if the sending IP address or domain has a poor reputation, Gmail might still flag the email. Maintaining a good sender reputation is essential for deliverability.
28 Aug 2021 - DigitalOcean
6 expert opinions
Gmail sometimes incorrectly reports DKIM failures even when the DKIM signature is valid. This often stems from DKIM alignment issues, where the DKIM signing domain doesn't perfectly match the 'From' domain. Additionally, bugs in Gmail's reporting, especially in the summary table, can lead to false DKIM failure indications. Intermediate servers modifying the email content after DKIM signing can also invalidate the signature. However, during the SMTP session google may have correctly identified the mail as aligned and passing.
Expert view
Expert from Email Geeks explains that while Gmail is technically correct that it's not aligned in a strict sense, the new code appears buggy and is reporting incorrectly.
19 Oct 2024 - Email Geeks
Expert view
Expert from Spamresource.com explains that even if DKIM passes initially, some intermediate servers could be rewriting parts of the email (including headers) thus invalidating DKIM. For example, adding a disclaimer or footer after DKIM signing can invalidate the signature. They advise checking if there are any servers rewriting the email after it’s signed.
3 Jan 2024 - Spamresource.com
4 technical articles
Even when DKIM passes, meaning a legitimate sender signed the message and the signature was verified, Gmail might still show DKIM as failing due to several factors. These include DKIM alignment issues, where the signing domain doesn't match the 'From' domain, leading to DMARC failures. Additionally, alterations to the email's headers or body in transit can invalidate the DKIM signature. Some email systems like Gmail apply extra checks based on content, sender reputation, or user feedback, potentially flagging emails despite a passing DKIM.
Technical article
Documentation from Google Workspace Admin Help explains that the Authentication-Results header shows the results of SPF, DKIM, and DMARC checks. A 'pass' result for DKIM means the message was signed by a legitimate sender and the signature was verified.
1 Nov 2024 - Google Workspace Admin Help
Technical article
Documentation from dmarcian explains that DKIM alignment refers to how well the domain used to sign the email matches the domain in the 'From' address. DMARC requires either SPF or DKIM to align with the From domain for the message to pass DMARC authentication. If DKIM passes but doesn't align, DMARC might still fail.
2 Oct 2023 - dmarcian
Can DKIM be set up on a subdomain, and which domain should be used for signing?
Can email signatures, especially via Exclaimer, cause SPF or DKIM failures and impact email delivery?
How do I fix DKIM failing body hash verification?
How do I troubleshoot DMARC failures and potential DKIM replay attacks affecting email deliverability?
How to troubleshoot DKIM failures and which tools to use?
Why is DKIM failing for Hotmail but passing for Gmail and Yahoo?