Bounce code · Permanent

5.7.510: The recipient domain takes no mail over IPv6 (Microsoft 365)

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.

How to fix itEvery bounce code

PermanentSecurity or policy status

5.7.510

What happens
Not retried
Registry name
Not in the IANA registry
Who uses it
Microsoft (Exchange Online)

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 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. 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).
  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), 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.

The address on your list is not what failed here. For the bounces your list does cause, clean the list before you send.

Get up to 500 free credits. No card needed.

Fewer bounces start with a clean list: check addresses before you send.

Updated · Maintained by: Email Validation LLC