Deliverability

550 5.7.1 MailFrom domain is listed in Spamhaus DBL: how to delist

This bounce means the receiving server found your envelope sender domain on the Spamhaus Domain Block List (DBL). Changing your IP won't help. Look the domain up at check.spamhaus.org, find and stop the abuse behind the listing, publish DMARC to see who sends as you, then submit a removal request.

Sohail HussainSohail Hussain10 min read

Short answer

  • Your envelope sender domain (the MailFrom or Return-Path domain) is on the Spamhaus Domain Blocklist (DBL). Changing your sending IP does nothing, because the DBL lists domains only.
  • Look the domain up at check.spamhaus.org, find and stop whatever triggered the listing (a compromised account, a hacked site, a bad link domain), then submit a removal request there as the domain owner.
  • Wait for the answer before you resume sending, and resume slowly.

You sent a message and got this back:

550 5.7.1 Service unavailable, MailFrom domain is listed in Spamhaus.

Now you want to know which domain, why it is listed, and how to get it off the list.

Why it happens

550 is a permanent rejection from the receiving server. 5.7.1 is the enhanced status code for a policy refusal. The receiving server took the domain after the @ in your envelope sender, queried the DBL, and refused the message. Microsoft 365 recipients show this wording, but any server that queries the DBL can reject you. Retrying the same message gives the same result.

The DBL lists only domains. Spamhaus ZEN lists IP address zones only and does not include the DBL. That is why a clean IP with a listed domain still bounces, and why switching IPs, relays or providers does not help. The domain goes with you.

Spamhaus is also open about not explaining itself. The DBL evaluates many factors, and Spamhaus does not discuss the specific criteria it uses. People on forums report the same pattern again and again: listings after tiny test sends, brand-new domains, compromised mailboxes, and domains that share a bounce or tracking domain with someone else. Treat those as the usual suspects, not as confirmed rules.

Likely causeWhat you would seeFix
Compromised mailbox or SMTP credentialSends you did not make, odd forwarding rulesReset passwords, revoke sessions, turn on 2FA
Hacked website or formUnknown files, spam sent from the web serverClean and update the site, then request removal
Listed link domain in your mailYour sending domain looks cleanCheck every link, tracking and redirect domain
Unknown sender using your domainDMARC reports show strange sourcesAuthenticate real senders, tighten DMARC
New or re-registered domain with cold volumeListing soon after first sendsPause, wait, ramp slowly later
Shared bounce domain of a platformReturn-Path domain is not yoursSend the bounce to the platform's support

Step-by-step fixes

1. Find the domain that is actually listed

  1. Open a delivered message from the same system and read the Return-Path header. The email header analyzer helps, and Return-Path vs Reply-To explains the difference.
  2. Note three sets of domains: the Return-Path (MailFrom) domain, your visible From domain, and every domain that appears in your links, including tracking, redirect and shortener domains.
  3. Go to check.spamhaus.org and look up each one. This is Spamhaus's lookup and removal tool.

Spamhaus says the IP and domain checker is the only path to resolution for removals.

2. Optionally query the DBL yourself

From a resolver you control (not a large public one), run:

dig +short example.com.dbl.spamhaus.org

No answer means not listed. Spamhaus documents these DBL responses:

CodeMeaning
127.0.1.2Spam domain
127.0.1.4Phishing domain
127.0.1.5Malware domain
127.0.1.6Botnet command and control domain
127.0.1.102Abused legitimate domain (spam)
127.0.1.103Abused, spammed redirector domain

Spamhaus lists these as the DBL return codes in current and future use. Codes in the 102 range mean the domain is legitimate but being abused, which usually points at a hacked site or account. An IP query against the DBL always returns a listed code, so query domains only.

Do not misread 127.255.255.x

If you get 127.255.255.254 or 127.255.255.255, nothing is wrong with the domain. Spamhaus documents these as error codes for queries through public resolvers or excessive query volume, and says they are not a reputation result.

A 127.255.255.254 answer means the resolver you used is an open public resolver. Use the web checker instead.

3. Stop whatever caused the listing

Work through these in order. The first three cover most cases.

  1. Compromised account or app. Check sign-in logs for every sending mailbox, plus forwarding rules, OAuth app grants and SMTP credentials saved on websites. Reset passwords, revoke active sessions, and enable two-factor authentication.
  2. Hacked website or form. For a listed web domain, Spamhaus's own guidance is to take the site offline while fixing it if possible, remove infected files, and update the CMS and all plugins. An unprotected contact form can also relay spam as your domain.
  3. Bad link domains. The DBL covers domains seen in message content too, so a listed shortener, redirect or partner landing page can hurt your mail. Check each link domain from a recent campaign.
  4. Unknown senders using your domain. Publish DMARC in monitoring mode and read the aggregate reports for a week or two:
DNS TXT Record
Type:TXT
Host:_dmarc
Value:v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com

The DMARC generator builds this record, and what is DMARC explains the reports. Once every legitimate source passes SPF or DKIM alignment, move toward p=quarantine or p=reject. Spamhaus itself notes that role accounts (abuse@ and postmaster@), feedback loops and DMARC notifications help you get notified of problems. Set those up too.

  1. A new or re-registered domain. A young domain sending cold volume at once looks like throwaway infrastructure. I'd stop sending from it until the lookup is clean, rather than trying again and again.
  2. A shared platform's bounce domain. If the Return-Path domain belongs to your email platform, the listing is theirs. Send them the bounce text and the Spamhaus result. For example, Mailgun's help center says its team asks you for the root cause and what you did, then starts the removal request. Your platform may work differently, so ask.

4. Submit the removal request

Do this only after the cause is fixed. A request does not guarantee removal, and Spamhaus asks that the problem be addressed first.

  1. Open the lookup result for the listed domain at check.spamhaus.org and follow the removal instructions it returns.
  2. Submit as the registered owner. Spamhaus says requests should come from an IP address that can be linked to the domain, and not through a VPN. It also says not to use a free or disposable email address.
  3. Include the four things Spamhaus asks for: what caused the problem, what you did to solve it, when you solved it, and what you did to prevent it happening again.
  4. Use the checker's ticket process only. Spamhaus says it cannot handle removal requests made through other channels such as email.
  5. After approval, recheck. Approved removals are processed immediately; it should take minutes, though some receivers lag up to 24 hours. Spamhaus asks you to contact them if the listing is still active 24 hours after approval.

Never pay for delisting

Spamhaus states there is never a fee for removing a listing, and that anyone offering removal for money is running a scam. Do not submit repeated requests either, since excessive requesters can be blocked.

Also know that most DBL listings expire on their own once the activity stops, and a domain can be re-listed automatically if it is detected again. If you cannot find the cause, a clean domain that stays quiet may drop off by itself, but fixing the cause is what keeps it off.

Checklist before you request removal

  • You know which domain is listed (MailFrom, From, or a link domain).
  • Every mailbox and SMTP credential has a new password and revoked sessions.
  • Forwarding rules and app grants are reviewed.
  • Any website or form on the domain is cleaned and updated.
  • DMARC reporting is on, and you have looked at the sources.
  • Your request names the cause, the fix, the date and the prevention steps.
  • You are submitting as the domain owner, from a normal network, with a non-free email address.

While you wait

Send urgent one-to-one messages from a different domain you own and have authenticated, and contact affected people another way. Do not rotate IPs or switch providers hoping to dodge it. Meanwhile, tidy your lists with suppression list management and the email deliverability checklist.

If nothing works

If the checker shows the domain clean but the bounce continues, the rejecting server may be checking a different domain than you assumed, or using a stale cached answer. Contact the recipient's postmaster or your sending provider. If the domain stays listed after a request, reply within the checker's ticket. Include the exact error text, the timestamp of a failed send, the Return-Path domain, the lookup result and what you changed.

Subject: Bounce "550 5.7.1 Service unavailable, MailFrom domain is listed in Spamhaus"

Hello,

Messages from example.com to your domain were rejected on {date and time, with timezone}
with: 550 5.7.1 Service unavailable, MailFrom domain is listed in Spamhaus.

Envelope sender (Return-Path) domain: example.com
Spamhaus lookup result: {listed or not listed, code if any}
Cause found: {for example, compromised mailbox, now secured}
Fixed on: {date and time}
Prevention: {2FA, DMARC reporting, link review}

Could you confirm which domain your server checked, and whether a cached
result could still apply? Full headers of the bounce are attached.

Thank you,
{name}

Where Mailneo helps, and where it does not

We cannot delist your domain or change your DNS. Only Spamhaus can remove a DBL listing, and you edit DNS at your registrar. What Mailneo does cover is the surrounding hygiene: it checks your sending domain's SPF, DKIM and DMARC records, checks the domain's IP against common blacklists such as Spamhaus ZEN (an IP list, not the DBL), and automatically suppresses hard bounces and complaints. See the Mailneo home page for the overview.

Common questions

Will a new IP or a new email provider fix this?

No. The listing is on the domain, so it follows you to any IP or provider that sends mail with that domain in the envelope sender or links.

How long does a DBL listing last?

It varies. Spamhaus says most listings expire automatically after the activity that triggered them stops, and approved removals take effect quickly. There is no fixed number of days, so do not plan a launch around a date.

Can Spamhaus tell me exactly why my domain was listed?

Usually not. Spamhaus says it does not discuss its specific criteria in most cases, so you have to work from the lookup category, your logs and DMARC reports.

Does Spamhaus ZEN include the DBL?

No. ZEN covers IP addresses, and the DBL is a separate, domain-only zone that must be queried separately.

deliverabilityspamhausmicrosoft-365smtp2goerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

451 4.7.500 Server busy: SMTP2GO stuck at Processed (Microsoft)

`451 4.7.500 Server busy. Please try again later.` is a temporary Microsoft deferral of the connecting IP, not a problem with your message. SMTP2GO keeps retrying, so mail sits at "Processed" for hours. Ask SMTP2GO to rotate your IP, move to a dedicated IP, or allow-list carefully in Defender.

Sohail Hussain|9 min read
Deliverability

421 4.7.28 Gmail Unusual Rate of Unsolicited Mail: Fixes

The 421 4.7.28 error is a temporary Gmail deferral, not a block. Gmail is rate limiting a domain, DKIM domain or IP range it sees sending too much unwanted mail. Retries usually deliver, but you should fix authentication, unsubscribe headers, sending pace and shared infrastructure to stop it recurring.

Sohail Hussain|9 min read
Deliverability

535 5.7.139 Authentication unsuccessful: Microsoft 365 SMTP fixes

535 5.7.139 means Microsoft 365 refused the SMTP login even though the password may be right. The usual cause is that Authenticated SMTP is disabled for the mailbox or tenant, or Security Defaults blocks basic auth. Enable SMTP AUTH per mailbox, adjust Security Defaults or Conditional Access, use OAuth, or switch to a connector.

Sohail Hussain|9 min read
Deliverability

550 5.7.1 Message lacks SPF/DKIM/DMARC: Find the Real Cause

Outlook.com and Hotmail return "550 5.7.1 Message rejected: Message lacks SPF/DKIM/DMARC Auth Records" when a message fails their authentication checks. Valid SPF alone is not enough. Publish SPF, DKIM and an enforced DMARC policy for your From domain, then confirm the real cause in Message Trace.

Sohail Hussain|10 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free