5.7.25 means the sending server’s IP address has no reverse DNS (PTR record), or its PTR name does not lead back to the same address. Gmail requires both of every sender.
| Code | 5.7.25 |
| Meaning | Reverse DNS validation failed |
| Kind | Permanent failure — the sender gives up |
| Sent in reply to | With 550 |
| What the sender does | Returns the message to the sender |
| Defined in | RFC 7372 |
Paste your bounce
Paste the line with the code — or the whole bounce: we explain each code in it, say whether the sender will try again, and link the service’s own page where it has one. It is read in your browser; nothing is sent.
What to do
- Set a PTR record for the sending address at your hosting provider, naming a host whose A record points back to it.
- Sending over IPv6? Each IPv6 address needs the same.
What each provider means by it
| Who | What they say |
|---|---|
| Gmail | 550 5.7.25 The sending IP address doesn’t have a PTR record, or the forward DNS entry doesn’t reference it. Its temporary forms are 421 4.7.0 and 451 4.7.23. |
| Microsoft 365 | For IPv6 only: 5.7.25, or 450 4.7.25, when the sending IPv6 address has no reverse DNS. |
Bounces with this code
- Gmail 550 5.7.25: the sending IP address doesn’t have a PTR record
- Microsoft 365 5.7.25: the sending IPv6 address must have a reverse DNS record
Sources
Checked on 27 September 2026 against these official sources:
- Simple Mail Transfer Protocol (SMTP) Enhanced Status Codes Registry — iana.org
- RFC 7372: Email Authentication Status Codes — rfc-editor.org
- Gmail SMTP errors and codes — knowledge.workspace.google.com
- Email sender guidelines FAQ — support.google.com
- Mail flow in Microsoft 365 — learn.microsoft.com