Why is SPF failing even with IP in record?
Summary
What email marketers say9Marketer opinions
Email marketer from EasyDMARC shares that if the IP address listed in your SPF record is incorrect, outdated, or doesn't match the sending server's IP, SPF will fail.
Email marketer from AuthSMTP explains that there might be a conflict with other email authentication methods (DKIM, DMARC). If DMARC policy is set to reject or quarantine and SPF fails, the email might be blocked.
Email marketer from StackExchange suggests that the 'ptr' (pointer) mechanism in an SPF record can cause unpredictable results and SPF failures, as it relies on reverse DNS lookups, which might not be consistently configured. Use of 'ptr' mechanism is discouraged.
Email marketer from MXToolbox shares a list of common SPF issues, including syntax errors in the SPF record, exceeding the 10 DNS lookup limit, using incorrect IP addresses or ranges, and failing to include necessary mechanisms like 'include:' or 'a:' . They also state to make sure DNS propagation has completed after changes.
Email marketer from Reddit explains that DNS propagation delays can cause SPF failures immediately after updating an SPF record. It may take some time (up to 48 hours in some cases) for the changes to propagate across the internet.
Email marketer from Mailhardener explains that an SPF record can fail if it causes more than 10 DNS lookups during evaluation. This is often caused by nested `include:` statements. Flattening the SPF record (copying the included records) can fix this.
Email marketer from EmailQuestions notes that there should only be one SPF record per domain. If you have multiple SPF records, it can cause unpredictable behavior and SPF failures. Combine multiple records into a single, valid SPF record.
Email marketer from ServerFault explains that SPF failures can occur if the sending IP address is not being checked against the correct domain's SPF record. The SPF check is performed against the domain used in the MAIL FROM (Return-Path) address, not the domain in the From: header.
Email marketer from Zoho explains that SPF failing could be because you're checking the wrong domain. The SPF check is performed against the domain used in the MAIL FROM address and you need to confirm this aligns.
What the experts say6Expert opinions
Expert from Spam Resource explains that an SPF hard fail indicates that the sender is explicitly not authorized to send email on behalf of the domain. It means that the IP address used to send the email does not match any of the IP addresses or ranges listed in the SPF record, and the SPF record ends with '-all' or '-redirect'. This tells receiving mail servers to reject messages that fail the SPF check.
Expert from Email Geeks explains many things are broken in authentication setup. SPF for email.phone2action.com only has one IP and it's not 167.89.79.130. DKIM for phone2action.com looks okay in DNS but failed the test. The sender domain (Peta.org) is not authenticated and failing DMARC.
Expert from Email Geeks explains that the DMARC failure occurs because PETA is not included in either the SPF or DKIM values.
Expert from Email Geeks explains that for DMARC to pass, the domains in the From: header and the SPF or DKIM records need to be the same.
Expert from Email Geeks identifies that the SPF record for email.phone2action.com only includes one IP address (167.89.10.60) and it may be the root cause of the SPF failure.
Expert from Word to the Wise responds that SPF PermError means there is something wrong in your SPF record. A PermError means the server encountered some kind of problem when evaluating the SPF record and therefore rejected it.
What the documentation says5Technical articles
Documentation from Google explains how to configure SPF records for Google Workspace and lists potential causes for SPF failures, including incorrect syntax, missing include statements for third-party senders, and DNS propagation delays.
Documentation from Valimail explains that if your SPF record relies on 'include:' mechanisms, but the included domains have errors or invalid SPF records, your SPF check might fail. It also explains exceeding the 10 DNS lookup limit is a common issue if too many includes are present.
Documentation from dmarcian explains that syntax errors within the SPF record can cause it to fail. Common syntax errors include typos, incorrect use of mechanisms, and exceeding the character limit for a DNS TXT record.
Documentation from RFC Editor explains the SPF evaluation process, stating that the client's IP address is checked against the authorized sending hosts listed in the SPF record of the MAIL FROM domain. If the IP address is not authorized, the SPF check will fail.
Documentation from Microsoft explains that SPF failures in Office 365 can occur if the sending server's IP address is not authorized in the SPF record for the sending domain. They also detail how to verify the SPF record and troubleshoot common issues.