OCI: SENDMAIL Fails To Deliver Mails With Error “stat=Deferred: Connection timed out with “ — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: SENDMAIL Fails To Deliver Mails With Error “stat=Deferred: Connection timed out with “

edited Jun 18, 2025 10:30AM in Linux

NOTE: Please register a free account to access the full content and also to participate in Q&A in the community.


Applies To:

Oracle Cloud Infrastructure
Linux x86-64

Symptoms

Unable to send emails using SENDMAIL and it fails with following error,

Sep 19 09:14:38 localgost sendmail[212714]: w8J5hdnn110252: to=<mailuser@test.com>, 
ctladdr=<oracle@localhost.test> (1000/1001), delay=00:30:51, xdelay=00:04:16, mailer=esmtp,
pri=211934,
 relay=test.coml. [10.x.x.x], dsn=4.0.0, stat=Deferred: Connection timed out with test.com

Cause

The "SMART_HOST" parameters are not defined to relay mails to SMTP server, so it accepts the SMTP connection on the IPV4 loopback address. Once the server accepts the connection, it does a domain lookup to the recipient domain using local DNS server to find the MX/PTR/A record, then the mails are relayed to respective SMTP server.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!