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

SMTP Error 553: Sender Address Rejected, Not Owned by User

SMTP 553 "sender address rejected: not owned by user" means the From or envelope sender does not match the authenticated login. Learn the causes, Postfix and provider fixes, and how to avoid it.

CB
Written by Chloe Bennett
Customer Success Manager, Migrations
Reviewed by Daniel Whitfield
  • Published3 Aug 2024
  • Read time7 min
  • Length1,480 words
Share this guide

The error "553 5.7.1 Sender address rejected: not owned by user" means the SMTP server authenticated you as one account but you asked it to send mail from an address that account is not allowed to use. The check happens at the MAIL FROM command, on the envelope sender. The server compares the address you gave with the login you authenticated as, finds no permission, and refuses the transaction before any message is transferred.

This is a configuration problem, not a delivery problem. Either change the sender address to one the login owns, or change the server (or provider account) so that the login is allowed to send as that address. This guide explains how the check works in common systems, shows the Postfix configuration that produces it and its fix, and covers the provider-specific variants for hosted services.

MeaningThe authenticated user is not permitted to use this sender address
Where it firesAt MAIL FROM, before DATA
Quick fixesSend from the account's own address, or authorise the address or alias for that login
Related codes553 5.1.3 (bad address syntax), 553 5.1.8 (bad sender domain), 550 5.7.60 on Microsoft 365

What 553 means

RFC 5321 defines 553 as "requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)". Servers use it for two situations: the address is syntactically wrong, or the address is not acceptable in context. The "not owned by user" wording belongs to the second. It is common on shared hosting, cPanel and Postfix servers, and on any submission service that ties senders to logins to stop users from forging each other's addresses. It is a permanent (5xx) reply for that attempt.

MAIL FROM:<[email protected]>
553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]

The reply often names the authenticated user, which is the quickest way to see the mismatch: you logged in as [email protected] but asked to send as [email protected].

The two sender addresses involved

Every message has an envelope sender (MAIL FROM, which receives bounces) and a header From (what the recipient sees). The 553 check normally looks at the envelope sender, although some servers also check the header From. Libraries frequently set them to different values, and that is a classic cause: the application sets the header From to the brand address, while the library uses the SMTP login as the envelope sender, or the other way around. See envelope from and Return-Path versus From.

ValueSet byChecked by 553 rule
Envelope sender (MAIL FROM)SMTP client library or application optionYes, in most configurations
Header FromMessage headersSometimes, if the server enforces it
Authenticated loginAUTH commandThis is what the sender must match
Return-Path in delivered messageAdded by the final server from MAIL FROMNo, it is a record of the envelope sender

Cause 1: From differs from the login

The simplest case. A web form, CMS or script authenticates as one mailbox and sends from another address, often no-reply@ or info@. If those are separate mailboxes or aliases the login has not been granted, the server refuses them.

  1. Look at the 553 text for the authenticated user.
  2. Compare it with the envelope sender your application uses. Many libraries have a separate setting, such as a return path or envelope sender option.
  3. Either log in as the account that owns the address, or send from the login's own address and set a Reply-To for the public address. See Reply-To.
  4. If you need several From addresses, add them as aliases of the account, or create a send-as permission, as described below.

Cause 2: Postfix sender login maps

On Postfix, this message is produced by reject_sender_login_mismatch together with a map of which logins own which addresses. The configuration below rejects mismatches and allows the listed mappings.

# /etc/postfix/main.cf
smtpd_sender_login_maps = hash:/etc/postfix/sender_login_maps
smtpd_sender_restrictions =
    reject_sender_login_mismatch,
    permit_sasl_authenticated

# /etc/postfix/sender_login_maps
# envelope sender address        login(s) allowed to use it
[email protected]                 [email protected]
[email protected]               [email protected], [email protected]
@example.org                     [email protected]
postmap /etc/postfix/sender_login_maps
postfix reload

# Test what Postfix would do
postmap -q [email protected] hash:/etc/postfix/sender_login_maps

If the address is missing from the map, the login is rejected with exactly this message. Add the line, rebuild the map with postmap, and reload. If you use a database-backed virtual domain setup, point smtpd_sender_login_maps at the same table that defines mailboxes and aliases, so owners are derived automatically. Order matters in smtpd_sender_restrictions: place the mismatch check where only authenticated sessions reach it, to avoid rejecting unauthenticated inbound mail incorrectly. For relay setup on Postfix see Postfix SMTP relay.

Cause 3: hosting panels and shared servers

Shared hosting providers enforce the rule to stop customers on the same server from forging each other's domains. cPanel and similar panels typically require the sender to be a mailbox or forwarder you own in the account, and may check the header From as well. Create the missing address as a mailbox or forwarder in the panel, or send from an existing one. Server mail scripts that call mail() or sendmail directly are subject to the same checks. See server mail scripts and PHPMailer SMTP setup.

Cause 4: hosted email providers

Large providers prevent authenticated users from using arbitrary senders, with their own wording.

ProviderWhat you seeFix
Gmail SMTPMessage sent but From rewritten to the account addressAdd the address as a verified Send mail as alias in the account settings. See Gmail SMTP settings
Microsoft 365550 5.7.60 SMTP; Client does not have permissions to send as this senderGrant Send As permission on the mailbox, or send as the login. See Send As and on behalf
Sending service with domain verificationSender rejected until the domain or address is verifiedVerify the domain. See verifying your sending domain
Hosting mail server553 5.7.1 not owned by userCreate the mailbox or alias and authorise it for the login

Menu names and permission models in these products change, so confirm the steps in the provider's current documentation.

  • 553 5.1.3 invalid address. The address syntax is wrong, such as a missing @, spaces or an illegal character. Fix the address string, and check for stray angle brackets or display names in an address-only field.
  • 553 5.1.8 bad sender's system address. The sender domain does not resolve. See sender domain not found.
  • 553 sorry, your envelope sender has been denied. Policy: the sender address or domain is on a deny list for this server.
  • 553 mailbox name not allowed. A generic form that might refer to either the sender or recipient, depending on the command that triggered it.
  • 553 relaying not allowed. The recipient is external and you are not authorised to relay. See relay access denied.

Test and verify

Reproduce the rejection with swaks, which makes the envelope sender and the authenticated user explicit and separate.

swaks --server smtp.example.com --port 587 --tls \
  --auth LOGIN --auth-user [email protected] --auth-password 'secret' \
  --from [email protected] --to [email protected] \
  --header 'From: News <[email protected]>' --header 'Subject: sender test'

If this reproduces the 553, change --from to the login address and confirm it succeeds. That tells you the login works and only the sender permission is missing. After fixing, send a real message and check the headers of what arrives: the Return-Path should be the envelope sender you intended and the From should show your public address. See reading email headers.

Do not forget authentication alignment

Fixing the 553 gets the message accepted by your own server. Whether it reaches the inbox is a separate question. If the From domain differs from the domain that signs with DKIM or the domain used in the envelope sender, DMARC alignment fails at the recipient. Make sure SPF and DKIM are set up for the From domain. See DMARC alignment and authenticating your sending domain.

Troubleshooting table

SymptomLikely causeAction
553 on every message from one scriptEnvelope sender is not the loginSet the library's envelope sender or login to match
553 only for some From addressesOnly some addresses are mappedAdd the missing mappings or aliases
553 after migrating to a new serverSender login maps not copiedRecreate maps and run postmap
Works from the mail client, fails from the CMSClient uses the login address as sender, CMS uses anotherAlign the CMS From setting
Accepted but From shows a different addressProvider rewrote the FromAdd a verified send-as alias
553 5.1.3Syntax problem in the addressRemove display names, spaces and brackets from the address field

Next steps

Decide on a sender model once. The cleanest is one verified domain, a small set of authorised addresses per credential, and a Reply-To for anything else. Document which application uses which login and which sender address, and add a test message to your deployment checks so a mapping gap is found before customers see it.

Send from verified domains and addresses Verify your domain once, then send from any address on it with authenticated SMTP or the API.

Explore the SMTP relay

References and further reading

Frequently asked questions

What does 553 sender address rejected not owned by user mean?

The authenticated SMTP login is not permitted to send from the address in MAIL FROM, so the server refused the transaction.

How do I fix 553 not owned by user?

Send from the login's own address, or authorise the address for that login with an alias, sender login map or send-as permission.

Is the header From or envelope sender checked?

Usually the envelope sender (MAIL FROM) is checked, though some servers also enforce the header From.

Why does it happen after I migrate servers?

Sender login maps or aliases are often not copied, so addresses that used to be permitted are now unowned.

Does fixing 553 guarantee inbox delivery?

No. It only gets the message accepted by your server. SPF, DKIM and DMARC alignment still decide acceptance at the recipient.

Topics#smtp errors#553#sender address#authentication#postfix
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