At a glance
- Type: permanent reply to a command your mail app or client sent, not to a message. Nothing is queued and nothing bounces. The same command fails the same way until the cause is fixed.
- Basic code: varies, or not documented; the provider’s code in the reply text identifies the problem.
- Provider code: the provider’s own, written in the text of its reply. It is not an enhanced status code and is not in the IANA registry.
- Who uses it: Zoho Mail (smtp.zoho.com): the address an app sends from does not match the account, or its aliases, it signed in with.
"Relaying disallowed" is an answer from Zoho's outgoing server to your mail app or program, during sending. Nothing was queued, so no bounce message follows: the app shows the error.
What it means
Zoho's help page on SMTP settings has a section on the "Relaying disallowed" error. It appears when the email address used to send does not match the email address or credentials of the account set up as the outgoing server. Zoho says the address must match the email address or email aliases of that account. Zoho's page gives no numeric reply code with it.
Relaying, in SMTP, is sending mail on behalf of an address the server does not handle for you (RFC 5321 §3.6). Zoho will not do that for an address outside the signed-in account.
Read which server sent the error. If it came from another server further along, not from smtp.zoho.com, the cause is in that server's settings, and this page does not apply.
Common causes
Zoho names these:
- the From address is set as a default in a program or script, and it is not the account's address;
- the address was misspelled when the mail app was set up;
- an event forwarded straight from the Outlook calendar, which Outlook sends with the organizer's address as From.
An app or website that sends with the visitor's address in From (a contact form, for example) runs into the same rule.
How to fix it
- Open the app's outgoing mail settings and compare the From address with the account it signs in to smtp.zoho.com with.
- Correct the address, or add it as an alias of that Zoho account first, then use it.
- In a program or script, change the default From address to the signed-in account or one of its aliases. For a contact form, put the visitor's address in Reply-To instead.
- For an Outlook calendar event, Zoho's workaround is to right-click the event and choose "Forward as Attachment".
- Send again once the settings match.
What to do with the address
Nothing to do with the recipient's address: the error is about your sender settings.