New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 4 Nov 2026

SMTP Error 421: Service Not Available, Try Again Later, What It Means and How to Fix It

SMTP 421 means the receiving server is temporarily refusing or closing the connection. This guide covers the common causes, how to read the enhanced status code, how to test and how to fix each case.

DW
Written by Daniel Whitfield
IP Reputation and Warm-up Lead
Reviewed by Camille Laurent
  • Published18 Aug 2024
  • Read time7 min
  • Length1,438 words
Share this guide

SMTP error 421 means the receiving server cannot handle your connection right now and is closing it. The standard text in RFC 5321 is "service not available, closing transmission channel". It is a temporary (4xx) reply, so the correct sender behaviour is to retry later, not to give up. In practice a 421 almost always comes from one of four causes: you opened too many connections, you sent too fast, the receiving side is deferring you because of reputation or authentication concerns, or the server is genuinely overloaded or shutting down.

The number alone tells you little. The text after it, and the enhanced status code such as 4.7.0 or 4.3.2, tell you which of the four you have. This guide shows how to read them, how to reproduce the problem, and what to change on the sending side. It also covers what to do when you run the receiving server and are the one producing 421 replies.

ClassTemporary failure (4xx). The message stays queued and should be retried
Typical causesConnection or rate limits, reputation or authentication deferral, server busy or restarting
First stepRead the full reply text and the enhanced code, then check your logs for the pattern
Wrong reactionRetrying immediately in a tight loop, which usually makes the deferral last longer

What 421 means in the protocol

RFC 5321 allows a server to send a 421 reply at any time, including at the very start of a session (instead of the 220 greeting) and in response to any command. After sending it the server closes the connection. That is the key difference between 421 and the other temporary codes such as 450, 451 and 452: those reject a single command or message and leave the session open, while 421 ends the session. See 450, 451 and 452 for the contrast.

$ openssl s_client -connect mx.example.net:25 -starttls smtp -crlf
421 4.7.0 Too many connections from your IP, try again later

A 421 at the greeting stage, before you have sent any commands, points to a limit on your source IP or a connection-level block. A 421 after DATA or after several messages points to a rate or per-session limit.

Reading the enhanced status code

Most modern servers add a three-part enhanced status code after the number, defined in RFC 3463. For 421, the second and third parts are the useful ones. See how to read a bounce code for the general structure.

Code and textTypical meaningFirst action
421 4.7.0 try again laterPolicy deferral: rate limit, reputation or unusual volume. Read the text for a provider specific tagSlow down, retry with backoff, check reputation. See 421 4.7.0 in detail
421 4.3.2 system not accepting network messagesServer is shutting down, in maintenance or not accepting mailWait and retry; no change needed on your side
421 4.4.5 mail system congestionReceiving server is overloadedRetry later with a lower concurrency
421 4.4.2 connection dropped or timed out during sessionIdle or slow session closed by the serverShorten idle time; see SMTP timeout 421
421 with a hostname and reason such as too many connectionsPer-IP connection limitReduce parallel connections to that destination

Provider messages often add their own tag in brackets or a URL to a help page. Treat that URL as the authoritative explanation, because the meaning of the same code differs between providers.

The common causes, in order of frequency

  1. Too many simultaneous connections. Receivers cap connections per source IP. A sender that opens 50 parallel sessions to one destination will see 421 on the later ones.
  2. Sending rate too high. Many receivers limit messages or recipients per connection, per minute or per hour from one IP or domain. See email throttling.
  3. Reputation or complaint-based deferral. A new IP, a sudden volume jump or a rising complaint rate gets throttled. The receiver is telling you to slow down while it evaluates you.
  4. Authentication or DNS problems. Missing reverse DNS, a HELO name that does not resolve, or failing SPF and DKIM can produce policy deferrals. See reverse DNS and HELO.
  5. Greylisting. Some servers defer the first attempt from an unknown sender and accept the retry. See deferred mail and greylisting.
  6. Receiver overload or maintenance. The server is restarting, out of resources or its own backend is down. Nothing you can fix, and it clears by itself.

Diagnose from your logs

Start with the sender's mail log, because it records the exact reply and the destination. On a Postfix server, search for deferred deliveries with a 421 reply.

# Show recent 421 deferrals with the destination domain
grep -E 'status=deferred' /var/log/mail.log | grep ' 421 ' | tail -n 50

# Count 421 deferrals per destination domain
grep -E 'status=deferred' /var/log/mail.log | grep ' 421 ' \
  | sed -n 's/.*relay=\([^[]*\)\[.*/\1/p' | sort | uniq -c | sort -rn | head

# Check the queue for messages waiting on deferral
postqueue -p | tail -n 20

Look for patterns. If all 421s go to one provider, the cause is almost certainly that provider's policy. If they hit every destination, look at your own side: DNS, resource limits or an outbound firewall. If they appear only at peak hours, your concurrency or rate is the trigger. Correlate with the time of a campaign or a queue backlog. For log reading techniques see reading SMTP logs.

Reproduce it by hand

Open a session yourself from the same server and IP that sends the mail. If the 421 appears at the greeting, it is a connection-level block on that IP.

# Test connection and EHLO
openssl s_client -connect mx.example.net:25 -starttls smtp -crlf

# Or send a test message with swaks
swaks --to [email protected] --from [email protected] \
      --server mx.example.net --port 25 --tls --helo mail.example.com

Test from a different network too. If the same destination accepts a connection from elsewhere but not from your server, the block is tied to your source IP or its reputation. Check blocklists with the blocklist check and verify authentication with the SPF, DKIM and DMARC checker.

How to fix it when you are the sender

  • Cap concurrency per destination. Use a small number of connections per receiving domain and send several messages per connection. See connection pooling.
  • Pace the volume. Spread large sends over time and ramp new IPs gradually. See warm-up.
  • Retry with exponential backoff. Typical schedules start at a few minutes and lengthen over hours, for up to several days. See SMTP retry schedules.
  • Fix identity. Make forward and reverse DNS match, use a HELO name that resolves to your IP and pass SPF and DKIM.
  • Clean the list. High bounce and complaint rates trigger deferrals. Suppress dead and complaining addresses.
  • Read the provider's documentation. Gmail, Yahoo and Microsoft each publish guidance on what their temporary errors mean; follow the specific advice in the reply.

How to fix it when you run the receiving server

If your own server is sending 421 to legitimate senders, check these in order.

  1. Resource exhaustion: CPU, memory, disk space or file descriptors. A full queue disk will produce temporary refusals.
  2. Connection and rate limits configured in the MTA, such as per-client connection limits, being set too low for normal traffic.
  3. Backend dependencies: a database, content filter or policy daemon that is slow or down can cause the MTA to defer.
  4. Maintenance and restarts that close sessions mid-conversation.
  5. Anti-abuse rules that count legitimate mail as suspicious, for example a shared NAT address behind which many users send.

Return 421 deliberately only when you want the sender to come back later. For permanent decisions, use a 5xx code instead.

Troubleshooting table

ObservationLikely causeAction
421 only at connect timePer-IP connection limit or IP blockReduce parallel sessions, check blocklists, test from another IP
421 after many messages in one sessionPer-session or per-minute message capClose and reopen sessions, slow down
421 to one provider onlyProvider policy or reputationFollow that provider's documentation, throttle for that domain
421 everywhere, began after a changeYour DNS, TLS or firewall changeVerify PTR, HELO, certificates and outbound rules
421 that disappears on retryGreylisting or transient loadNo action beyond sensible retry
Messages stuck for daysPersistent reputation problemSee reputation recovery

When to escalate and next steps

Escalate when the same destination defers you for more than a day while all technical checks pass. Contact the receiver's postmaster through the address or form named in the reply, include the full reply text, timestamps with time zone, your sending IP and a sample message ID. A concise, factual report is far more effective than a general complaint.

  1. Capture the exact 421 text and enhanced status code for several examples.
  2. Group by destination and by time to find the pattern.
  3. Lower concurrency and rate for the affected destination.
  4. Verify DNS, authentication and blocklist status.
  5. Let the queue retry; do not resend manually in bulk.
  6. If the deferral persists, contact the receiver with evidence.

Tired of babysitting retries? A managed relay handles per-destination throttling, retry schedules and clear bounce reporting for you.

Explore the SMTP relay

References and further reading

Frequently asked questions

What does SMTP 421 service not available mean?

The receiving server cannot accept your connection now and is closing the channel. It is a temporary failure and the message should be retried.

Is a 421 error permanent?

No. It is a 4xx temporary reply, so a well behaved sender keeps the message queued and retries with increasing delays.

How do I fix 421 try again later?

Read the full text, reduce parallel connections and sending rate to that destination, check authentication and reputation, then let retries run.

Why do I get 421 only from one provider?

That provider is probably applying a rate, reputation or authentication policy to your IP or domain. Follow its specific documentation.

How long should I retry after a 421?

Most mail servers retry for several days with growing intervals. If deferral lasts beyond a day with clean checks, contact the receiver.

Topics#smtp errors#421#deferral#rate limiting#troubleshooting
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales