Deliverability

Listmonk "503 5.5.0 Sender already specified": what to do

Listmonk's "503 5.5.0 Sender already specified" means the SMTP server received a second MAIL FROM before the first transaction finished. The GitHub issue has no confirmed fix, so this covers what the code means, how to find the first real failure, workarounds, and how to resend to people who missed it.

Sohail HussainSohail Hussain9 min read

Short answer

  • The SMTP server received a new MAIL FROM while an earlier message transaction on the same connection was still open, so it refused it with a 503.
  • Set the SMTP Max. connections in Listmonk to 1, lower the send rate, and find the first error in the log, because the 503s are usually fallout from it.
  • Then resend only to subscribers who never received the mail, not to the whole list.

You sent a campaign to a small list, Listmonk reported it as sent, and some subscribers say it never arrived. The log is full of this:

503 5.5.0 Sender already specified

The GitHub issue this article draws on (#1629) describes about 750 subscribers, 507 logged errors, and a sendmail server log showing fewer deliveries than Listmonk claimed. Earlier reports in the same issue involved Amazon SES. As far as I could see, the issue was labelled needs-investigation and has no confirmed fix, so what follows is the mechanism the error points to, plus ways to verify it and work around it. Check the issue for newer comments before you rely on any of it.

What the error means

The code has three parts:

  • 503 is the SMTP reply for "bad sequence of commands". If the commands in a transaction are out of order to the degree that they cannot be processed, a 503 failure reply must be returned (RFC 5321 and its current revision draft).
  • 5.5.0 is the enhanced status code for a permanent protocol-level failure with no more specific detail.
  • Sender already specified is the server's wording. It is typical of sendmail; Postfix words the same situation differently (nested MAIL command).

A mail transaction starts with MAIL FROM, then one or more RCPT TO, then DATA. The revision draft says MAIL must not be sent if a mail transaction is already open, and a transaction may be aborted by RSET, a new EHLO, or QUIT. So the server is telling you that the client started a new message without finishing or resetting the last one. You can read the base standard in RFC 5321.

This is a client-sequencing problem seen from the server side. It has nothing to do with SPF, DKIM, DMARC, content or reputation.

Why it happens

I can't point to the exact Listmonk code path, and the issue doesn't confirm one. The most plausible explanation fits the symptoms:

  1. A message fails partway through a transaction (a rejected recipient, a timeout, a dropped or recycled connection).
  2. The client keeps using that connection without sending RSET.
  3. Every later message on it begins with a MAIL FROM the server refuses.

One real failure can therefore become hundreds of 503s. It also explains why a test send to yourself works: a single message never meets a poisoned connection.

Likely causeWhat you see in the logsFix
Connection reused after a failed messageOne real error, then a run of 503sMax. connections 1, lower rate
Server closes idle or busy sessionsClosed session or timeout just before the 503sShorter client idle timeout, check server limits
Server connection or rate limitsDeferrals or "too many connections" shortly before the 503sRaise server limits or slow the send
Relay hop adds its own limitsSame pattern with SES or another relayCheck the relay's quotas and per-connection behavior

Servers also enforce per-connection limits. As one documented example, Exchange send connectors default to a maximum of 20 messages per connection. Sendmail has its own settings, so check what yours does when a session hits a limit.

Step-by-step fixes

1. Find the first error, not the 503s

  1. Open the Listmonk log for the campaign run and scroll to the first failure. Look for a rejected recipient, timeout, or "connection reset" just before the first Sender already specified.
  2. Open your mail server log (often /var/log/maillog or /var/log/mail.log) and look at the same minute. A rejection or closed session right before the 503s supports the cascade theory.
  3. If the first error is something else, such as a full queue or a connection limit, fix that first. The 503s are then fallout.

2. Cut Listmonk to one SMTP connection

  1. Open Settings and find the SMTP tab.
  2. Set Max. connections to 1 for the server you use.
  3. Save, let Listmonk reload, and run a small test campaign.

One connection means a failed message can't poison messages running in parallel. It is slower, but 750 messages is small. Label names differ between Listmonk versions, so search the Settings page rather than trusting my click path.

Test small first

Send to a list of 20 to 50 of your own or staff addresses before the real list. Watch the first errors in both logs, then scale up.

3. Lower the send rate

  1. In Settings, open the Performance tab.
  2. Reduce concurrency and the message rate so sendmail isn't hit with a burst.
  3. If your version has a maximum error threshold, set it low enough that a bad run pauses the campaign instead of burning through the list. Fewer wasted attempts means fewer people marked as failed.

For sizing, see email throttling and rate limits.

4. Align timeouts

If the server closes idle sessions sooner than the client expects, Listmonk may hold a dead connection. Keep Listmonk's idle timeout shorter than the server's. Exchange is a useful reference for how these relate: the receive connector's inactivity timeout must be smaller than its connection timeout. For sendmail, check its own timeout and connection-rate settings.

5. Reproduce by hand

Connect to the server with openssl s_client or telnet on the submission port, authenticate if required, and send MAIL FROM:<a@example.com> twice without finishing the transaction. If the second one returns the same 503, you have confirmed what the server objects to, and that your problem is the client's command sequence.

6. Relay through a managed SMTP provider

Pointing Listmonk at a managed SMTP service removes your self-run sendmail from the path. It is not a guaranteed cure, since the same error was reported by people using SES, so combine it with steps 2 and 3. I'd skip automatic retries as a fix by themselves; retrying on a connection in a bad state just produces more errors.

Recover the people who missed the newsletter

Don't resend to the whole list; people who got it will get it twice.

  1. Pull accepted recipients from the mail log (sendmail logs to= and stat=Sent for delivered mail).
  2. Export your subscribers and subtract the delivered addresses.
  3. Import the remainder into a new list and send a new campaign to only that list.

Compare counts before sending. If the mail log shows fewer deliveries than Listmonk's sent counter, trust the mail log. Also check that Listmonk didn't mark failed recipients as bounced or blocklisted, so a transient protocol error doesn't silently remove real subscribers.

Don't resend blindly

Resending to the full list after a partial send creates duplicates and can raise complaints. Always subtract confirmed deliveries first.

Checklist before you try again

  • You found the first error in the Listmonk log and the matching mail server log entry.
  • SMTP Max. connections is 1, or you have a documented reason for a higher number.
  • Message rate and concurrency are low enough for your server.
  • Client idle timeout is shorter than the server's.
  • A 20 to 50 address test list sent cleanly.
  • The resend list excludes everyone already delivered.

If nothing works

Comment on the Listmonk GitHub issue or open a new one with your Listmonk version, SMTP server and version, your SMTP settings (without passwords), and a log excerpt showing the first failure and the first 503. An SMTP conversation capture is more useful than the error line alone. If a relay such as SES is involved, ask its support about per-connection behavior and quotas.

Subject: Listmonk "503 5.5.0 Sender already specified" on partial campaign send

Version: Listmonk {version}, SMTP server: {sendmail version / relay name}
List size: about 750; errors logged: 507 (503 5.5.0 Sender already specified)
Settings: Max. connections {n}, concurrency {n}, message rate {n}
First error in log: {timestamp and text}
First 503: {timestamp}
Mail server log shows fewer deliveries than Listmonk's sent count.
Tried: Max. connections 1, lower rate, test list of 50.
Can you confirm whether the client sends RSET after a failed message, and
whether connection reuse could cause this?

Where Mailneo fits, and where it doesn't

Mailneo won't fix Listmonk or a misbehaving sendmail. If you'd rather not run the sending stack yourself, Mailneo sends newsletters through mailboxes or providers you connect (Gmail, Outlook, Amazon SES, SendGrid, Postmark, custom SMTP and others) and adds hard bounces and complaints to a suppression list automatically. It still depends on whatever SMTP server you connect, so a bad server stays a bad server. Newsletters need the Professional plan or higher, billed in USD; see the newsletter documentation.

Common questions

Is this a DNS or authentication problem?

No. The reply is about the order of SMTP commands, not about who you are. SPF, DKIM and DMARC aren't involved, though you should still keep them correct, see SPF, DKIM and DMARC setup.

Why does Listmonk say "sent" when mail wasn't delivered?

Listmonk counts messages it handed to the SMTP client and logs the failures it saw. Anything the server accepted and later failed to deliver, or counts that diverge because of the errors above, will differ from your mail log. Trust the mail log for what actually left the server.

Will lowering Max. connections to 1 cost me deliverability?

No. It only slows the hand-off to your SMTP server. For a list of a few hundred to a few thousand addresses the extra time is minutes, and it avoids the failure cascade.

Is this the same as a 503 from Gmail?

Not necessarily. Google lists its own 503 variants, such as 503 5.5.1 Bad sequence of commands, in its Gmail SMTP errors and codes page. The code family is the same; the wording and cause depend on the server that sent it.

deliverabilitylistmonk-open-sourceerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

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

Related Articles

Deliverability

0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed

Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.

Sohail Hussain|10 min read
Deliverability

SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it

`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.

Sohail Hussain|9 min read
Deliverability

421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix

The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.

Sohail Hussain|10 min read
Deliverability

421 4.7.0 IP not in whitelist for RCPT domain: what it means

The error 421 4.7.0 IP not in whitelist for RCPT domain means the recipient's mail gateway, usually Mimecast in reports, only accepts connections from approved IPs, and the Google sending IP isn't on that list. The fix is on the recipient side: their admin must allow the IPs or change the mail routing.

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