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.
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.
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.