exchange-online error

Exchange Online 550 5.7.506 — Bad HELO Identity

Exchange Online rejected the SMTP client because its HELO or EHLO identity represented the destination server rather than a valid identity for the connecting sender.

Most common causes

  • The SMTP client is configured with the destination hostname as its own HELO identity
  • A copied mail-server configuration preserved the wrong hostname
  • A relay or appliance generates an invalid EHLO name

What to verify next

  1. Run Reverse DNS & HELO Auditor for the sending host
  2. Capture the SMTP conversation and confirm the EHLO value
  3. Configure a stable fully qualified identity for the sending server
  4. Verify the corrected identity also resolves consistently where appropriate

Best diagnostic path

Why the exact message matters

The same status family can be triggered by different conditions, and providers frequently add diagnostic text that narrows the issue. Use the complete rejection text rather than treating the numeric code as a complete diagnosis.

Provider reference

For the provider-defined meaning and current requirements, review Microsoft Exchange Online NDR reference.