Sponsored Content
Operating Systems Solaris Unable to send mail from non-global zone Post 303030462 by samthewildone on Monday 11th of February 2019 05:41:47 AM
Old 02-11-2019
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

 

10 More Discussions You Might Find Interesting

1. Solaris

unable to send mail?

i am trying to execute the below script for sending mails from unix MAIL1="xyz@yahoo.com" mailx -s "hi" $MAIL1<message.txt if then echo "failure" else echo "success" fi but iam unable to send this eventhough iam getting success in the output if i logout and login i have a "you... (1 Reply)
Discussion started by: shahnazurs
1 Replies

2. AIX

unable to send mail

hi, I have tried this code to send mail.Its not giving me error but I am not receiving mail also. #!/bin/ksh echo "The first mail" >msg cnt=`cat /dir1/msg | wc -l` if then mail -s "Hello" abc.xyz@domain.com < msg fi I have also tried with the command mailx -s "hello"... (0 Replies)
Discussion started by: monika
0 Replies

3. Shell Programming and Scripting

Unable to send a mail

Hi, I have been trying to send a mail from a remote site using this script To send the mail: #!/bin/ksh MAILTO="abc@xyz.com" BACKUPDIR="/wls_domains/wli81_1/RHTEAM/OUTPUTBACKUP/" #BACKUPDIR="../OUTPUTBACKUP/" while ; do print $1 uuencode $1 $1 | mail $MAILTO ... (3 Replies)
Discussion started by: monicaminj2000
3 Replies

4. Solaris

Unable to send mail

Hey guys i got this error my logs - I ping 127.0.0.1 and it says that its alive - I checked sendmail and it is running - I tried to send a test email but nothing happens it seems that it hangs - What is the possible cause of this? (5 Replies)
Discussion started by: sbn
5 Replies

5. Solaris

Unable to send mail

hi all i got two server, mercury and procyon mercury can send email but procyon cannot below is their syslog mercury: Jul 6 13:17:17 mercury sendmail: n665HGXg006886: to =<leecw@domain.com>, ctladdr=<ora10g@mercury.domain.com> (4001/101), d elay=00:00:01, xdelay=00:00:01,... (7 Replies)
Discussion started by: SmartAntz
7 Replies

6. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

7. Solaris

Unable to access serial port from non-global solaris zone on netra 240

I am trying to use a serial communications device that is connected to /dev/ttyb on a netra 240 server. This is a solaris zone configuration using solaris 10 0910. I am able to access /dev/ttyb from the global zone but not throught he non-global zone. I have enabled all of the tty devices in my... (0 Replies)
Discussion started by: disagreeable
0 Replies

8. Shell Programming and Scripting

Unable to send mail

Hi friends I am trying to send mail through a unix server. I am using following command mailx -s "THIS IS TEST" jhon@gmail.com Whenever i am typing the above command it is going to next line when i press @ on unix server prompt. so it is taking this command as following mailx -s "THIS... (3 Replies)
Discussion started by: Nakul_sh
3 Replies

9. UNIX for Advanced & Expert Users

Unable to send mail with 'mail' command

I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out. I issue the command: mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message. Specifically, the... (3 Replies)
Discussion started by: tcnm
3 Replies

10. Solaris

Unable to login via console mode to non-global zone

tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C. Errors; svc.startd: instance svc:/system/console-login:default exited with status 127 Investigation; 1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 Replies
nsd-xfer(8)							    nsd 3.2.12							       nsd-xfer(8)

NAME
nsd-xfer - AXFR client to transfer zones from a name server SYNOPSIS
nsd-xfer [-4] [-6] [-a address[@port]] [-p port] [-s serial] [-T tsiginfo] [-v] -z zone -f file servers DESCRIPTION
Nsd-xfer is program to transfer zones from a name server using AXFR. NSD is a complete implementation of an authoritative DNS nameserver. OPTIONS
-4 Only send to IPv4 addresses. -6 Only send to IPv6 addresses. -a address[@port] Specify the source address (and port) to send from. -f file The file to store the zone in. -p port Specify the port to send to. -s serial Specify the serial of the current zone. The zone is only transferred if the master server has a zone with a greater serial number. -T tsiginfo Use TSIG to verify the zone transfer. The tsiginfo file must contain the TSIG key information. The file is removed upon successful reading of the key. The format of the tsiginfo file is described in the doc/README file (section 3.3). -v Be more verbose. -z zone Specify the zone to receive. servers List of nameservers to try. EXAMPLES
To run this program the standard way type: # nsd-xfer -z foobar.cz -f foobar.cz.zone 1.2.3.4 SEE ALSO
nsd(8), nsdc(8), nsd.conf(5), nsd-checkconf(8), nsd-notify(8), nsd-patch(8), zonec(8) AUTHORS
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details. NLnet Labs jul 19, 2012 nsd-xfer(8)
All times are GMT -4. The time now is 01:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy