The 'Alignment' line in Gmail's 'Show Original' view is a critical indicator of DMARC compliance and email legitimacy. It verifies that the domain displayed in the email's 'From' header (the sender seen by the recipient) precisely matches, or is a subdomain of, the domain used for either SPF or DKIM authentication. This check is central to preventing email spoofing and ensuring that the sender's visible identity is consistent with their authenticated identity. If this alignment fails, even if SPF or DKIM individually pass, DMARC will fail, potentially leading to a warning for the recipient or the application of the sender's DMARC policy. Google has actively worked on refining this display, including addressing issues related to double DKIM signing by Email Service Providers (ESPs), to ensure accurate reporting of sender authenticity.
12 marketer opinions
Gmail's 'Alignment' line, visible in the 'Show Original' view, is a direct reflection of a crucial DMARC check that validates sender identity. It confirms whether the domain displayed in the 'From' header, which recipients see, properly matches the domain authenticated by either SPF (the Return-Path domain) or DKIM (the 'd=' tag within the signature). This verification is paramount for preventing email spoofing and ensuring that the sender's visible brand identity is genuinely linked to their authenticated email infrastructure. A successful alignment leads to a DMARC 'PASS' status, while a mismatch can trigger explicit warnings to the recipient and activate DMARC policies, influencing email deliverability. Google has shown active development in ensuring the accuracy of this alignment display, even for complex setups like double DKIM signing.
Marketer view
Email marketer from Email Geeks explains that Gmail's "Alignment" line specifically refers to the alignment between the domain in your "From" header (what the user sees) and the DKIM domain used to sign the email. He clarifies that IP addresses play no role in this alignment and emphasizes the encouragement of aligned DKIM over SPF.
15 Aug 2023 - Email Geeks
Marketer view
Email marketer from Email Geeks explains that from her observations, if an email fails to meet alignment rules, Gmail now displays a warning message like: "_The 'From' header sender xxx does not match the DKIM domain xxx. Exercise caution with this message, as the sender may be attempting to spoof the 'From' header identity_". Conversely, successful alignment shows a 'DMARC: PASS' confirmation.
4 May 2022 - Email Geeks
3 expert opinions
The 'Alignment' line in Gmail's 'Show Original' is a key component of DMARC authentication, designed to verify the legitimacy of the sender. It specifically checks that the domain visible in the 'From:' header aligns with the domain used for either SPF (via the Return-Path) or DKIM (via the 'd=' tag). This alignment can be strict or relaxed. A successful alignment leads to a DMARC 'PASS' status in Gmail, while a failure triggers a warning, even if SPF or DKIM individually pass. This mechanism is crucial for preventing domain spoofing and ensuring brand authenticity. Google has also made efforts to refine the display of these warnings, particularly concerning scenarios like double DKIM signing, which should ideally not impact DMARC alignment.
Expert view
Expert from Email Geeks explains that MXtoolbox recommendations should not be trusted due to their scare tactics. She clarifies that a message passes DMARC if SPF is aligned and that there is no DMARC line visible in the Gmail headers. She further explains that if a DMARC record exists AND DMARC passes, Gmail displays "DMARC pass," even if it's based solely on SPF alignment. Conversely, if there is no DMARC record and DKIM doesn't align, a warning is displayed. She concludes that Google has likely fixed the display of this warning. She also shares insights on double DKIM signing, suggesting ESPs should sign with their key first, then the customer's, but notes signing and display order may be unconnected and advises against changes unless there's a clear delivery impact.
29 Oct 2024 - Email Geeks
Expert view
Expert from Word to the Wise explains that the 'Alignment' line in Gmail's 'Show Original' refers to DMARC alignment. This means the domain in the visible 'From:' header must match the domain that passed either SPF (via the Return-Path) or DKIM (via the 'd=' tag in the signature). If this alignment fails, DMARC will fail, even if SPF or DKIM individually passed, indicating a potential spoofing attempt or configuration error.
12 Jan 2024 - Word to the Wise
4 technical articles
The 'Alignment' line in Gmail's 'Show Original' view is a critical indicator that reflects a core principle of DMARC-based email authentication. It verifies that the domain presented in the visible 'From' header of an email precisely matches, or is a subdomain of, the domain used for either SPF or DKIM authentication. This crucial check ensures that the sender's identity seen by recipients is genuinely linked to their authenticated email infrastructure, serving as a powerful safeguard against spoofing and impersonation. For DMARC to successfully pass, this alignment must be achieved, meaning that simply passing SPF or DKIM individually is not enough; their authenticated domains must correspond with the sender's visible domain.
Technical article
Documentation from Google Workspace Admin Help explains that the 'Alignment' line in Gmail's 'Show Original' view indicates whether the domain in the 'From' header (the visible sender) aligns with the domain authenticated by SPF or DKIM. For DMARC to pass, either the SPF-authenticated domain or the DKIM-authenticated domain must exactly match the 'From' domain (strict alignment) or be a subdomain of it (relaxed alignment).
6 Jan 2022 - Google Workspace Admin Help
Technical article
Documentation from dmarc.io shares that the 'Alignment' principle, visible in Gmail's 'Show Original', is central to DMARC. It requires that the domain used in either SPF or DKIM authentication must match the organizational domain found in the email's 'From:' header. This ensures that the sender's identity, as seen by the recipient, is consistent with the identity verified by the authentication protocols, preventing spoofing.
18 Mar 2024 - dmarc.io
How do the new Gmail/Yahoo changes affect sending from a branded domain with DMARC alignment?
Is DKIM domain alignment required for Google and Yahoo's new email sending requirements?
What is the difference between DKIM alignment and DKIM authentication and how do they relate to email bouncebacks and Hotmail blocks when using SFMC shared IPs?
Why does Aboutmy.email show no DKIM signature but other tools validate DKIM? How do SPF alignment and DMARC work?
Why does Gmail show 'via' even when DMARC passes?
Why is DKIM alignment with the 5322.from domain important for email authentication?