My Oracle Support Banner

Mail fails to be sent via sendmail from a server with Relay Denied despite a relay host server being configured in sendmail (Doc ID 2310104.1)

Last updated on MAY 10, 2023

Applies to:

Linux OS - Version Oracle Linux 6.2 and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


Despite sendmail being updated with the correct relay host, sendmail still fails to send mails, with the "Relay access denied" error seen in the system's logs as follows:

Aug 31 11:01:53 localhost sendmail[359002]: v7VCs0Fq007813: to=<>, ctladdr=<root@localhost> (0/0), delay=02:07:53, xdelay=00:00:04
, mailer=relay, pri=510530, [10.x.x.x], dsn=4.7.1, stat=Deferred: 454 4.7.1 <>: Relay access denied


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.