Fix Exchange Online to Yahoo Email Error 550 5.4.318
Question details
Users are unable to send emails from Microsoft Exchange Online domains to Yahoo recipients due to a connection failure.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- Sending emails from a Microsoft 365 or Exchange Online domain to a Yahoo Mail recipient.
- Observed behavior
- The outgoing email fails to deliver, returning a Non-Delivery Report (NDR) with error code 550 5.4.318, which indicates the connection to the Yahoo server was closed and the message expired.
Gather your Non-Delivery Report (NDR) message and ensure you have administrative access to your domain's DNS settings before proceeding with the troubleshooting steps.
Verify Domain Authentication Records (SPF, DKIM, DMARC)
Ensure your domain is properly authenticated to prevent Yahoo's anti-spam filters from blocking your Microsoft 365 sending IP addresses.
Yahoo and other email providers use strict authentication checks. If your Microsoft 365 emails lack proper SPF, DKIM, or DMARC records, third-party anti-spam services are more likely to drop the connection and return a 550 5.4.318 error.
Log into your DNS hosting provider's portal and ensure your domain's TXT record includes 'v=spf1 include:spf.protection.outlook.com -all' to authorize Microsoft 365.
Navigate to the Microsoft 365 Defender portal. Go to Email & Collaboration, select Policies & Rules, click Threat policies, and enable DKIM signing for your domain.
Add a DMARC TXT record in your DNS settings to provide specific instructions to Yahoo's mail servers on how to handle emails that fail SPF or DKIM checks.

Submit a Microsoft 365 Support Request
If authentication records are correct and the issue persists, the problem may be a broader third-party anti-spam block affecting Microsoft's sending IPs that requires Microsoft's intervention.
Looking for a Reliable Office Suite? Try WPS Office
While Microsoft investigates Exchange Online delivery issues to Yahoo, consider WPS Office as a free, lightweight, and highly compatible alternative for your daily productivity needs. It provides a familiar user experience without the heavy subscription fees.

Frequently Asked Questions
What does error 550 5.4.318 mean in Exchange Online?
This error indicates a connection failure between your email server (Exchange Online) and the recipient's server (Yahoo). It is typically caused by third-party anti-spam filters temporarily blocking the sender's IP address range.
Why is Yahoo blocking my Microsoft 365 emails?
Yahoo utilizes third-party anti-spam services that monitor email traffic. If they detect a spike in spam originating from certain Microsoft 365 IP addresses, they may temporarily throttle or block those IPs, affecting legitimate senders sharing the same range.
Should I keep resending the failed email to the Yahoo recipient?
No. Repeatedly retrying to send messages that return a 550 5.4.318 error can further damage your domain's sending reputation and potentially prolong the anti-spam block.
How can I prevent my emails from bouncing in the future?
Ensure your domain has correctly configured SPF, DKIM, and DMARC records. Proper authentication proves to receiving servers like Yahoo that your emails are legitimate and significantly reduces the chance of them being flagged as spam.




