Deliverability

Mailgun shared IP blocked by Yahoo or Outlook: fix 421 TSS04

The 421 4.7.0 [TSS04] deferral means Yahoo is throttling a sending IP because of user complaints. On a shared Mailgun IP the cause is often another tenant. Check your own complaint data first, then ask Mailgun for a different IP or move to a dedicated one and warm it up.

Sohail HussainSohail Hussain10 min read

Short answer

  • The 421 4.7.0 [TSS04] reply is a temporary deferral from Yahoo, not a final rejection. Yahoo says to retry about 4 hours later, and Mailgun retries queued mail on its own.
  • Check your own complaints, signup sources and authentication first. If you are clean and the deferrals persist, ask Mailgun support about a different IP or a dedicated IP, and send Yahoo a sender support request.

You see this in your Mailgun logs for Yahoo or AOL recipients, and sometimes people lump in Outlook and live.com delays at the same time:

421 4.7.0 [TSS04] Messages from xxx.xxx.xxx.xxx temporarily deferred due to user complaints

You send through a shared Mailgun IP, and the deferrals keep coming back even though you changed nothing. This page covers what Yahoo says the code means, how to tell whether the cause is you or your neighbors on the IP, and what to do in each case.

What the error means

Read the reply in pieces:

  • 421 is a transient SMTP failure. The sending server is expected to retry later.
  • 4.7.0 is the enhanced status code for a temporary, policy-related problem.
  • TSS04 is a Yahoo tag. Yahoo's help page lists TSS04 alongside TS01, TSS00, IPTS00 and IPTS04 as temporarily deferred errors.
  • The message names an IP, not your domain. Yahoo is judging what it sees from that IP.

Yahoo calls the error temporary and encourages you to retry sending 4 hours after you see it. Its sender documentation adds that your mail server may retry automatically at a later time.

Why Yahoo defers mail from a shared IP

Yahoo's sender documentation for these temporary TS* deferrals gives a short list of causes. They are substantial complaints from Yahoo users, message content that looks like spam, a poor reputation for the IP or its subnet, and unusual traffic patterns from your mail servers. In practice, on a shared Mailgun IP, that breaks down like this, most common first:

  1. Complaints from mail you did not send. On a shared IP, other senders' complaints count against the same address. Yahoo's own help page for a related AT&T Yahoo deferral says mail traffic from other domains on a shared IP can negatively affect your sending reputation, and it suggests asking your host for dedicated IPs.
  2. Complaints from your own mail. Confirmation emails to people who never asked for them, bots abusing an open signup form, and old or purchased lists all produce spam reports.
  3. A volume spike or a new sending pattern. Yahoo lists unusual traffic patterns as a cause, so a sudden jump in volume can trigger a deferral even when the list is clean.
  4. Message content that looks like spam. This is the cause Yahoo names that you can fix in a single message.
  5. Weak authentication. Yahoo does not list this as the cause of TSS04, but it makes every reputation problem harder to argue.

What is not known from the outside: how many complaints, from whom, over what window. Yahoo does not publish a per-IP score, so you infer the cause from your own data.

About Outlook and live.com: Microsoft uses its own reply text and its own sender support process, not Yahoo's TS* tags. Copy the exact reply text from your Mailgun log and use that when you ask Microsoft for help. Do not assume a Yahoo fix applies one to one.

Step-by-step fixes

1. Find out whether the problem is you

  1. In the Mailgun logs, filter for failed and delayed events and note which receiving domains carry the TSS04 text.
  2. Compare. If only Yahoo and AOL addresses are slow while Gmail and others deliver, an IP-level or provider-specific reputation issue is more likely than a general list problem.
  3. Calculate your complaint rate where you can see it. Gmail and Yahoo's bulk-sender rules treat a spam complaint rate of 0.3% or more as a problem, and you should aim far lower. The spam complaint rate calculator does the arithmetic.
  4. Review who gets your mail: open signup forms, imported lists, and any campaign that went out just before the first deferral.
  5. Look up the sending IP on public DNSBLs (see blacklist). Yahoo also keeps internal reputation data, so a clean DNSBL result does not clear you.
  6. Wait for one retry cycle before changing anything. Yahoo calls the error temporary, so check whether the queue drains.

If your complaint rate is low and the deferrals began suddenly, the shared pool is the more likely cause.

2. Fix authentication and alignment

Confirm that SPF and DKIM pass and that at least one aligns with the visible From domain, then publish DMARC. A starting record:

DNS TXT Record
Type:TXT
Host:_dmarc
Value:v=DMARC1; p=none; rua=mailto:dmarc@example.com

Start with p=none, read the aggregate reports, and tighten once all your legitimate sources pass. Build the record with the DMARC generator, and check a delivered test message with the email header analyzer. The full setup is in how to set up SPF, DKIM and DMARC.

3. Stop the complaints you control

  1. Add double opt-in and bot protection to every public signup form.
  2. Make unsubscribing easy and honor it immediately, with a working List-Unsubscribe header.
  3. Suppress hard bounces and complainers. See suppression list management.
  4. Keep transactional mail (receipts, password resets) on a separate subdomain from marketing mail, and ask Mailgun whether a separate IP is available for it.
  5. Look into Yahoo's Complaint Feedback Loop on the Yahoo sender hub so you can see who is complaining. Check Yahoo's current eligibility rules there; our feedback loop guide explains how these programs work.

Slow the send, do not resend

The deferral is temporary and your sending server retries on its own. Mass-resending the same batch adds volume to an IP Yahoo is already slowing, so let the queue drain and send the next batch smaller.

4. Ask Mailgun about a different IP

If your sending is clean, open a ticket with Mailgun support from your account. Include the full reply text with the TSS04 line, timestamps, the affected IP, the receiving domains, your complaint rate as a figure, and a request to move your domain to a different IP. Treat the result as a stopgap, because a replacement shared IP can be affected by its other tenants too.

5. Consider a dedicated IP, and plan the warm-up

A dedicated IP makes the reputation yours alone, which removes the neighbor problem. It also removes the shared history you were borrowing, so mailbox providers start with no record of you.

  • Ask Mailgun support or read its dedicated IP documentation for current pricing, volume guidance and its warm-up options. Plans and menu labels change, so I would not rely on a screenshot or a blog post for them.
  • Check any new IP against DNSBLs before you send a single message, and raise a listing with Mailgun right away.
  • Warm up on purpose: start with your most engaged recipients, send small volumes, and raise them gradually. Do not send to the whole list on day one. See what email warm-up is and how to warm up a new domain.
  • At low volume a dedicated IP can be worse than a well-run shared pool, because there is too little traffic to build a reputation.
  • Register your domain in Google Postmaster Tools. It only shows Gmail data, and only at enough volume.

Gmail can still lag

A new dedicated IP and a new domain both start without reputation. Expect Gmail delivery to depend on your domain's history as well as the IP, and do not assume the move fixes everything at once.

Which path to pick

SituationLikely causePick
Low volume, only Yahoo deferring, clean listNeighbor on the poolAsk Mailgun for a different IP
Steady volume, clean listShared pool too crowded for youDedicated IP plus warm-up
Complaints high on your own listYour sourcesFix signup, list and consent first
Repeated listings across several IPsPool or sourcesFix sources, then consider another provider
You can run mail servers yourselfNeighborsSelf-host (for example Postal); you then own reputation, DNS and delisting

Self-hosting gives you a brand-new IP with no reputation, and you handle delistings and sender support requests yourself. It removes neighbors; it does not remove the work.

Checklist before you try again

  • SPF and DKIM pass, and one aligns with your From domain
  • A DMARC record is published and reports are arriving
  • Complaint rate is well under 0.3%
  • Public signup forms use double opt-in and bot protection
  • Hard bounces and complainers are suppressed
  • Transactional and marketing mail are separated
  • The IP has been checked against DNSBLs
  • You are not resending the deferred batch

If nothing works

Escalate in this order:

  1. Wait at least one retry cycle after the 4 hours Yahoo suggests, and confirm the deferrals are still happening.
  2. Yahoo's guidance for a related deferral is to submit a new sender application with the error and diagnostic codes from your logs if you see the same error for a long time. Use the sender support request on Yahoo's sender hub, and look up the code in Yahoo's SMTP error code reference.
  3. Contact Mailgun support with the message below. You do not own the shared IP, so they are the ones who can check it and move you.
  4. For Microsoft recipients, use Microsoft's sender support process, with the exact reply text from your logs.
Subject: Yahoo/AOL deferrals on shared IP {ip-address} (TSS04)

Since {date/time UTC}, mail from {ip-address} for my domain {your-domain}
is deferred by Yahoo with:
421 4.7.0 [TSS04] Messages from {ip-address} temporarily deferred due to user complaints

Affected receivers: yahoo.com, aol.com, {others}
Complaint rate on my side: {x}% over the last 7 days
SPF/DKIM/DMARC: pass and aligned (header sample attached)
Already done: double opt-in, suppression of bounces and complaints

Please check the IP's standing with Yahoo and move my domain to a
different IP, or advise on a dedicated IP.

Where Mailneo fits

Mailneo only helps with part of this. It does not provide dedicated IPs, cannot fix a provider's shared pool, and cannot remove an IP from a blocklist. It sends through mailboxes and providers you connect, and Mailgun is one of the supported SMTP options. What it covers is the sender-side hygiene in steps 2 and 3: it checks your domain's SPF, DKIM and DMARC records and common DNS blacklists, adds List-Unsubscribe and one-click headers to campaign and newsletter emails, and suppresses hard bounces and complaints. It will not stop Yahoo from deferring mail on an IP you share with others. See the Mailneo home page.

Common questions

Do I need to resend deferred messages?

Usually not. A 421 is temporary, and your sending server retries on its own. Resending the same batch only adds volume to an IP Yahoo is already slowing.

Is this a permanent block of my domain?

No. A 4xx code is a temporary hold, and the reply names an IP, not your domain. Yahoo does say it may permanently defer or reject mail for some policy reasons, and those cases look different.

Will a dedicated IP fix it right away?

No. A new IP has no history and needs a warm-up. Domain reputation also matters, especially at Gmail.

Can I see my IP's reputation at Yahoo?

Not as a public score. Use Yahoo's sender hub, its error code reference and a sender support request, and include your log lines.

deliverabilitymailgunerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

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

Related Articles

Deliverability

Apollo + Mailgun: "domain not on a Mailgun account" and IMAP

Apollo shows a "domain not being on a Mailgun account" error and asks for an IMAP host because Mailgun is a transactional sending service with no mailboxes. Verify the domain in Mailgun if you send by API; for sequences that need replies, connect a Gmail, Outlook or SMTP+IMAP mailbox instead.

Sohail Hussain|8 min read
Deliverability

Connection refused #111 on SMTP port 587: how to fix it

Connection refused #111 on port 587 means your server's TCP connection never reached the SMTP host, so a firewall, security group or hosting policy is blocking outbound traffic. Test the port with openssl s_client, open egress, switch to port 2525 or 465, or send through the provider's HTTP API instead.

Sohail Hussain|10 min read
Deliverability

DMARC Fails When SPF and DKIM Pass: Fix Alignment (550 5.7.23)

DMARC needs SPF or DKIM to pass and the passing domain to match your visible From domain. When both pass for a different domain (a vendor's bounce domain, a Mailgun subdomain), DMARC still fails. Sign DKIM with your From domain; one aligned DKIM signature is enough.

Sohail Hussain|9 min read
Deliverability

EmailError ETIMEDOUT in Ghost: Mailgun SMTP Timeout Fix

Ghost's "EmailError ETIMEDOUT ... Connection timeout" means your server could not open a TCP connection to the SMTP host in time. Newsletters go through the Mailgun API over HTTPS, so they still work. Test port 587 from the server, then open it, switch to port 2525, or fix DNS.

Sohail Hussain|9 min read

Ready to supercharge your email marketing?

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

Get Started Free