Sendmail Service fails with "daemon MTA-v6: problem creating SMTP socket" Error in /var/log/maillog
(Doc ID 2139753.1)
Last updated on JUNE 01, 2020
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 5.0 and later
Sending mail using mailx command fails.
Errors in /var/log/messages:
May 13 08:57:10 <hostname> sm-msp-queue: u4915XVM122697: to=root, delay=4+12:51:37, xdelay=00:00:00, mailer=relay, pri=9931519, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Sendmail service status shows:
# /etc/init.d/sendmail status
sendmail dead but subsys locked
/var/log/maillog shows the following error when we try to restart the sendmail service:
May 13 10:08:07 <hostname> sendmail: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-v6: cannot bind: Cannot assign requested address
May 13 10:08:07 <hostname> sendmail: daemon MTA-v6: problem creating SMTP socket
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