My Oracle Support Banner

Sendmail Using Relay=[] Instead Of Relay=smtp (Doc ID 1598357.1)

Last updated on FEBRUARY 26, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Oracle Database - Enterprise Edition - Version to [Release 12.2]
Linux x86-64
Linux x86


After configuring sendmail to send out mail from a Linux server using as the relay, the logs indicate localhost is being used as the relay. Below is an entry in the /var/log/maillog:

Oct 30 16:14:04 hostname sendmail[18230]: r9UNE4dl018230: from=root, size=5, class=0, nrcpts=1, msgid=, relay=root@localhost
Oct 30 16:14:04 hostname sendmail[18230]: r9UNE4dl018230:, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30005, relay=[] [], dsn=4.0.0, stat=Deferred: Connection refused by []



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.