5.7.25: IPv6 sender without reverse DNS
Microsoft 365 refused mail from an IPv6 address that has no reverse DNS (PTR) record; the same rule also appears as 450 4.7.25.
- Microsoft
- Provider
- Permanent (5xx)
- Class
- Sources checked
- Author
At a glance
- Code
- 5.7.25
- Temporary or permanent
- PermanentRefused for good: the message comes back to the sender, and resending it gets the same answer.
- Who has to act
- The sender. The fix is on the sending side: your domain, your server or your list.
- What the server says
5.7.25 Access denied, the sending IPv6 address … must have a reverse DNS record
What it means
For anonymous mail arriving over IPv6, Microsoft 365 requires the sending address to have a reverse DNS (PTR) record that resolves it to a domain name. Without one the message is refused. Microsoft documents the rule twice: as 5.7.25 with Access denied wording in its error code table, and as 450 4.7.25 with Service unavailable wording on its page about IPv6 mail flow. The temporary form makes the sender retry; the permanent form returns the message. Either way the record is missing on the sending side, and only whoever controls the IPv6 range can add it.
Common causes
- The IPv6 address the server sends from has no PTR record.
- The server picked an IPv6 address other than the one that was set up with reverse DNS.
How to fix it
- 01Find the IPv6 address in the bounce and look up its PTR record.
- 02Ask whoever controls the address range, usually your hosting or network provider, to publish a PTR record pointing to the server's host name.
- 03Until the record exists, have the server send over IPv4 or from an IPv6 address that has one.
Sources
What this page rests on, checked on 20 Oct 2026. The explanation is ours; the reply text is the server's.
- Email nondelivery reports and SMTP errors in Exchange Onlinelearn.microsoft.com
- Mail flow in cloud organizations (support for anonymous inbound email over IPv6)learn.microsoft.com
Related codes
- 450 4.7.26IPv6 mail without an SPF or DKIM pass.Microsoft 365 refused a message that arrived over IPv6 because the sender passed neither SPF nor DKIM.
- 5.7.510Recipient domain does not accept IPv6 mail.You sent over IPv6 to a Microsoft 365 domain whose tenant has not opted in to receiving anonymous mail over IPv6.
- 550 5.7.25Reverse DNS check failed.The sending server's IP address failed the receiver's reverse DNS check, usually because it has no PTR record or the PTR name does not lead back to the IP.
5.7.25 at other providers
Further reading
All 111 Microsoft codesEvery code in the wikiPaste your own bounce