550 5.7.1: Relaying denied, proper authentication required
550 5.7.1 “Relaying denied,” or 554 5.7.1 “Relay access denied,” means the mail server you send through won’t pass your email on to an address at another domain, usually because your program didn’t sign in to it. A server takes email for its own domain from anyone, but carries it on to other domains only for users who sign in. The address and your email are fine: the fix is in your program’s outgoing server settings.
Any mail server
550 5.7.1 <emily.carter@example.com>... Relaying denied. Proper authentication required.
- 554 5.7.1 <emily.carter@example.com>: Relay access denied
- 550 5.7.1 Unable to relay
- 550 relay not permitted
Why it happens in a mail merge
Carrying email on to another domain is called relaying. Postfix’s documentation, for one, has the mail server relay only for computers on its own network and for programs that signed in, and refuse the rest, with 554 as its default code. Microsoft’s list of delivery errors gives the same refusal as 5.7.1 “Unable to relay”: a program that should relay through the server doesn’t have permission to.
A mail merge meets it when the program sending it connects without signing in: outgoing authentication left off, a user name or password missing, or the wrong port. Spamhaus, whose block list many servers consult when a connection doesn’t sign in, says most company and internet-provider mail servers require sign-in. Turning SMTP authentication on, it says, is usually all it takes. Emails to colleagues on your own domain can go through all the same, since the server delivers those itself.
How to fix it
- Turn on SMTP authentication
In your mail program’s or app’s account settings, open the outgoing (SMTP) server and turn on authentication, so it signs in before it sends.
- Check the server, user name and password
That’s Spamhaus’s checklist: the outgoing server’s host name, your user name and your password. Zoho, for one, wants the full email address as the user name. Gmail takes only an app password from other programs: the steps are in how to make a Gmail app password.
- Use port 587 or 465
Spamhaus says sign-in should go through port 587 or 465, not 25: 587 with STARTTLS, 465 with SSL/TLS, as your provider lists them.
- Send from the account’s own address
Some servers also refuse to relay for an address other than the one signed in. Zoho, for one, needs the From address to be the account’s own or one of its aliases.
What DearByDear does
DearByDear always signs in to your mail server before it sends, with the mailbox’s password or app password kept in your computer’s credential store, and only over an encrypted connection, TLS or STARTTLS. For Gmail, Yahoo, iCloud, Zoho and GMX it fills in the server, port and encryption itself; for any other server you type them in, and it won’t save one without encryption. It tries the sign-in when you add the mailbox under Accounts, so a refused password shows there, before any merge. Microsoft 365 and Outlook.com mailboxes don’t send by SMTP at all: they go through Microsoft after “Sign in with Microsoft.”
A server can still refuse to relay for a signed-in account, as Zoho does when the From address isn’t the account’s own. It answers when an email goes to someone at another domain: DearByDear marks that email as failed, with the server’s reply, and goes on to the next person, putting nobody on the Do-Not-Disturb list. If they all fail the same way, correct the account’s settings, then resend the failed emails from the send log.
Questions about 550 5.7.1
What does 550 5.7.1 “Relaying denied” mean?
That the server you send through wouldn’t carry your email on to another domain, because it didn’t know who you were. Other servers use 5.7.1 for other refusals, such as Gmail’s likely unsolicited mail, so read the words after the code: “relay” points to your sign-in.
How do I fix 554 5.7.1 “Relay access denied”?
The same way as 550: turn on SMTP authentication for the outgoing server, sign in with your user name and password, or an app password where your provider asks for one, and use port 587 or 465. 554 is the code Postfix gives this refusal by default.
Why do emails to my colleagues go through, but not to anyone else?
Because a server delivers email for its own domain whoever sends it: only email leaving for other domains needs you to sign in. So a merge sent without authentication can reach the people at your own company and fail for everyone else.
What does Zoho’s “553 Relaying disallowed” mean?
Zoho says its Relaying Disallowed error comes when the email address or sign-in in your program doesn’t match your account’s: a misspelled address, or one a program uses by default. The address you send from has to be the account’s own or one of its aliases. Correct it in the program’s settings: the email coming to you isn’t affected meanwhile.
Sources
Each provider’s own pages, read on November 5, 2026. The error texts and the fixes are the providers’ own: if they change their wording, theirs is right.