If you encounter this message, it means you are using a single string within your SPF record that exceeds 255 characters. Note: According to RFC 7208 Section 3.3, a single SPF record can exceed 255 characters, but a single string cannot.
If more than 255 characters are needed, separate into multiple strings (e.g. "v=spf1 .... first" "second string..."). Below are an example of a single SPF record with a single string over 255 characters on the left and a corrected SPF record with the single string split into multiple strings.
Bad SPF Record: Single string over 255 characters |
Good SPF Record: Multiple strings under 255 characters |
“v=spf1 ip4:64.20.227.128/28 ip4:208.123.79.32 ip4:208.123.79.1 ip4:208.123.79.2 ip4:208.123.79.3 ip4:208.123.79.4 ip4:208.123.79.5 ip4:208.123.79.6 ip4:208.123.79.7 ip4:208.123.79.8 ip4:208.123.79.15 ip4:208.123.79.14 ip4:208.123.79.13 ip4:208.123.79.12 ip4:208.123.79.11 ip4:208.123.79.10 ip4:208.123.79.9 ip4:208.123.79.16 ip4:208.123.79.17 include:_spf.google.com include:_spf.ladesk.com -all” |
“v=spf1 ip4:64.20.227.128/28 ip4:208.123.79.32 ip4:208.123.79.1 ip4:208.123.79.2 ip4:208.123.79.3 ip4:208.123.79.4 ip4:208.123.79.5 ip4:208.123.79.6 ip4:208.123.79.7 ip4:208.123.79.8 ip4:208.123.79.15 ip4:208.123.79.14 ip4:208.123.79.13 ip4:208.123.79.12” “ ip4:208.123.79.11 ip4:208.123.79.10 ip4:208.123.79.9 ip4:208.123.79.16 ip4:208.123.79.17 include:_spf.google.com include:_spf.ladesk.com -all” |
SPF is the cornerstone of your email delivery strategy.
Are you confident your email is getting through?
MxToolbox is YOUR expert on email deliverability. MxDelivery Center analyzes your DMARC, DKIM and SPF to give you the insight you need to make email configuration changes and get your emails to your customer's.
Learn More