The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
Please note that Q&A forum is a public platform, and moderators will modify the question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Thank you for posting your question in the Microsoft Q&A forum.
Microsoft (Exchange Online Protection) is not blocking your mail due to an arbitrary “IP range rule”. The rejection occurs because Spamhaus has listed your specific IPv6 address or prefix.
As long as your IP remains on a Spamhaus blocklist, Microsoft will reject your mail, even if your SPF, DKIM, and DMARC records are correctly configured.
It’s important to note that Microsoft cannot override Spamhaus block decisions, nor can this be resolved through server-side configuration changes.
To verify, you can use tools such as MX Lookup Tool - Check your DNS MX Records online - MxToolbox.
Note: Microsoft is providing this information as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
Only your hosting provider can request Spamhaus delisting for the affected IPv6 block. You will need to contact them directly to initiate removal.
Additionally, be aware that Microsoft 365 caches Spamhaus blocklist results for several hours after removal. Even after Spamhaus delists your IP, Microsoft’s servers may continue to reject mail until the cached data expires.
For your references:
Mail delivery issue - SpamHaus involved - Microsoft Q&A.
Fix NDR error 550 5.7.1 in Exchange Online - Exchange | Microsoft Learn.
I hope this information is helpful.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.