# 5.7.510 Bounce: Domain Does Not Accept Email Over IPv6

URL: https://email-validation.org/bounce-codes/5-7-510/
Updated: 2026-11-25

> Documentation index: https://email-validation.org/llms.txt

**Short answer:** Your server connected over IPv6, and the recipient's domain on Microsoft 365 does not accept mail over IPv6. It is permanent: retrying over IPv6 fails the same way. Make your server send to this domain over IPv4, then resend the message.

**At a glance**

- **Type:** permanent failure (class 5, RFC 3463 §2). The sending server does not retry it and reports the failure to the sender: a bounce message, or an error in the mail app.
- **Basic code:** varies; the enhanced code is the part that identifies the problem.
- **Enhanced code 5.7.510:** not in the IANA registry; the group is security or policy status (RFC 3463 §3.8).
- **Who uses it:** Microsoft (Exchange Online): access denied, the recipient domain does not accept email over IPv6.

A 5.7.510 bounce means your server reached Microsoft 365 over IPv6, but the domain you wrote to takes mail only over IPv4. The message was refused before delivery.

## What it means

This is Microsoft's code, not one from the IANA registry. Microsoft's [Exchange Online NDR reference](https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online) shows the text as `Access denied, [domain] does not accept email over IPv6`. The domain in the brackets is the recipient's.

Microsoft explains the background on its [mail flow page](https://learn.microsoft.com/en-us/defender-office-365/mail-flow-about). Microsoft 365 can receive mail from outside senders over IPv6, but this might not be enabled for a given organization. An admin can turn it on for a domain with the Exchange Online PowerShell cmdlet `Enable-IPv6ForAcceptedDomain`. That page shows the same refusal text with the code 5.2.1, so you may see either code.

The choice belongs to the recipient's organization. Your server is not broken.

## Common causes

- Your server has an IPv6 address and prefers IPv6 when the recipient's mail host offers it.
- The recipient's organization has not opted in to IPv6 mail.
- Your server moved to a host or network that gives it IPv6, and its mail settings did not change.

## How to fix it

If you are the sender:
1. Check your server's log for the IP address it used. An IPv6 address confirms the cause.
2. Make the server send over IPv4 for this domain, or for all mail if your software has no per-domain option.
3. Make sure your IPv4 address has a PTR record and that your domain passes SPF ([SPF checker](https://email-validation.org/tools/spf-checker/)).
4. Resend the message.
5. If you send through an email service, forward it the bounce. It controls how mail leaves its servers.

If you run the recipient's organization and want to receive mail over IPv6, run `Enable-IPv6ForAcceptedDomain` for the domain in Exchange Online PowerShell. After that, Microsoft's mail flow page says IPv6 senders must have a PTR record ([550 5.7.25](https://email-validation.org/bounce-codes/550-5-7-25/)), and must pass SPF or DKIM.

## What to do with the address

Keep it. The address may be fine: this code is about the IPv6 connection, not the mailbox. Resend over IPv4.

## Related codes

- [5.7.508](https://email-validation.org/bounce-codes/5-7-508/): Your IPv6 range sent too much mail too fast (Microsoft 365)
- [550 5.7.25](https://email-validation.org/bounce-codes/550-5-7-25/): Reverse DNS (PTR) check failed
- [4.4.1](https://email-validation.org/bounce-codes/4-4-1/): No answer from the recipient's server

See [every bounce code](https://email-validation.org/bounce-codes/) in the dictionary.

The address on your list is not what failed here. For the bounces your list does cause, [clean the list before you send](https://email-validation.org/bulk-email-verification/).

_How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text._
