[Ilugc] sendmail hostname lookup problem
linux at frodo.hserus.net
Fri Jun 2 06:31:32 IST 2006
man 5 nsswitch.conf
ps - Please don't spell or pronounce "Hi" as "Hai" - it is pronounced
closer to "High", and "Hai" is what a north indian would say if he got
some very bad news, like for example news about someone passing away
Anandh G wrote:
> Hai, I have a RHEL 3 server where in I used sendmail to send some alert mails. It just relay those mails to our mail server. I used SMARTHOST for this, where in I had given the mail servers short hostname and made any entry in the /etc/hosts with its IP. But when ever a mail is sent, sendmail says hostname lookup failure. I haven't given any nameserver IP in /etc/resolve file. i want sendmail to look the /etc/hosts for name resolution for the smarthost hostname.
> When I tried thru command line to ping the mailserver hostname it is pinging. sendmail is not looking /etc/hosts file to resolve the hostname. What should be done.
More information about the ilugc