The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mailx mike509123 Linux 6 09-29-2008 11:59 PM
mailx ratna UNIX for Advanced & Expert Users 2 05-05-2008 05:10 AM
mailx -s is showing an error Renjesh SUN Solaris 6 03-23-2008 05:32 AM
getting mailx error surjyap Shell Programming and Scripting 1 09-11-2007 10:16 AM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 07:27 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-28-2002
Registered User
 

Join Date: Apr 2002
Posts: 53
mailx error

When I try to send a mail thru mailx command, my mail isnt delivered to the destination.
When I type 'mail' from $HOME directory, I see the following error.

Final-Recipient: RFC822; myname@company.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; mailhost.corp.company.com
Diagnostic-Code: SMTP; 550 Host unknown


I am using Solaris. I think some configuration for mailx is not done by sys admin. May I know what is that I am missing here, to make it work?
Forum Sponsor
  #2  
Old 10-28-2002
Registered User
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
This message means that the host name could not be resolved,

This can mean that the hostname is unknown in you DMS system, or you did not configure your DNS (on this box) in a correct manner.
Or when you are not using DNS, the hostname is unknown in host /etc/host table.
  #3  
Old 10-28-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Also, I don't know if Solaris has this file, but you can check. Look for a file called /etc/resolv.conf. It is there for HPUX. Your mileage may vary.

Of course, this will only work if the host is in your intranet.

This contains your domain and any nameservers that you can used to find hosts in the company network. I know that my company has 3 or 4 nameservers for the different domains that our company has.
__________________
My brain is your brain
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:19 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0