Unable to send mail from non-global zone


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 5 Days Ago
Unable to send mail from non-global zone

TLDR; non-global-zone has same configuration files (sendmail.cf) as global-zone but still unable to send mail out using mailx

I have a S11.3 system that has a non-global-zone which uses the exact same sendmail.cf configurations as the global but, unable to send mail out from it.
Apparently there's a 050 501 5.5.4 Invalid domain name error that mailx's output provided during the end of the execution.
When doing a nslookup on the hostname of the box, system returns this;

Code:
;; Got SERVFAIL reply from hiddenIP, trying next server 
;; Got SERVFAIL reply from hiddenIP, trying next server

...

Any suggestions ?

--- Post updated at 10:41 AM ---

Also forgot to provide the ending of mailx output;

.... ( general foobar from mailx )..
Code:
050 >>> EHLO <<hidden hostname>>. 
050 501 5.5.4 Invalid domain name 
050 >>> HELO <<hidden hostname>>. 
050 501 5.5.4 Invalid domain name

# 3  
Old 5 Days Ago
[FIXED]

Long story short, there was a entry in the /etc/hosts file which shouldn't have been there. Removed it, restarted sendmail service and retested, systems sends mail out.

The entry needed to be removed in the hosts file was;

'hostname . '
This User Gave Thanks to samthewildone For This Post:
Neo (5 Days Ago)
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Date and time change in global and non global zone Sumanthsv Solaris 1 03-01-2018 06:59 AM
Unable to send mail with 'mail' command tcnm UNIX for Advanced & Expert Users 3 01-09-2016 06:39 PM
Global and non-global zone resource sharing - tricky javanoob Solaris 6 12-18-2015 08:22 AM
Unable to send mail Nakul_sh Shell Programming and Scripting 3 10-21-2013 05:02 PM
Unable to send mail through mailx Srinathkiru Solaris 0 04-17-2012 11:29 PM
Unable to send mail.. Need experts Help.. kannangce AIX 1 01-07-2012 05:18 PM
Unable to access serial port from non-global solaris zone on netra 240 disagreeable Solaris 0 11-20-2010 10:57 AM
How to access ENV variables of non global zones in global zone??? vijaysachin Solaris 1 02-08-2010 09:40 AM
[b]How to mount a folder from global zone to non global zone?? vijaysachin Solaris 2 11-10-2009 06:11 AM
Unable to send mail SmartAntz Solaris 7 07-11-2009 07:44 AM
Unable to send mail sbn Solaris 5 02-06-2009 06:20 AM
Unable to send a mail monicaminj2000 Shell Programming and Scripting 3 07-03-2008 01:50 AM
unable to send mail monika AIX 0 06-17-2008 01:59 AM
unable to send mail? shahnazurs Solaris 1 07-28-2005 11:07 AM