My Oracle Support Banner

Oracle Linux: User is not able to send out emails while other users can via mailx command (Doc ID 2662920.1)

Last updated on OCTOBER 27, 2023

Applies to:

Linux OS - Version Oracle Linux 5.2 to Oracle Linux 7.7 [Release OL5U2 to OL7U7]
Linux x86
Linux x86-64


On single system there are multiple users configured to receive email but one user is not able to receive them.

Non working user:

$ echo "something" | mailx -vvv -s "subject" <email-address>

Resolving host . . . done. <---

Connecting to XXX.XXX.XXX.XXX . . . connected.

250 Queued (0.256 seconds) <---
>>> QUIT
221 goodbye


Working user:

$ echo "something" | mailx -vvv -s "subject" <email-address>

<email-address> ... Connecting to [] via relay... <---

220 <smtp-server-domain-name> ESMTP Sendmail 8.14.4/8.14.4; XXX

250 2.0.0 03M9s4LG025016 Message accepted for delivery

<email-address>... Sent (03M9s4LG025016 Message accepted for delivery)

Closing connection to []



For non working user email is queued and goes via different domain rather than standard relay server for working user


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.