Key takeaways
- Check the pair first: dig -x on the IP, then dig +short A on the hostname it returns.
- Then check the hostname your mail server sends in HELO or EHLO.
- If that name is generic, local or an IP literal, Infomaniak rejects the message with a bogus HELO error whatever the PTR says (Infomaniak: Troubleshooting a bogus HELO error).
Reverse DNS failures on Infomaniak almost always come down to one of three faults: the PTR is missing or points at the wrong name, the forward record does not match it, or the server announces a name that does not match either. This guide sorts each symptom into its cause and the check that proves it. Infomaniak's PTR guide covers VPS addresses only, so the fixes below assume a server you run on an Infomaniak VPS.
Research checked: 2026-11-12
The short answer
Check the pair first: `dig -x` on the IP, then `dig +short A` on the hostname it returns. Both must agree. Then check the hostname your mail server sends in HELO or EHLO. If that name is generic, local or an IP literal, Infomaniak rejects the message with a bogus HELO error whatever the PTR says (Infomaniak: Troubleshooting a bogus HELO error).
Symptom, cause and fix
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| `dig -x` returns nothing | PTR not set, or not propagated | `dig -x <IP> +short` empty | Set the PTR in the Manager on the VPS IP. Wait for propagation |
| `dig -x` returns the provider's default name | PTR never replaced | Name is not your domain | Set the PTR to your hostname, as in the Manager steps |
| PTR returns a name, but its A record points elsewhere | Forward and reverse do not match | `dig +short A <name>` differs from the IP | Correct the A record to the server IP, or change the PTR to a hostname that resolves to it |
| Mail rejected with `550 5.7.1 Access denied - bogus HELO` | Server announces a generic, local, IP-literal or banned name | Check the HELO in your software's log | Set the HELO to a real, resolvable FQDN you control (Infomaniak: bogus HELO) |
| HELO correct, still rejected | Software uses a cached or default HELO | Send a test and read the transaction | Configure the HELO setting in the mail software, then restart it |
| PTR correct, but another host still shows the old name | Resolver caching | Compare two public resolvers | Wait up to 48 hours for propagation (Infomaniak: Link a domain name) |
| Setting the PTR in the Manager is not possible | The IP belongs to a service that is not a VPS, or the Manager view differs | Check which product owns the IP | Use Infomaniak support. The PTR guide covers VPS and VPS Lite only |
Checks to run in order
- Reverse: `dig -x 203.0.113.25 +short` should return your hostname with a trailing dot.
- Forward: `dig +short A mail.example.com` should return `203.0.113.25`.
- HELO: Confirm the software announces `mail.example.com`, not the IP or `localhost`.
- Transaction: Send a test to an address you control and read the response line for `bogus HELO`.
- Headers: Check the first `Received` line in the delivered message for the hostname and IP.
Gmail's guidelines require the forward and reverse pair to match for sending domains or IPs (Gmail Help: Email sender guidelines), so run step 2 before you assume the PTR is the problem.
Reading the rejection
`550 5.7.1` is a permanent failure with a policy reason. The enhanced status class 5.7 in RFC 3463 covers security and policy rejections (RFC 3463), so the fix is to change what the server presents, not to retry. Retrying the same HELO will fail again.
When the PTR is correct and mail still fails
Check authentication next. SPF, DKIM and DMARC failures produce a different error, and the DMARC guide covers them. A PTR fault will not clear an authentication fault, and fixing one does not fix the other.
Expanding the check
If the PTR and HELO both pass but a receiver still reports a reverse DNS problem, compare the IP against an online reverse-DNS checker, and confirm the hostname resolves on public resolvers, not only on your own. Infomaniak's PTR guide recommends an online check after setting the record (Infomaniak: Create a PTR record for Cloud VPS / VPS Lite).