Question on sendmail.cf for Ver8.8.8

Question on sendmail.cf for Ver8.8.8

Post by PSB Networ » Wed, 25 Feb 1998 04:00:00



Folks
        The environment Sparc 20 running Solaris 2.5.1 and Sendmail Ver 8.8.8.
The question I have is how can I tell sendmail through sendmail.cf to look
at the local /etc/hosts file first for any entry and not the DNS.
The entry in /etc/nsswitch.conf file looks something like this.
hosts   files dns
The ResolverOptions I have in the Sendmail.cf is as follows.
OI      +DNSRCH +DEFNAMES
The only way I can make the sendmail to look at the /etc/hosts file is by
editing the /etc/nsswitch.conf file and editing the entry for hosts to
hosts   files.
But I would be needing the dns support to. I am pretty sure there should be
some way of telling the sendmail through sendmail.cf to look at the
/etc/hosts file first and then go to the DNS.
Any suggestions or help in this regard would be appreciated. You could post

Sandeep