Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
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.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Host unknown

Manuales
Super Advisor

Host unknown

server1> /usr/sbin/sendmail -v duck@hola.com
hola
.
duck@hola.com ... Connecting to mailer.hola.com(smtp)...
duck@hola.com... Host unknown (Name server: mailer.hola.com: host not found)

where is configured mailer.hola.com for being read?

Thanks ....
2 REPLIES
Hein van den Heuvel
Honored Contributor

Re: Host unknown

Daniela,

When you have a question like that, be sure to try to isolate applicaiton style functionality from base functionality.

In this case one might wonder whether sendmail is the victim or the cause.

So you try some other things, notably PING and nslookup and stuff. Perhaps your dns/bind server is not set up correctly.
Can you ping or sendmail to other hosts which are not in the local /etc/hosts files.

And, can other systems ping this hola.com.
What address is returned? Can you ping/sendmail the numeric address from Unix?

Finally it may be important (or not) to exactly which OS and which version you are using.

Hein.
Ivan Ferreira
Honored Contributor

Re: Host unknown

A quick solution is to edit /var/sendmail/sendmail.cf and replace mailer.hola.com by its ip address enclosed by [], for example instead of:

DSmailer.hola.com

configure

DS[192.168.0.1]

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?