View Full Version : booting - sendmail takes forever
R4NG3R
June 25th, 2003, 08:42 PM
when i'm booting my linux machine, it checks all the stuff like eth0 and eth1 and starts samba and stuff but when it goes to
sending mail:
it takes about 90 seconds, then it goes to
sm-client'
and that takes about another 20 seconds. it doesn't seem much but when you get done reading this, count to 90. then to 20 then to 5, then to 20 and that's how long it takes to boot linux. is there anything i can do to speed the mail thing up? it hasn't done this beofre.
twistedcranium
June 25th, 2003, 08:49 PM
Sounds like you removed something related to the loopback line in your /etc/hosts
And I think you mean that it is hanging when it is starting up the 'sendmail' process (its not sending mail, btw)
Here's a blurb....
http://rhlufaq.synfin.net/DOCS/sendmlboot.html
ceh383
June 25th, 2003, 10:46 PM
Question.......
Do you need to run a mail server?
R4NG3R
June 25th, 2003, 11:52 PM
nope!
twistedcranium
July 2nd, 2003, 05:15 AM
I just edited the thread title on this so that users in the future can search on 'sendmail' and 'boot' rather than 'sending mail' and 'boot'.
***
by the way...did you ever get this cleared up R4NG3R?
R4NG3R
July 2nd, 2003, 08:27 AM
no i didn't twisted. i looked at my hosts to say just my localhost because i had my other computers on the LAN in it. but when i removed those i couldn't use my samba. so i put them back and it worked. but i didn't reboot while i had them off so i wouldnt have known if it worked.
Status as of July 1st 2003 R4NG3R's Linux Servers:
Samba working fine.
Counter-Strike Dedicated Server - Up and running smooth.
Apache Web Server - Working great: http://himsellan.sytes.net/lanhome.php
thanks you guys, couldn't have done it with out you!
ceh383
July 2nd, 2003, 06:27 PM
While reading, learning, and editing config files by hand is the best way to go there other options.
Webmin (http://www.webmin.com) is a good tool to aid you with configuration options.
The best way to keep Sendmail from starting.....don't install it if you don't need it. Using Webmin to keep it from starting....go to System>>Bootup and Shutdown>>Sendmail, select "Do not start at bootup">>Save>>your done.
R4NG3R
July 2nd, 2003, 07:06 PM
ok thanks