Computing.Net > Forums > Linux > Sendmail taking forever to start

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Sendmail taking forever to start

Reply to Message Icon

Name: Helen
Date: October 21, 2002 at 15:37:38 Pacific
OS: RH 7.2
CPU/Ram: p2 450/512 mb
Comment:

Ok, a couple of newbie questions...
MUST i use sendmail? and why on earth does it take 3-5 minutes to start at boot time? Its not really a problem, merely an annoyance.
If I don't need it, how do I stop it from starting?
thanks for any help! :)



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: October 21, 2002 at 15:58:13 Pacific
Reply:

Most likely sendmail is having difficulty resolving a name / IP for your current IP. Try addind a name and corresponding IP entry in your /etc/hosts file. That will probably speed up boot time considerably. Nobody is making you run any service. If you make the script /etc/init.d/sendmail not executable, sendmail won't start at boot time. Alternately you could remove the symbolic links from /etc/rc2.d/ or /etc/rc3.d that point to /etc/init.d/sendmail


0

Response Number 2
Name: Richard
Date: October 21, 2002 at 21:49:01 Pacific
Reply:

Some things need an MTA however, such as cron. You don't need to use sendmail however. Debian ships with exim which is small and light, and good in 95% situations. Others like qmail or postfix.

In this case, it does seem like sendmail has a problem with DNS or the network. It would be well worth trying to fix this! Do the log files give any message about why sendmail isn't starting?


0

Response Number 3
Name: Shivaprasad P
Date: October 22, 2002 at 05:49:33 Pacific
Reply:

hi all,

why use such a long route just to disable sendmail from starting at boot-up? follow this

step 1: at shell prompt type 'setup'
step 2: a menu'l popup and select 'services
configuration'
step 3: a list of services you'll see.
search for service 'sendmail' and
unselect it by pressing space bar
when pointer is above it.

that's all folks!

sHIVAPRASADp


0

Response Number 4
Name: Helen
Date: October 22, 2002 at 15:12:26 Pacific
Reply:

heh...where would I find the log files?
I did the setup thing, and turned sendmail off, so thats good, but I'd still like to know where the log files are...that'd be super helpful! :)
Thanks,
Helen


0

Response Number 5
Name: Dude
Date: October 23, 2002 at 22:15:08 Pacific
Reply:

Most of your system log files are located in /var/log and for mail is maillog.
cd /var/log

In the future, for shortcut just type 'ntsysv' at the command line to see the services and enable or disable services.
It only setup your current runlevel.
If you want to set multiple-runlevels type "ntsysv --level 235" for services to start or stop in runlevel 2, 3 and 5.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Firewall/Firestarter in r... Deleting .tmp files



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Sendmail taking forever to start

Opening /mnt directory takes foreve www.computing.net/answers/linux/opening-mnt-directory-takes-foreve/16672.html

Why is Linux slow? www.computing.net/answers/linux/why-is-linux-slow/14371.html

What distro? -> P133Mhz/16Mb www.computing.net/answers/linux/what-distro-p133mhz16mb/15854.html