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
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: v7VCs0Fq007813: to=<firstname.lastname@example.org>, ctladdr=<root@localhost> (0/0), delay=02:07:53, xdelay=00:00:04
, mailer=relay, pri=510530, relay=smtp.relay.host. [10.x.x.x], dsn=4.7.1, stat=Deferred: 454 4.7.1 <email@example.com>: 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