Avatar of Francis Lai
Francis Lai
 asked on

Disable sendmail completely

I am using Redhat Enterprise Linux 3 (Taroon Update 8)
I have used the following command trying to stop the 'sendmail' service
# chkconfig sendmail off
and I found that the service should have stopped as I got the following output on the command:
# chkconfig --list sendmail
sendmail  0:off 1:off  2:off  3:off  4:off  5:off  6:off

However, when I use the 'top' command to check on the process running, I found that the sendmail still exist even after I rebooted the server.
The same is also found when I use the following command to grep the 'sendmail' process:
# ps -ef|grep sendmail

we got lots of below lines on running the above:
smmsp   26575 24215  0  07:08  ?  00:00:00 /usr/sbin/sendmail -FCronDaemon -I -odi -oem -oi -t

How can I really disabled the sendmail service as I found that it is taking up much resources and it is not required at my server
Server HardwareLinux

Avatar of undefined
Last Comment

8/22/2022 - Mon

Check the crontab or completely remove sendmail  -
crontab -e 
yum remove sendmail-base sendmail-cf sendmail-doc

Open in new window

Seth Simmons

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Good catch. Haven't use up2date for awhile :)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes