# 5.7.510: access denied, recipient domain does not accept email over IPv6

URL: https://iblockspam.com/smtp-errors/550-5-7-510
Last updated: 2026-11-03

Code: 550 5.7.510 (permanent failure, the message bounced)
Provider: Microsoft 365 / Outlook.com

Your server delivered the message to Microsoft 365 over IPv6, but the recipient's domain doesn't accept email over IPv6. Sending the message over IPv4 fixes it.

What the bounce says:

```
Access denied, [contoso.com] does not accept email over IPv6
```
Microsoft's text for 5.7.510 in its Exchange Online NDR reference, where contoso.com stands for the recipient's domain.

Microsoft's NDR reference lists 5.7.510 "Access denied, [contoso.com] does not accept email over IPv6": the sender tried to send to the recipient over IPv6, but the recipient doesn't accept email messages over IPv6. Microsoft's mail flow documentation explains why: Microsoft 365 supports receiving anonymous inbound email over IPv6, but it might not be enabled in the recipient's organization. It shows the same refusal in another form, "550 5.2.1 Service unavailable, [contoso.com] does not accept email over IPv6".

The sender sees this when their server has IPv6 connectivity and prefers it. Many mail servers try IPv6 first whenever the destination publishes an IPv6 address. Mail to other Microsoft 365 domains may work while mail to this one fails, which makes the problem look random.

The fix is on the sending server. Configure it to deliver over IPv4, either everywhere or for this destination. Postfix, for example, has a setting that controls which IP protocols it uses for outbound connections. If you do send over IPv6, Microsoft's requirements for domains that accept it are a valid PTR record for the sending IPv6 address and a pass for SPF or DKIM; otherwise you get 450 4.7.25 or 450 4.7.26 instead.

## Common causes

- Your mail server prefers IPv6 when the destination publishes an IPv6 address.
- The recipient's Microsoft 365 domain only accepts inbound mail over IPv4.
- A recent network change gave your mail server IPv6 connectivity.

## How to fix it (sender)

- Configure your mail server to use IPv4 for outbound delivery, at least for this destination.
- Resend the message once the server delivers over IPv4.
- If you keep IPv6 for other destinations, give each IPv6 sending address a PTR record and authenticate your mail.

## How to fix it (recipient or admin)

- Admins who want to receive mail over IPv6 can opt in to anonymous inbound IPv6 support by opening a Microsoft support request, as Microsoft describes.

**Q: Why do only some Microsoft 365 recipients return 5.7.510?**
Microsoft says inbound email over IPv6 might not be enabled in every Microsoft 365 organization. Organizations that have it take your IPv6 mail; those that don't refuse it, so the error depends on the recipient.

**Q: Should I turn off IPv6 on my mail server to stop 5.7.510?**
You don't have to turn it off for the whole server, but outbound mail must reach these domains over IPv4. Many admins send all outbound mail over IPv4, which also avoids stricter IPv6 checks at other receivers.

Sources:
- Email nondelivery reports (NDRs) and SMTP errors in Exchange Online (Microsoft Learn): https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online
- Mail flow in EOP: support for anonymous inbound email over IPv6 (Microsoft Learn): https://learn.microsoft.com/en-us/defender-office-365/mail-flow-about

---

Source: iBlockSpam, https://iblockspam.com/smtp-errors/550-5-7-510 (this is a Markdown copy; the HTML page is canonical). Quote with attribution and a link. Site index for AI assistants: https://iblockspam.com/llms.txt
