1. Home
  2. SMTP codes
  3. Enhanced status codes
  4. 5.7.25

X.7.25 · Security or policy

SMTP enhanced status code 5.7.25

Reverse DNS validation failed

X.7.25 means the sending IP failed a reverse DNS check: it has no PTR record, or the PTR name does not resolve back to the same IP.

Registry codeX.7.25
Forms in use5.7.25
Registry nameReverse DNS validation failed
Subject7: Security or policy
Permanent or temporary5.x.x permanent failure: resending unchanged will not succeed
Associated basic codes550
Defined in[RFC 7372, Section 3.3]

What the registry says

This status code is returned when an SMTP client's IP address failed a reverse DNS validation check, contrary to local policy requirements.

IANA SMTP Enhanced Status Codes registry, X.7.25

The basic codes it travels with

  • 550 Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)

In practice

Gmail requires a PTR record for every sending IP and returns 550 5.7.25 if it is missing or does not match. Microsoft returns 5.7.25 for IPv6 senders without reverse DNS. If you use a sending service, it manages PTR records for you. On your own server, set the PTR through your hosting provider.

What the sender should do

Set a PTR record for the sending IP that resolves forward to the same address. On shared services, the provider controls this.

Would verifying the list have prevented 5.7.25?

No

This reply is about your sending setup, the message or the receiving system, not about whether the address exists, so verifying the list will not prevent it.

How providers use X.7.25

Quoted from each provider’s own error reference.

  • Gmail 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.

  • Microsoft 365 5.7.25

    Access denied, the sending IPv6 address [2a01:111:f200:2004::240] must have a reverse DNS record

Common questions

What does 5.7.25 mean?
X.7.25 means the sending IP failed a reverse DNS check: it has no PTR record, or the PTR name does not resolve back to the same IP.
What should I do about 5.7.25?
Set a PTR record for the sending IP that resolves forward to the same address. On shared services, the provider controls this.
Would an email verifier have caught 5.7.25?
No. This reply is about your sending setup, the message or the receiving system, not about whether the address exists, so verifying the list will not prevent it.

Full guides for this code

Sources

Registry and provider wording is quoted exactly; guidance is written by the SimpleVerifier Team.

SimpleVerifier Team · Last checked against the sources 2026-11-05

Clean your next list before it bounces

100 free email checks when you sign in with Google, no card. Then monthly plans from $9, or one flat price with fair use, never cut off.

100 free checks, no card Cancel anytime Secure payment by Stripe