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

Last updated on NOVEMBER 10, 2013

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86

Symptoms

After configuring sendmail to send out mail from a Linux server using smtp.xxxx.com 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: to=sgoswami@stanford.edu, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30005, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms