My Oracle Support Banner

Not Able To Relay Mail (SMTP) Through Microsoft Office 365 Mail Server (Doc ID 2607628.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Enterprise Linux 3.0 to Oracle Linux 8.0 [Release RHEL3 to OL8]
Linux x86-64


Problems when relaying mail from a Linux system through Microsoft Office 365 SMTP server, and the following error shows in the mail logs (/var/log/maillog):

status=bounced (host[<IP-Address>] said: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.