Suped

Summary

Understanding common but unusual SPF (Sender Policy Framework) and MX (Mail Exchange) records is crucial for maintaining optimal email deliverability. While some configurations might appear strange, they often stem from misconceptions, legacy setups, or specific functional requirements, such as a domain not intending to send or receive email. Incorrect or overly permissive SPF records, like those including private IP ranges or an excessive number of lookups, can significantly undermine email authentication and lead to delivery issues. Similarly, misconfigured MX records can prevent email from reaching its intended destination, highlighting the importance of precise DNS management. Proper configuration ensures that legitimate emails are authenticated, reducing the risk of being flagged as spam or blocked by receiving mail servers.

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 SPF and MX records that defy common sense, leading to significant deliverability challenges. These unusual configurations typically arise from attempts to cover all possible sending scenarios or a misunderstanding of how email authentication protocols function. The frustration is palpable when valid emails are rejected due to improperly configured DNS records, highlighting a gap in technical understanding among some implementers. Marketers emphasize the real-world impact of these errors, from emails landing in spam folders to complete delivery failures, which directly affect campaign performance and sender reputation.

Marketer view

An email marketer from Email Geeks questions the inclusion of private IP ranges and localhost in SPF records, expressing extreme confusion over how such configurations could ever be functional or intended.

03 Feb 2023 - Email Geeks

Marketer view

A marketer from Email Geeks jokes about the concept of receiving MTAs attempting to determine if they are localhost or the sending server, highlighting the absurd implications of including localhost in SPF.

03 Feb 2023 - Email Geeks

What the experts say

Experts in email deliverability and DNS management consistently point out that unusual SPF and MX records often reflect fundamental misunderstandings of email infrastructure and security protocols. While some configurations like null MX records have legitimate uses (e.g., for domains that do not send or receive email), others, such as including private IP ranges in SPF, are clearly erroneous. The core challenge lies in educating those responsible for DNS configuration to prevent practices that undermine email authentication. Experts stress that strict adherence to RFCs and careful consideration of each mechanism's purpose are paramount to avoiding deliverability black holes and maintaining a strong sender reputation.

Expert view

An expert from Email Geeks confirms that the SPF specification explicitly states that private IP ranges (like RFC 1918 addresses) and multicast ranges should be ignored during SPF evaluation, making their inclusion in records pointless.

03 Feb 2023 - Email Geeks

Expert view

An expert from Word to the Wise explains that the use of MX localhost is a valid and common configuration for domains that are not intended to receive email, effectively signaling that no mail should be delivered to them.

20 Jun 2024 - Word to the Wise

What the documentation says

Official documentation and RFCs provide definitive guidelines for constructing SPF and MX records, aiming for clarity, security, and interoperability. While they address common use cases, they also implicitly cover what constitutes an 'unusual' or erroneous configuration by outlining proper syntax and behavior. The documentation emphasizes the importance of carefully defining authorized senders and ensuring that MX records accurately reflect mail handling intentions. Deviations from these standards often result in validation failures, diminished deliverability, and increased vulnerability to spoofing. Understanding the technical specifications is foundational to preventing and resolving issues with email authentication.

Technical article

The official SPF specification (RFC 7208) clarifies that private IP addresses, such as those within the 10.0.0.0/8 range, must not be used as values for the 'ip4' mechanism, as they are explicitly reserved for internal networks and hold no relevance for external email validation.

22 May 2005 - RFC 7208 (SPF)

Technical article

RFC 7208 (SPF) explicitly states that a compliant SPF validator must count the number of DNS lookups caused by the 'a', 'mx', 'ptr', 'exists', and 'include' mechanisms, warning that exceeding 10 such lookups will result in a 'PermError'.

22 May 2005 - RFC 7208 (SPF)

10 resources

Start improving your email deliverability today

Get started