[ILUG] Sendmail and WINS
Niall Walsh
linux at esatclear.ie
Mon Mar 21 17:22:30 GMT 2005
Braun Brelin wrote:
>Folks,
>
>I'm trying to configure a Fedora Core 3 system using sendmail. The
>problem is that the customer only uses WINS, not DNS for name resolution.
>This means that every time I try and send something via sendmail (i.e.
>/usr/bin/sendmail -v foo at bar.com) I get a host unknown error....
>
>How do I configure sendmail to *not* try and do host lookups via DNS?
>There doesn't seem to be anything in the /etc/mail/sendmail.mc file that
>pops out at me.
>
>Thanks,
>
>Braun Brelin
>OpenApp
>
>
Well I'm not certain it will work, but a quick google lead me to
http://lists.samba.org/archive/samba/2004-July/088685.html which
suggests that changing your /etc/nsswitch.conf to read
hosts: files wins dns
and having the tools available to do wins lookups installed would mean
that sendmail should lookup by WINS before DNS?
I'm not 100% certain this will provide everything sendmail needs and
that it will use it, but I suspect it will?
Of course if you only need a couple of static addresses you could just
edit /etc/hosts?
Niall
More information about the ILUG
mailing list