Error: 530 5.7.1 "You are not authorized to send mail as..."

Created by Curtis Hammock, Modified on Sun, 15 Nov at 7:22 PM by Curtis Hammock

If you receive a bounce notice or SMTP rejection when trying to send an email, your message was blocked because the sender address (From: header or MAIL FROM envelope) is not authorized for the mailbox user you authenticated with.


Exact Error Messages

Depending on whether the rejection occurred on the SMTP envelope or the message From: header, you may see one of the following errors:

  • 530 5.7.1 You (user@yourdomain.com) are not authorized to send mail as other@yourdomain.com (rejected on the message From: header).
  • 503 5.7.1 You (user@yourdomain.com) are not authorized to send mail as other@yourdomain.com (rejected on the MAIL FROM SMTP envelope).
  • 503 5.7.1 Cannot send mail from [domain]: domain not owned by your account (attempting to send from an external domain not registered under your Purelymail account).
  • 501 5.1.7Multiple From headers are not allowed or 501 5.1.7Sender address is not valid (malformed or duplicate From: headers generated by a script or app).

Why This Error Happens & How to Fix It

To prevent address spoofing and protect domain deliverability, Purelymail verifies that authenticated users only send from domains owned by your account and permitted by your account's sending policies:

  1. Sending from an Unowned External Domain (503 5.7.1 domain not owned by your account):
  2. Account Sending Restrictions Enabled (530 5.7.1 / 503 5.7.1):
    • By default, Purelymail sets Settings > Sending Restrictions to Let users send from whoever they want, which allows any user on your account to send from any address on custom domains owned by your account.
    • However, if your administrator selected Restrict who users can send as under Settings > Sending Restrictions, each user can only send from their own mailbox address unless an explicit Send As Policy permits them to send as the target alias or address.
    • To fix this, log into the Account Admin portal, go to Settings > Sending Restrictions (purelymail.com/manage/account), and add a Send As Policy authorizing your user to send from the desired address. See Account Settings & Security Policies.
  3. Sending from a Shared Domain (@purelymail.com, @rethinkmail.com, etc.):
    • On Purelymail's shared domains, a user can only send from their exact owned shared-domain username (plus any subaddressed tag like user+tag@purelymail.com), never from another handle on a shared domain.

Still Need Help?

If you've followed these steps and are still running into trouble, check our Purelymail Support guide.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article