Fix email delivery issues for error code 5.7.12 in Exchange Online

It's frustrating when you get an error after sending an email message. This topic describes what you can do if you see status code 550 5.7.12 or 5.7.12 in a non-delivery report (also known as an NDR, bounce message, delivery status notification, or DSN). You'll see this automated notification when the recipient is configured to reject messages that are sent from outside of its organization.

Email user icon I got this bounce message. How do I fix it? Email admin icon I'm an email admin. How do I fix this?

I got this bounce message. How do I fix it?

Only an email admin in the recipient's organization can fix this issue. Contact the email admin and refer them to this information so they can try to resolve the issue for you.

I'm an email admin. How do I fix this?

The two methods that will allow an external sender to send messages to the recipient in your organization are described in the following sections.

To open the Exchange admin center (EAC), see Exchange admin center in Exchange Online.

Method 1: Allow all internal and external senders to send messages to this recipient

Open the EAC and use one of the following procedures based on the recipient type:

  • User mailboxes:

    1. Go to Recipients > Mailboxes > select the mailbox from the list, and then click Edit Edit icon.

    2. In the mailbox properties dialog box that opens, go to Mailbox features > Message Delivery Restrictions > and then click View details.

    3. In the Message delivery restrictions dialog box that opens, clear the check box for Require that all senders are authenticated in the Accept messages from section.

    4. Click OK, and then click Save.

  • Groups (distribution groups, mail-enabled security groups, and dynamic distribution groups):

    1. Go to Recipients > Groups > select the group from the list, and then click Edit Edit icon.

    2. In the group properties dialog box that opens, go to Delivery management > select Senders inside and outside of my organization.

    3. Click Save.

  • Mail users:

    1. Go to Recipients > Contacts > select the mail user from the list, and then click Edit Edit icon.

    2. In the mail user properties dialog box that opens, go to Mailbox flow settings and then click View details in the Message Delivery Restrictions section.

    3. In the Message delivery restrictions dialog box that opens, clear the check box for Require that all senders are authenticated in the Accept messages from section.

    4. Click OK, and then click Save.

  • Shared mailboxes:

    1. Go to Recipients > Shared > select the shared mailbox from the list, and then click Edit Edit icon.

    2. In the shared mailbox properties dialog box that opens, go to Mailbox features > Message Delivery Restrictions > and then click View details.

    3. In the Message delivery restrictions dialog box that opens, clear the check box for Require that all senders are authenticated in the Accept messages from section.

    4. Click OK, and then click Save.

Method 2: Use the recipient's allowed senders list

Instead of allowing all external senders to send messages to this recipient, you can use the recipient's allowed senders list to selectively allow messages from all internal senders and the specified external senders.

Notes:

  • To add an external sender to a recipient's allowed senders list, you must first create a mail contact or a mail user to represent the external sender in your organization.

  • To add everyone in your organization to a recipient's allowed sender's list, you can create a distribution group or a dynamic distribution group that contains everyone in your organization. After you create this group, you can add it to the recipient's allowed senders list.

  • The recipient's allowed senders list is completely different from the organization's allowed senders list for anti-spam that you manage in the EAC at Protection > Spam filter.

To configure the recipient's allowed senders list, open the EAC and use one of the following procedures based on the recipient type:

  • User mailboxes:

    1. Go to Recipients > Mailboxes > select the mailbox from the list, and then click Edit Edit icon.

    2. In the mailbox properties dialog box that opens, go to Mailbox features > Message Delivery Restrictions > and then click View details.

    3. In the Message delivery restrictions dialog box that opens, configure the following settings in the Accept messages from section:

      • Clear the check box for Require that all senders are authenticated.

      • Select Only senders in the following list, and then click Add Add icon. In the Select Members dialog box that opens, select and add the external senders and the all internal users group. When you're finished, click OK.

        Add an allowed sender in the Admin center to help solve DSN 5.7.136

    4. Click OK, and then click Save.

  • Groups (distribution groups, mail-enabled security groups, and dynamic distribution groups):

    1. Go to Recipients > Groups > select the group from the list, and then click Edit Edit icon.

    2. In the group properties dialog box that opens, go to Delivery management and configure the following settings:

      • Select Senders inside and outside of my organization.

      • Click Add Add icon. In the Select Allowed Senders dialog box that opens, select and add the external senders and the all internal users group. When you're finished, click OK.

    3. Click Save.

  • Mail users:

    1. Go to Recipients > Contacts > select the mail user from the list, and then click Edit Edit icon.

    2. In the mail user properties dialog box that opens, go to Mailbox flow settings and then click View details in the Message Delivery Restrictions section.

    3. In the Message delivery restrictions dialog box that opens, configure the following settings in the Accept messages from section:

      • Clear the check box for Require that all senders are authenticated.

      • Select Only senders in the following list, and then click Add Add icon. In the Select Members dialog box that opens, select and add the external senders and the all internal users group. When you're finished, click OK.

    4. Click OK, and then click Save.

  • Shared mailboxes:

    1. Go to Recipients > Shared > select the shared mailbox from the list, and then click Edit Edit icon.

    2. In the shared mailbox properties dialog box that opens, go to Mailbox features > Message Delivery Restrictions > and then click View details.

    3. In the Message delivery restrictions dialog box that opens, configure the following settings in the Accept messages from section:

      • Clear the check box for Require that all senders are authenticated.

      • Select Only senders in the following list, and then click Add Add icon. In the Select Members dialog box that opens, select and add the external senders and the all internal users group. When you're finished, click OK.

    4. Click OK, and then click Save.

Still need help with error code 550 5.7.12?

Get help from the Office 365 community forums

Admins: Sign in and create a service request

Admins: Call Support

See also

Email non-delivery reports in Exchange Online