Operating System - Tru64 Unix
1753765 Members
6008 Online
108799 Solutions
New Discussion юеВ

Re: 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 2
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?