Deliverability

Mailgun Error 420: Domain Is Not Allowed to Send (Fix)

The Mailgun error "Domain is not allowed to send: recipient limit exceeded, try again after" means Mailgun has put a temporary hold on your sending domain until the timestamp shown. It is usually not a plan quota. Check account status and logs, rotate your API key, confirm domain and region, then contact support.

Sohail HussainSohail Hussain9 min read

Short answer

  • Mailgun has temporarily disabled your sending domain. Mailgun says it does this when internal thresholds are exceeded, so your plan's send count is not necessarily the cause.
  • Check the Mailgun Control Panel for a red banner, read your sending logs for traffic you did not send, and change your API key if anything looks wrong.
  • Then open a support ticket with the domain, the full error text and the "try again after" time.

You are probably here because Ghost, or another app that sends through Mailgun, showed you this:

Mailgun Error 420: Domain mg.example.com is not allowed to send: recipient limit exceeded, try again after Tue, 02 Sep 2025 17:45:36 UTC

One Ghost owner who hit it in September 2025 said they had used only 32 of their 1,000 free sends. That is why it confuses people. It reads like a quota error, but the domain was blocked, not the plan allowance.

What the message tells you

  • Domain ... is not allowed to send: the block sits on the sending domain, not on one message or one recipient.
  • recipient limit exceeded: some recipient-related limit on Mailgun's side was crossed. I can't see which internal rule fired for your domain, and I don't know of a published number for it. Only Mailgun can tell you.
  • try again after {date}: a timed hold. If the cause is still there when the time passes, expect the block to come back.

I can't point to a Mailgun page that defines a "420" code for this message, so don't search on the number. Search on the message text, and give that text to support.

Why it happens

Mailgun's help center says it has thresholds in place that, if exceeded, result in a domain being temporarily disabled. It describes them as protection against a spammer compromising your system or someone in your organization making a large mistake. Based on that page and the related ones, these are the causes that fit, most likely first.

  1. A bad mailing list. Mailgun's domain disabled article names this as the number one reason it sees people blocked, and says such lists tend to contain bad addresses and spam traps. A first big send to an imported or old list from a new domain fits.
  2. A high bounce rate. Mailgun's "Poor mailing list" article says the domain is automatically disabled when the percentage of bounced messages gets too high.
  3. A compromised key or app. Someone sending through a leaked key can trip the same thresholds. People on Ghost's community forum suggested this for the reported case; it was not confirmed.
  4. Business verification. Mailgun says a disabled account will very likely need to go through its business verification process to be re-enabled.
  5. A custom message limit you set yourself. Mailgun has an account-level custom message limit; once it is reached, the account is disabled. That is something an admin would have configured.
  6. The app points at a different account or region. People on the same forum thread suggested Ghost might be using a different Mailgun account than the one the owner was looking at. Unconfirmed, but cheap to rule out.
CauseWhat you seeFix
Bad list or high bouncesMany bounces in the logsClean the list, then contact support
Compromised keyMessages you did not sendChange the key, then contact support
Business verificationRed banner in the Control PanelComplete the verification form
Custom message limitAccount disabled at a set countReview the limit in the account settings
Wrong account or regionDomain missing under the login you checkCorrect the app config

Step-by-step fixes

1. Check the Mailgun account for a banner

  1. Log in to the Mailgun Control Panel.
  2. Look for a red banner at the top. Mailgun's business verification article says it reads that the account is temporarily disabled or rate limited, with a link to a business verification form.
  3. Check the account owner's inbox, including spam, for a message from Mailgun. Administrators are emailed when a custom message limit disables an account.
  4. If you have more than one login or team, confirm the domain from the error is listed under the account you are inspecting.

2. Read the sending logs

  1. Open the logs in the Control Panel and look at the last few days.
  2. Look for subjects or recipients you do not recognize, and bursts at odd hours. A real newsletter appears as one batch when you pressed send.
  3. Count bounces in that batch. Many bounces point to a list problem rather than a compromise. Mailgun suggests checking the logs for bouncing mail and the suppression list for addresses it stopped sending to.

Check the region in the logs

Mailgun keeps EU events separate from US events. If the logs look empty, make sure the correct region is selected before you conclude nothing was sent.

3. Change the API key if anything looks off

Mailgun's guidance is that if you think your application has been compromised, you should change your SMTP credentials or API key in the control panel.

  1. In the Mailgun Control Panel, open the API keys area (search the dashboard for "API keys" if the menu has moved).
  2. Create a new private API key and delete the old one.
  3. Put the new key in your app config and deployment secrets, and remove it from any old .env file or repository where it may have been committed.
  4. Change the Mailgun account password and turn on two-factor authentication if it is off.

Changing the key does not lift an existing hold. It stops further misuse and gives support a cleaner story.

4. Confirm the app uses the right domain and region

Mailgun's API base URL depends on the region. According to Mailgun's getting started article, the US base URL is https://api.mailgun.net/ and the EU one is https://api.eu.mailgun.net/. A domain created in one region will not be found at the other region's endpoint.

In Ghost Admin, open the newsletter email settings and check the Mailgun region, domain and private API key. On self-hosted Ghost, the same values live in the bulkEmail section of the config file:

"bulkEmail": {
  "mailgun": {
    "baseUrl": "https://api.mailgun.net/v3",
    "apiKey": "your-private-api-key",
    "domain": "mg.example.com"
  }
}

For an EU domain, use https://api.eu.mailgun.net/v3 as the baseUrl. Restart Ghost after editing. The domain must match the domain in the error exactly, and the key must belong to the account that owns it.

5. Clean the list before the next send

Mailgun's advice for lowering bounce rates, from its bounce rate article, is short:

  • clean invalid addresses out of the list
  • send only to people who signed up
  • use confirmed opt-in
  • do not buy lists or scrape websites

Also check that SPF and DKIM show as verified for the sending domain in Mailgun, since a half-configured domain is a poor starting point.

6. Complete business verification if the banner asks for it

If the banner offers the form, fill it in. For a poor-list block, Mailgun asks you to explain how you collect addresses and to link any signup form or web portal. It also asks what types of emails you send and whether your addresses are double opt-in. Answer with specifics; vague answers slow things down.

Do not keep retrying

Resending repeatedly while the domain is disabled fixes nothing and adds noise to a domain already under review. Wait for the timestamp, or get support to lift the hold first.

Checklist before you try again

  • You have read the banner and any Mailgun emails, and acted on them.
  • The logs show no messages you did not send.
  • The API key was replaced and the old one deleted.
  • The app config matches the domain, region and account in the error.
  • The list is cleaned, and every recipient opted in.
  • SPF and DKIM show as verified.
  • The "try again after" time has passed, or support has lifted the hold.

If nothing works

Mailgun support is the only party that can see which rule fired. Open a ticket from your Mailgun account and include:

  • the full error text with the domain and the "try again after" timestamp
  • the account email and the sending domain
  • the time of the failed send and roughly how many recipients were on the list
  • where the list came from, and a link to the signup form if there is one
  • what you already did (logs reviewed, key replaced, config checked)
Subject: Domain disabled: "recipient limit exceeded"

Hello Mailgun team,

Sending from mg.example.com (account: you@example.com) fails with:
"Mailgun Error 420: Domain mg.example.com is not allowed to send: recipient limit exceeded, try again after Tue, 02 Sep 2025 17:45:36 UTC"

The failed send was a newsletter to about 1,000 recipients at around 17:00 UTC. Recipients opted in through our signup form: {link}.
I reviewed the sending logs and found no traffic I did not send. I replaced the API key on {date} and confirmed our app uses the correct region and domain.

Which threshold triggered the hold, and what do you need from us to re-enable sending and prevent a repeat?

Thank you

If the newsletter is not urgent, waiting for the timestamp is the cheapest option. Once sending resumes, watch bounces and complaints on the next few sends; a hold that expires while its cause remains will return.

Common questions

Why did this happen when I used only a few of my free sends?

The block comes from a protective threshold on the domain, not from your plan's monthly allowance. Mailgun describes the thresholds as safeguards against compromise or a large mistake, so a low send count does not rule one out.

Will the hold lift by itself?

It may lift at the timestamp, but if the cause remains it can return. If the Control Panel shows a business verification banner, that step needs to be completed with Mailgun.

Could a second Mailgun account be the problem?

Possibly. If you have more than one login, confirm the domain from the error appears in the account you are checking, and that the API key and region in Ghost belong to that same account.

Does the region matter?

Yes. US and EU use different API hosts, and Mailgun keeps their logs separate. A wrong region can make a domain look missing or a log look empty.

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