Share via

Exchange server 2010 on server 2012

Antonio Young 0 Reputation points
2026-02-26T14:12:50.7233333+00:00

When emails are trying to send to private companies it does not send with a return email: Generating server: #######

[Moderator note: personal info removed].mail.protection.outlook.com #550 5.7.1 Service unavailable, client host [#####] blocked using Spamhaus. To request removal from this list see

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jack-Bu 6,675 Reputation points Microsoft External Staff Moderator
    2026-02-26T14:58:31.2666667+00:00

    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.

    Hi Antonio Young

    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. 

    1 person found this answer helpful.

  2. Q&A Assist
    2026-02-26T14:13:08.3733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error means the public IP address of the Exchange 2010 server (or outbound smart host) is listed on Spamhaus, so Exchange Online Protection (EOP) at mail.protection.outlook.com is rejecting the mail with 550 5.7.1 Service unavailable, client host [x.x.x.x] blocked using Spamhaus.

    To fix this, the sending IP must be removed from the Spamhaus blocklist and the underlying cause of the listing addressed.

    1. Identify the exact public IP that is sending mail
      • Check the NDR details or message headers for Client host [x.x.x.x].
      • Confirm that this is the IP your Exchange 2010 server uses to send outbound SMTP (or your firewall/SMTP relay IP).
    2. Request delisting from Spamhaus
      • From a browser, go to the Spamhaus lookup/delist page and enter the public IP.
      • Follow Spamhaus’s instructions to request removal. They will usually indicate why the IP was listed (open relay, malware, spam volume, dynamic IP, etc.).
    3. Fix the root cause before or immediately after delisting Typical issues to check on the Exchange 2010 side and network:
      • Make sure the server is not an open relay.
      • Check for compromised accounts or applications sending large volumes of mail.
      • Review outbound queues and message tracking logs for unusual volume or destinations.
      • Ensure antivirus/antimalware is up to date on the server.
      • If using a consumer/dynamic ISP line, move outbound mail to a proper static IP or a reputable SMTP relay/smart host.
    4. Consider routing outbound mail through a trusted relay
      • If keeping the current IP clean is difficult (e.g., ISP reputation, shared IP), configure Exchange 2010 to send outbound mail via a smart host (such as your ISP’s or a third‑party mail relay) that has good reputation and proper anti‑abuse controls.
    5. Verify after changes
      • After Spamhaus confirms delisting, send test messages to the affected domains.
      • Confirm no new NDRs with 550 5.7.1 ... blocked using Spamhaus are generated.

    If instead the error text in the NDR mentions Microsoft’s own blocklist (for example, “Client host [x.x.x.x] blocked using Blocklist 1; To request removal from this list please forward this message to delist@microsoft.com”), follow the instructions in the NDR and send the full bounce message to delist@microsoft.com after ensuring the server is not sending spam.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.