Spamhaus's HELO and reverse DNS rule

Starting in November 2026, Spamhaus is gradually rolling out a requirement that every sending IP has a valid HELO, a reverse DNS (PTR) record, and a matching A record. Spamhaus says the enforcement takes place over several months. Sending IPs that miss it risk a Spamhaus listing.

Does this affect me?

It depends on who runs the server that actually connects to the receiver.

What Spamhaus checks

How to fix it

  1. Pick one hostname for the server, for example mail.yourdomain.com.
  2. Add an A record for that name pointing to the sending IP (and an AAAA record if it sends over IPv6).
  3. Set the PTR record for the IP to that name. This is done where the IP comes from, not in your domain's DNS. Most VPS and cloud providers have a "reverse DNS" field in the server's network settings; otherwise ask their support.
  4. Set the HELO name on the mail server to the same hostname. In Postfix that's myhostname (or smtp_helo_name) in main.cf; in Exim it's primary_hostname (or helo_data on the transport).
  5. Send a test email to the check below and confirm all three pass.

If you can't set the PTR at all, for example on a home connection, send through your email provider's server with a login instead of directly. That is the fix Spamhaus expects for home and dynamic IPs anyway.

The mistakes I see most

Spamhaus also has its own HELO and DNS checker, and its full guidance is in the Spamhaus sender guidelines.

Check your HELO and reverse DNS

A DNS lookup can't show which server sends your mail, so this one needs a real email. Send one to the address below, from the server you want to check, and I'll show the HELO, the reverse DNS and whether each one passes.

Related