Fix "Expected response code 354 but got code 503" in Mautic
This error means your SMTP host rejected the envelope sender Mautic generated for bounce tracking, something like campaigns+bounce_...@example.com, as forged. Turn off Mautic's bounce address, switch to a real bounce mailbox, or move to an SMTP host that accepts plus addressing, then retest.
Sohail Hussain9 min readShort answer
- Your SMTP host rejected the envelope sender (MAIL FROM) that Mautic built, usually a plus-addressed bounce address like campaigns+bounce_abc123@example.com, so every recipient was refused and the DATA step failed with 503.
- Clear Mautic's bounce and monitored-mailbox settings, or point them at a real mailbox the host accepts, then clear the cache and resend.
- If the host never accepts plus addressing, move to an SMTP provider that does or that reports bounces by webhook.
You are sending from Mautic 4.4.x and the log shows this:
Swift_TransportException: Expected response code 354 but got code "503", with message "503-All RCPT commands were rejected with this error: 503-Unexisting, forged or unallowed sender address
Nothing was delivered. The refusal came from your own SMTP host, not from the recipient's mail server. People on the Mautic community forum reported this after upgrading to 4.4.9, so check your version before assuming it matches your case.
What the error means
Read it left to right.
- Expected response code 354: after the recipients are accepted, the client sends
DATAand expects a354reply meaning "go ahead with the message body". If accepted, the SMTP server returns a 354 Intermediate reply. - 503: "Bad sequence of commands". The SMTP standard allows this reply to
DATAin a specific case: if there was no MAIL or no RCPT command, or all such commands were rejected, the server may return 503 or 554. That is what happened here. - All RCPT commands were rejected: the real failure came earlier. The host refused each recipient because it refused the sender.
- Unexisting, forged or unallowed sender address: the host's policy says the
MAIL FROMaddress does not exist or does not belong to the account you authenticated with. The wording is the host's own, so the exact policy differs between hosts.
The protocol background is in RFC 5321.
Why Mautic's bounce address triggers it
Mautic can track bounces with a VERP-style trick. It sets the envelope sender (the Return-Path) to a unique plus-addressed variant of your monitored mailbox, such as campaigns+bounce_abc123@example.com. When a message bounces, the report returns to that address and the tag tells Mautic which contact and email it belonged to. The From: header your readers see does not change.
Many SMTP hosts compare the envelope sender against the authenticated login or the mailboxes on the domain. If the host does not treat +tag as an alias of the base address, it sees an unknown mailbox and calls it forged. Hosts that accept any envelope sender on a verified domain, or that support plus addressing, pass it without complaint.
The VERP approach needs server cooperation by design. One open-source bounce handler puts it this way: configuring the SMTP server to receive those messages is extremely important.
| Cause | Symptom | Fix |
|---|---|---|
| Plus-addressed bounce sender not accepted | Envelope sender in the log contains +bounce_ | Fix 1, 2 or 3 below |
From or default sender not allowed for the login | Rejected address is your plain sender | Check the sender section below |
| Sender mailbox does not exist at the host | Same 503, even from a manual test | Create the mailbox or alias |
| Domain not verified at the relay | Works for some domains, not others | Verify the domain at the provider |
Whether other Mautic versions or settings produce the same address is something I could not confirm from the sources I found.
Confirm the bounce address is the cause
Do this first; it takes a few minutes.
- Find the failing message in the Mautic log under
var/logs/or in the failed-send entry. - Look at the envelope sender. If it contains
+bounce_, this article is your problem. - If the rejected address is your plain
Fromaddress, skip to the sender section below. - Optionally test outside Mautic with
swaks, using your real SMTP credentials and the plus-addressed sender:
swaks --server smtp.example.com --port 587 --tls \
--auth LOGIN --auth-user user@example.com \
--from "campaigns+bounce_test@example.com" \
--to you@gmail.com
If that returns the same 503 and a plain --from user@example.com succeeds, you have confirmed the cause.
Fix 1: turn off the plus-addressed bounce sender
This is the quickest fix, and the one I would try first if you are not reading bounces from a mailbox anyway.
- In Mautic, open the gear menu, then Configuration, then Email Settings.
- Find the bounce-processing area, usually under Monitored Email. Labels vary between 4.4.x builds, so search the page for "bounce".
- Clear the bounce address and monitored-mailbox settings so Mautic stops generating
+bounce_envelope senders. - Save, then clear the cache:
php bin/console cache:clear
Trade-off
Without a bounce address, Mautic cannot match bounce notices to contacts by itself. Hard bounces will not be flagged automatically unless your SMTP provider reports them another way, so keep an eye on your bounce rate.
Fix 2: use a real bounce mailbox
If you want Mautic to keep processing bounces, give it a mailbox the SMTP host accepts.
- Create a real mailbox on your domain, for example
bounces@example.com, and make sure your SMTP user is allowed to send as it. - In Configuration, Email Settings, point the monitored-email bounce settings at that mailbox with its IMAP details.
- Ask your host whether
bounces+anything@example.comis treated as an alias ofbounces@example.com. Many hosts do not do this by default. If you run the mail server yourself, enable subaddressing there. - Run Mautic's fetch command from cron:
php bin/console mautic:email:fetch
If the host will not accept plus addressing at all, this keeps failing and you need Fix 3.
Fix 3: switch to an SMTP service that allows it
Strict shared-hosting SMTP servers are the usual offenders. Providers such as Amazon SES, SendGrid, Mailgun, Postmark or Brevo let you verify a domain and send from addresses on it. They report bounces and complaints themselves, so Mautic does not need the plus-address trick. Check the Mautic documentation for the transport you choose.
One caution from Amazon's documentation: ideally, you should not use a hosted email address to receive bounces. Bounce notices can land in spam or be dropped, which is another reason to prefer provider-side bounce reporting.
| Situation | Pick |
|---|---|
| You do not need automatic bounce handling right now | Fix 1 |
| Your host supports a real mailbox and aliases | Fix 2 |
| Strict shared host, or meaningful sending volume | Fix 3 |
When the sender address itself is the problem
The same 503 can appear when the plain From address is not allowed for the login. Check these:
- The
Fromdomain is one your SMTP account is authorized to send for. - The mailbox exists, if your host requires that.
- The default sender in Mautic's Email Settings matches your SMTP user or an allowed alias of it.
- Your SPF record includes the host, in case a strict provider cross-checks it:
example.com. IN TXT "v=spf1 include:_spf.your-smtp-host.example ~all"
Our SPF generator builds the record, and the SPF glossary entry explains how lookups are counted.
Tip
Use the same domain in the SMTP login, the default sender and the bounce address. Mixed domains are the most common reason a strict host calls an address forged.
Checklist before you try again
- The envelope sender in the log no longer contains
+bounce_, or your host accepts it in theswakstest. - The sender address exists at the host and is allowed for your SMTP login.
- Any bounce mailbox is a real mailbox with working IMAP details.
- You cleared the Mautic cache after saving.
- Failed messages were requeued, because failed sends are not always retried.
After the fix
- Send a test to a Gmail address.
- Open the full headers with the email header analyzer.
- Confirm that
Return-Pathshows the address you expect and that SPF and DKIM pass.
If nothing works
Contact your SMTP provider's support. Include the full error text, the exact envelope sender, the authenticated username, a timestamp with timezone, the server hostname and port, and what you already tried (the swaks result is very useful). Ask one specific question, not "emails are failing".
Subject: SMTP 503 "Unexisting, forged or unallowed sender address" for my account
Hello,
Since {date and time, timezone}, sends through {smtp.your-host.example} as {user@example.com} fail with:
503-All RCPT commands were rejected with this error: 503-Unexisting, forged or unallowed sender address
The envelope sender Mautic uses is {campaigns+bounce_abc123@example.com}. A test with the plain sender {user@example.com} {works / also fails}.
Does this server accept plus-addressed envelope senders for my authenticated account? If not, which envelope senders are allowed?
Thanks,
{name}
Prevent it
- Test the SMTP transport and bounce setup after every Mautic upgrade.
- Keep a real, monitored bounce mailbox, or use a provider that sends bounce and complaint webhooks.
- Remove hard bounces from your lists promptly so a missing bounce handler does not damage your sender reputation. Our suppression list guide covers the process.
Common questions
Is this a Mautic bug or an SMTP host problem?
Both sides are involved. Mautic builds an envelope address that is valid by the standards, and the host's policy rejects it. You fix it by changing either the Mautic setting or the host.
Will my emails still be delivered if I disable the bounce address?
Yes. The From address and the content do not change. You lose automatic bounce matching, not delivery.
Why 503 and not a 550 or 553 error?
A server can reject the sender at MAIL FROM, reject each recipient, and then answer DATA with 503. The standard permits that when every recipient was rejected. The rejection reason is in the earlier lines of the reply.
Does a plain SPF or DKIM failure cause this error?
Not on its own. This error is about the envelope sender your host accepts. Authentication failures show up later, at the recipient's server.
Explore: Email Deliverability
Related Articles
454-4.7.0 Too many login attempts: XOAUTH2 on Google Workspace
The error 454-4.7.0 Too many login attempts means Google is rate-limiting SMTP logins from your account or server. Stop the queue, wait, then resend slowly over fewer, reused connections. For bulk mail to a large list, use a sender built for it, not a Workspace mailbox.
Mautic + Mailrelay: 550 [E3] sender's email is not confirmed
Mailrelay returns 550 [E3] when the sender address it receives is not confirmed in your account. With Mautic, the likely culprit is a rewritten bounce return-path with a plus-addressed tag. Confirm the exact sender in Mailrelay, or stop Mautic from rewriting the envelope sender, then resend.
Mautic 554 5.5.1 no valid recipients: sender not owned by user
The Mautic error 554 5.5.1 Error: no valid recipients usually follows 553 5.7.1 Sender address rejected: not owned by user. Your SMTP server refused the From address because it doesn't belong to the login. Set Mautic's From address to the mailbox you authenticate with, or register it as an allowed sender at your host.
Yahoo 554 5.7.9 soft bounce spike: causes and fixes
A sudden soft bounce spike on Yahoo addresses with 554 5.7.9 is usually a policy block on your message or sending reputation, not dead mailboxes. Read the SMTP reason text instead of your ESP's bucket, reset soft bounce counters on successful delivery, and fix the trigger before suppressing anyone.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free