SPF_HELO_NONE: the HELO name has no SPF record
Quick fix
Publish a TXT record v=spf1 a -all at the host name your mail server gives in HELO, and make sure that name has an A or AAAA record with the server's address.
mail.example.com. IN TXT "v=spf1 a -all"
How to fix it
- Find the name your server sends in HELO/EHLO.
- Make sure that name has an A or AAAA record with the server's address.
- Publish a TXT record at that name:
v=spf1 a -all, in a zone filemail.example.com. IN TXT "v=spf1 a -all". - Set the PTR record of the server's IP address to the same name.
Learn more: SPF explained: lookups, includes and all
How to check
Find the HELO name in the Received header the receiving server added (Received: from mail.example.com) or in your mail server's configuration. The reverse DNS check shows the PTR names of the domain's MX hosts, which are usually the same names. Then run the SPF check on the host name itself.
The Reverse DNS check for mail servers opens with your domain filled in; it runs when you press Check.
Tools to check it
What the error means
SPF_HELO_NONE: SPF: HELO does not publish an SPF Record
SPF_HELO_NONE is a rule in Apache SpamAssassin, and it shows up in spam reports and X-Spam-Status headers. Its description in SpamAssassin's SPF rules is "SPF: HELO does not publish an SPF Record": the host name your mail server gave in its HELO or EHLO greeting has no SPF record. It is not a rejection on its own, but it is easy to fix.
SPF can check two names: the domain of the envelope sender and the name in the HELO greeting. RFC 7208 section 2.3: "It is RECOMMENDED that SPF verifiers not only check the "MAIL FROM" identity but also separately check the "HELO" identity". The HELO name is the server's own host name, such as mail.example.com, not your mail domain, so the SPF record of example.com does not cover it. With no record at that name the result is none, which RFC 7208 section 2.6.1 defines as "no SPF records were retrieved from the DNS".
For a single host the RFC gives the record to publish. Section 10.1.2: "The standard SPF record for an individual host that is involved in mail processing is: relay.example.com. IN TXT "v=spf1 a -all"". The a mechanism authorizes the addresses of the host name itself, so the record stays right as long as the host's A and AAAA records do. The same host name should also be the PTR name of the server's IP address (PTR_MISSING).
Sources
- Apache SpamAssassin: rules/25_spf.cf (checked 2026-11-16)
- RFC 7208: Sender Policy Framework (SPF), sections 2.3, 2.6, 9.1 and 10.1.2 (checked 2026-11-16)