LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2001, 04:49 AM   #1
mikkol
LQ Newbie
 
Registered: Apr 2001
Location: Vancouver, Canada
Posts: 4

Rep: Reputation: 0

I want to remove my sendmail service because I am not using it anyway and I don't know why but somehow everytime I start up my Linux it takes me almost 1-2 min. to start it up. Somehow it's trying to DO smth (but I haven't changed anything to it since I installed Linux). Anyone got any idea? Thx.
 
Old 05-05-2004, 10:55 PM   #2
kvedaa
Member
 
Registered: Mar 2004
Location: Virginia
Distribution: PacketProtector
Posts: 331

Rep: Reputation: 30
If you do not have the need to run sendmail you are likely better to remove it from your startup scripts. On many systems you will want to look in '/etc/rc.d', here you will have several subdirectories, such as 'rc0.d' through 'rc6.d'. You will want to take a look through each of these directories looking for a file names 'S80sendmail' and 'K30sendmail' (note that the leading numbers will likely vary on different systems). If you remove these files, your system will no longer attempt to load them during startup (or attempt to kill them during shutdown).

If you are concerned about removing a service that you might have a dependency for you can take a partial step, by renaming the file in place. My personal favorite is to change the case of the leading letter to lower case, such as 'S80sendmail' to 's80sendmail'. This allows you to test your changes on the next several start ups and shutdowns, to make sure that you do not have any unwanted nasty surprises (if you discover that you need the service to run simply change the names back). Once you are confident that your change is good to go, then you can go back and remove the files that you had originally renamed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to remove sendmail....help shaggystyle Linux - General 1 03-23-2004 11:07 AM
How do you view which mailboxes are locked in sendmail and how do you remove the lock mikeyr Linux - Newbie 7 01-22-2004 03:43 PM
Is it okay to remove sendmail? bxb32001 Linux - Software 2 10-31-2003 08:08 PM
remove exim install sendmail waffe Debian 4 10-22-2003 01:15 PM
sendmail - add/remove domain virtusertable dipdip Linux - Software 1 09-10-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration