Sendmail takes ages to start at bootup

Simon Slater pyevet at aapt.net.au
Tue Dec 18 23:30:51 UTC 2007


On Tue, 2007-12-18 at 16:53 +1030, Tim wrote:
> On Mon, 2007-12-17 at 23:09 +1100, Simon Slater wrote:
> > /usr/share/doc/yp-tools-2.9/nsswitch.conf has the line 
> > hosts:  nis files dns 
> If you don't use nis, then it shouldn't be in there.
> 
> If you do use nis, but it doesn't provide answers for these queries,
> then you don't want it listed first.
> 
> That line lists the order of what protocols to try to resolve a name.
> It'll try the first, and wait for it to answer, or time out, before
> trying the next.
> 
Thanks Tim,
	I don't use nis so removed that from the quoted line.  It only took
sendmail 2 minutes and sm-client 1 minute this time.  Much better!

-- 
Regards
Simon




More information about the users mailing list