Troubleshooting Undeliverable Emails with Error 550-5.7.367 in Office365

Abstract: Resolve Office365 error 550-5.7.367 by fixing unauthorized relay issues caused by misconfigured third-party apps, missing Send As permissions, or incorrect connector settings.

Created: 2026-10-02 by

Error 550-5.7.367 in Office 365 occurs when a message is rejected because the sending client or server is not authorized to relay mail through the tenant. This usually happens when external devices, third-party applications, or misconfigured connectors attempt to send email without proper authentication or when they are blocked by anti-spam policies designed to prevent unauthorized relay attempts.

Understanding the Error Code

The specific error code 550-5.7.367 indicates that the recipient's mail system has rejected the message due to an unauthorized relay attempt. In the context of Microsoft Exchange Online and Office 365, "relay" refers to the process where a mail server accepts a message from a sender and forwards it to another destination. While internal users typically authenticate directly against their mailbox, external entities must prove they are allowed to send on behalf of your domain. If this proof is missing or invalid, the server returns this rejection to stop potential spam or spoofing.

This issue often confuses administrators because it can appear as if the user’s password is wrong, but the root cause is almost always related to how the mail flow is configured rather than individual account credentials. It is critical to distinguish between a simple authentication failure (like bad password) and a policy-based rejection like 550-5.7.367, which specifically targets the relay mechanism itself.

Common Causes for Unauthorized Relay

There are several scenarios where this error manifests. Identifying the correct scenario allows you to apply the right fix without disrupting other services.

  • Third-Party Applications: Many legacy applications or IoT devices do not support modern authentication methods like OAuth2. They often try to connect using older protocols or basic authentication over SMTP without properly authenticating first, leading to a relay rejection.
  • Incorrect Send As Permissions: If a shared mailbox or resource account is being used to send email, the account attempting to send must have explicit "Send As" permissions. Without these, the system views the action as an unauthorized relay attempt.
  • Misconfigured Connectors: Hybrid environments or custom connectors might be routing traffic incorrectly. If a connector is set to accept mail from untrusted sources without requiring authentication, it may trigger this error when those sources try to relay.
  • Anti-Spam Policy Settings: The default anti-spam policies in Exchange Online are aggressive. If a sender’s IP address is not recognized or if the message headers suggest spoofing, the policy may block the relay before it even reaches the mailbox.

Solving Third-Party Application Issues

If you suspect a specific application or device is triggering this error, you need to verify its connection settings. Most modern Office 365 setups require apps to use OAuth2, but some older tools still rely on Basic Authentication. Microsoft has been phasing out Basic Auth, so many of these connections now fail with relay errors.

To resolve this, check the application’s documentation for supported authentication methods. If the app supports OAuth2, configure it to use the standard Office 365 login flow. If it only supports Basic Authentication, you may need to enable it for that specific user account via the Microsoft 365 admin center, though this is less secure. Alternatively, consider replacing the legacy application with one that supports modern security standards.

If you are managing Outlook profiles for users who encounter this while configuring accounts, ensure that the SMTP settings match the current Office 365 requirements. For more details on managing Outlook configurations, you might find How to Display a New Item Alert Window in Outlook helpful for general troubleshooting steps.

Checking Send As Permissions

When a user sends email from a shared mailbox, delegate, or resource account, the sending identity must be explicitly permitted. If the "Send As" permission is missing, Exchange treats the request as an unauthorized relay attempt because the sender is not the owner of the mailbox.

To fix this, navigate to the Exchange Admin Center. Go to Recipients and select the shared mailbox or group in question. Under the Mail Flow tab, click Manage Send As. Add the user or service account that needs to send email from this address. After adding the permission, wait up to 60 minutes for replication across all servers, then test the email delivery again.

If you are dealing with complex delegation issues, understanding how conversations are handled can be useful. For instance, if you notice conversation history loss between different clients, such as Troubleshooting Conversation History Loss Between Outlook and Samsung Android Clients, ensuring proper permissions helps maintain consistency in mail flow.

Reviewing Anti-Spam Policies

If the above steps do not resolve the issue, the problem may lie within the anti-spam policies. These policies filter incoming and outgoing mail based on reputation, content, and sender verification. A strict policy might reject a legitimate message if it fails SPF, DKIM, or DMARC checks, interpreting it as a spoofed relay attempt.

Check the Message Trace feature in the Exchange Admin Center. Look for the failed message and examine the detailed trace information. It will show exactly which policy blocked the message and why. If the block reason mentions "Relay Access Denied," it confirms the authorization issue. You may need to adjust the anti-spam policy to allow specific IPs or domains, but this should be done cautiously to avoid opening your tenant to spam.

Verifying Connector Configurations

In hybrid deployments, connectors define how mail moves between on-premises servers and Office 365. If a connector is misconfigured to accept mail from any source without requiring TLS or authentication, it can lead to relay errors when external parties try to send mail through it.

Review your inbound and outbound connectors in the Exchange Admin Center. Ensure that the IP addresses listed in the trusted senders list are accurate. Remove any unused or incorrect IP entries. If you are using a third-party spam filtering service, ensure that the connector is configured to trust the service’s IP addresses and that TLS is enforced for secure transmission.

Frequently Asked Questions

Does this error affect internal email delivery?

No, internal emails between users within the same Office 365 tenant are not affected by relay errors. This error only appears when mail is sent from outside the tenant or by applications that do not properly authenticate against the Exchange Online environment.

Can I whitelist an IP address to fix this?

Whitelisting an IP address in your anti-spam policies might help if the sender is known and trusted, but it does not solve the underlying authentication issue. It is better to fix the authentication method on the sending side rather than lowering security standards.

Is this error related to SPF records?

While SPF failures can cause similar rejections, the specific 550-5.7.367 code points to relay authorization. However, poor SPF configuration can exacerbate the issue by causing messages to be flagged as suspicious, leading to stricter relay checks.

How long does it take for permission changes to take effect?

Changes to Send As permissions or connector configurations can take up to 60 minutes to replicate across all Exchange Online servers. During this time, you may continue to see the error until the updates propagate.

What should I do if the error persists after fixing permissions?

If the error persists, check the Message Trace for detailed logs. Look for any additional blocks from anti-spam policies or DNS issues. You may also need to clear the cache on the sending device or restart the application to refresh its connection settings.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More