Blazalek.com

5.7.25SMTP 5.7.25: Reverse DNS validation failed

The receiving system permanently rejected the message because the SMTP client's IP address failed a reverse DNS check required by local policy. Do not retry the same attempt unchanged.

Category
Security, authentication and policy
Class
Permanent failure
Retry
Do not retry unchanged
Suppression
Check the full context

TL;DR

Permanent policy rejection: the SMTP client IP failed required reverse DNS validation. Fix rDNS or routing before retrying. Persistent rDNS policy failures hurt sending-IP reputation and deliverability. Do not retry unchanged.

What this code means

Reverse DNS validation failed for the SMTP client's IP address against the receiving system's local policy; that outcome is registry pattern X.7.25, returned as code 5.7.25. Permanent-failure class 5 in the enhanced status register frames the result for this attempt. The subcode names a policy-layer rDNS gap rather than a specific DNS misconfiguration on the client path. The code alone does not show whether the PTR record is missing, stale, or mismatched, nor which hop enforces the check.

Provider examples

Gmail example
550 5.7.25 This message was blocked because the sending IP address doesn’t have a PTR record, or the forwarding DNS entry doesn’t reference the sending IP address. Gmail requires that sending IP addresses have a PTR record. Learn more about requirements for sending IP addresses. To learn more about Gmail requirements for bulk email senders, visit Email sender guidelines. - gsmtp

Technical meaning

Reverse DNS validation failure for an SMTP client's IP address, contrary to local policy requirements, matches X.7.25. Code 5.7.25 applies that meaning in the permanent-failure class for this check.

Delivery status

The leading digit 5 denotes a permanent failure of the current attempt. The code does not establish why reverse DNS validation failed, which layer needs correction, or the policy of any particular provider.

Class
Permanent failure
Retry
Do not retry unchanged
Suppression
Check the full context

Retry decision

Operational guidance: stop automatic and manual retries of the same unchanged attempt. Consider a new, controlled attempt only after establishing the cause, making a confirmed correction, and checking the reverse DNS result; check suppression again first.

Suppression decision

Operational guidance: do not automatically suppress the recipient address or domain based on 5.7.25 alone. Inspect the complete response, event scope, DNS results, available logs, and delivery history, then base the suppression decision on the confirmed cause and applicable policy.

Common causes

  • The SMTP client's IP address failed the reverse DNS check required by the local policy of the system that returned the code; the code alone does not identify the exact reason validation failed.

Diagnostic steps

  1. Inspect the raw SMTP response or nondelivery report and confirm the exact 5.7.25 code and a basic reply in the 5xx class; retain the complete response text.
  2. Correlate the response with the intended message, attempt time and stage, SMTP client IP address, and system that returned the code.
  3. Use available logs, DNS results, and local-policy configuration to establish which reverse DNS check failed and why; do not assign a specific cause or provider practice from the code alone.
  4. Stop unchanged retries. After a confirmed correction, check the reverse DNS result and suppression again, then make at most one controlled attempt.

Actions by owner

Sender

  • Do not manually retry the same unchanged message; give the sender administrator the complete response and attempt time.

Sender administrator

  • Retain the complete response, correlate the attempt with the SMTP client IP address used, and inspect available logs, DNS results, and managed sending-layer configuration to establish the confirmed cause.
  • Make only a confirmed correction, check the reverse DNS result and suppression again, and verify the outcome with one controlled attempt instead of retrying the unchanged message.

Recipient administrator

  • If you manage the system that returned the code, inspect its reverse-DNS-validation logs and local policy for the specified attempt; correct a confirmed receiving-side problem or safely give the sender the context needed for remediation.

Provider

  • If you operate a managed IP address, DNS, sending layer, or receiving-side validation, inspect the relevant logs and configuration, correct a confirmed problem in that layer or give the administrators precise diagnostic context, and do not trigger suppression from the code alone.

Sources

These sources define what this enhanced status code means, mainly through the IANA registry and related RFCs. When provider examples appear on the page, they come from that provider's published documentation. Follow the links to read the original wording in context.

Last verified:

Found an error or inaccuracy? Report a correction.

Point out the part of this page that should be checked. Every report is reviewed manually.

Type of problem

Describe the issue and, if useful, suggest corrected wording.

For a factual report, include a public source when possible.

You can submit anonymously. A reply is not guaranteed.

Do not paste full bounce messages, headers, email addresses, Message-IDs, tokens, or other personal data. Redact evidence before sending.

Sending a correction shares the information you enter with Formspree so I can review and improve this page. Read the privacy notice.

Guide

  • Deliverability

    SPF/DKIM/DMARC and related auth policy are required for inbox delivery.

Incidents

Wojtek Blazalek

Email deliverability expert

Stuck on this error code? I help teams identify rejection causes and fix authentication and reputation, so email reaches the inbox.

Hands-on deliverability work for teams that send at scale.