Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

mailx not working ...

Atul Ram Sahu
Occasional Advisor

mailx not working ...

i want to know correct formate for hosts file so that it can resolve name properly
James R. Ferguson
Acclaimed Contributor

Re: mailx not working ...


Your subject suggests that you have a problem emailing (probably to the internet from your server). Is that correct? If so, why do you believe that your 'hosts' file is an issue?


Kapil Jha
Honored Contributor

Re: mailx not working ...

What is the error u getting when u u sending mail (if thas the problem)

Hosts file is just...
IP servername1 servername2

there can be various names u want to resolve to one IP
like for server

xx.xx.xx.xx abc abc.pqr

I am in this small bowl, I wane see the real world......
Jupinder Bedi
Respected Contributor

Re: mailx not working ...

IP Address Fully Qualified domainname hostname
All things excellent are as difficult as they are rare
Michael Steele_2
Honored Contributor

Re: mailx not working ...

'ip address' FQDN Alias's (* more then one alias OK *) 'hostname1' 'hostname2'

However, this indicates a problem with the Nameserver and Resovlver or BIND network protocols, and has absolutely nothing to do with the SMTP / sendmail network protocols. Related files are:


What's in here?
Support Fatherhood - Stop Family Law