Why is my RH pausing for such a long time at "starting sendmail" during reboot? 

Newsgroups: comp.os.linux.misc,comp.os.linux.redhat,comp.os.linux.setup Date: Sat, 29 Mar 2003 09:46:19 GMT

> Whenever I boot (or reboot) my RH 7.3 box, it always pauses for a veeeery
> long time (about 3 to 4 minutes) at "starting sendmail"??  Is that because I
> configured a hostname for the box?  My machine is in a LAN envoironment and
> is configured to use DHCP.

It is doing DNS lookups to determine its hostname from the IP address. Modify /etc/nsswitch.conf to go to files before DNS for "hosts:" and make sure the /etc/hosts file contains the names and addresses that the DHCP server may assign it.

The best solutions are:
don't run sendmail on a DHCP host
or
assign it the same IP every time.

Michael P. Brininstool

Why is my RH pausing for such a long time at "starting sendmail" during reboot? 

> > Thanks very much for your suggestions.  I tried the first 2, but the
> > same thing still happened.  I had to turn off sendmail to get rid of the
> > problem.
>
> That's probably the best thing you could have done. You don't need
> Sendmail running anyway unless you're configuring a mail server.
> It just provides the potential for a security hole.
>
> Steve Martin, CPBE CBNT

Unless of course you want cron messages.

Oh, and not so much of a security hole since it only accepts connections from localhost by default.

William Hooper

Why is my RH pausing for such a long time at "starting sendmail" during reboot? 

> Unless of course you want cron messages.

Funny, I'm getting cron messages on my system, and I'm not running Sendmail. I'm not expert enough to be able to tell you how they're getting to me, but they're there.

Steve Martin