Suped

Summary

Emails failing DKIM authentication at ATT.net due to an apostrophe in the 'From' header is a common challenge for email senders, particularly ESPs. This issue typically arises when mail servers, like those at ATT.net, modify the 'From' header by wrapping the display name in double quotes, which can invalidate the DKIM signature. While a strict interpretation of RFC 5322 might suggest that apostrophes in display names don't always require quotes, the practical reality of email interoperability often demands a more conservative approach. This scenario highlights the delicate balance between technical compliance and real-world email deliverability, especially when a DMARC 'reject' policy is in place, causing bounces for affected messages.

Suped DMARC monitor
Free forever, no credit card required
Get started for free
Trusted by teams securing millions of inboxes
Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo

What email marketers say

Email marketers often encounter unexpected behaviors from various mailbox providers, and header formatting is a frequent source of deliverability issues. The consensus among marketers facing this specific problem at ATT.net (and other ISPs) is that while the technical interpretation of RFCs can be nuanced, practical deliverability dictates a conservative approach. Many report that ensuring the 'From' header is explicitly quoted, especially when containing special characters or spaces, resolves DKIM and DMARC failures. The perceived inconsistency between how different providers, such as Gmail versus ATT.net, handle these headers further complicates the landscape for senders aiming for universal inbox placement.

Marketer view

Email marketer from Email Geeks observed that emails sent to ATT.net with an apostrophe in the From header cause DKIM to fail, leading to DMARC rejection for domains with a reject policy.

27 Nov 2024 - Email Geeks

Marketer view

Email marketer from Email Geeks noted that their Java Mail implementation for header formatting seems to comply with RFC5322, where apostrophes in the display name do not explicitly require double quotes, yet still encountered issues.

27 Nov 2024 - Email Geeks

What the experts say

Email experts agree that while RFCs provide the theoretical framework for email formatting, the practical reality of email deliverability often necessitates a more defensive coding approach. The fragility of DKIM signatures means that even minor, technically permissible header modifications by intermediary servers can lead to authentication failures. Experts highlight that mailbox providers vary in how strictly they interpret and enforce these standards, and how they handle 'fixing' non-compliant messages. Therefore, senders must prioritize interoperability and conservative header construction to ensure successful authentication and avoid DMARC policy enforcement issues.

Expert view

Expert from SpamResource.com highlights: The longstanding nature of email header formatting rules means many current issues are simply a rediscovery of decades-old specifications.

22 Nov 2024 - SpamResource.com

Expert view

Expert from WordtotheWise.com states: While a Java library might be technically correct according to the RFC, practical interoperability often requires a more conservative approach to header construction.

18 Nov 2024 - WordtotheWise.com

What the documentation says

Email standards, primarily defined by RFCs, aim to provide a universal framework for message format and transmission. However, the interpretation and implementation of these standards can vary among different mail transfer agents (MTAs) and mailbox providers. Specifically for the 'From' header, RFC 5322 defines what constitutes valid characters in a display name. While an apostrophe itself is an 'atext' character, the presence of spaces or other special characters typically necessitates wrapping the display name in double quotes to form a 'quoted-string'. Relying on 'obs-phrase' (obsolete syntax) can lead to unexpected rewriting by modern, stricter mail systems, which can then break cryptographic signatures like DKIM. The Authenticated Received Chain (ARC) protocol was designed to mitigate such issues by preserving authentication results across intermediary modifications, but not all receivers implement or honor it.

Technical article

Documentation from datatracker.ietf.org/doc/html/rfc5322 (RFC 5322, section 3.2.3) defines 'atext' characters for display names, including apostrophes, without explicitly requiring quoting if the display name is an 'atom' (meaning it does not contain spaces or other special characters).

20 Sep 2024 - datatracker.ietf.org/doc/html/rfc5322

Technical article

Documentation from datatracker.ietf.org/doc/html/rfc5322 (RFC 5322) specifies that a 'phrase' (display name) can be either an 'atom' or a 'quoted-string', with a quoted-string required if the phrase contains special characters like spaces.

21 Sep 2024 - datatracker.ietf.org/doc/html/rfc5322

4 resources

Start improving your email deliverability today

Get started