Oracle Linux: User is not able to send out emails while other users can via mailx command
(Doc ID 2662920.1)
Last updated on MARCH 13, 2023
Applies to:
Linux OS - Version Oracle Linux 5.2 to Oracle Linux 7.7 [Release OL5U2 to OL7U7]Linux x86
Linux x86-64
Symptoms
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 second-domain.com . . . 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 [127.0.0.1] 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 [127.0.0.1]
For non working user email is queued and goes via different domain rather than standard relay server for working user
Cause
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
Symptoms |
Cause |
Solution |