Link to home
Start Free TrialLog in
Avatar of mvoiers
mvoiers

asked on

Sendmail takes a long time during redhat boot

When ever I boot rehat it goes through all the stuff its doing and then when it comes to sendmail it sits there for like a minute...what is it doing?  It didn't use to take so long, how do I fix this?
Avatar of vsamtani
vsamtani

It's almost certainly trying to do some name lookups or reverse name lookups, and timing out. Is your linux box connected to the internet, and if so, is it a full-time connection or does it dial up?

You may have to put some name to ip address mappings in the /etc/hosts file so that sendmail can do its lookups without going to the nameservers. Also check the order in which services start, especially named, sendmail, diald (if you're using it).

Vijay
ASKER CERTIFIED SOLUTION
Avatar of grepster
grepster

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are comments acceptable?
I came to this area looking for an answer to another question, but this complaint describes a symptom I have, too, which I believe underlies this.  I just told it not to try loading sendmail...for now.)

I've lost loopback.  And no doubt, DNS is getting checked when it should not be. (My /etc/resolv.conf contains ONLY the DNS server for my ISP, which works 100% with ppp0.  I just DON'T WANT it to be searched when system is working on lo.)

If I kill /etc/resolv.conf, will ppp0 will work correctly?

If this can't be tacked onto the current question, shall I reiterate in a new one?

Thanks.

Marilyn Justman
Avatar of mvoiers

ASKER

Sounds like this will work to me I have been out of town for a few months and so haven't been able to try it...

thanks
I'm bowing out of this conversation.  In the process of trying to solve another problem, (did solve it, thanks to EE)  I just got rid of sendmail entirely.  If I ever need it, I'll come back to you guys for help reinstalling.
Thanks.

Marilyn Justman