[Ilugc] sendmail hostname lookup problem

Suresh Ramasubramanian linux at frodo.hserus.net
Fri Jun 2 06:32:29 IST 2006

nsswitch.conf - well, related. Edit /etc/mail/service.switch instead, as 
I say in that wiki entry I linked to.

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. 

More information about the ilugc mailing list