disable sendmail on startup

If you want to disable sendmail on startup

If you are sure it is the sendmail daemon there are a couple of things to do.
First I would disconnect your internet connection and then reboot.

Get into a terminal, as root, because I use CLI only.
Type the following command:

# chkconfig --list|grep sendmail

you should get this:

sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off


Now if it is "on" then you need to turn it off, type this:

chkconfig sendmail off

Then repeat the above:
# chkconfig --list|grep sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Ok now the service needs to turned off, typ the follwing:
[root@skilinux etc]# service sendmail stop

Then you get this:

Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]

If your linux bootup time is taking long, coz of sendmail, the problem could be
sendmail is having difficulty resolving a name / IP for your current IP.
Try adding 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