LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-12-2003, 03:52 PM   #1
jhildebrand
LQ Newbie
 
Registered: Mar 2003
Location: Canada
Distribution: Red Hat 8.0
Posts: 12

Rep: Reputation: 0
how to restart sendmail


Silly question, but how do I restart sendmail in slack?

I have just changed over from RH, and I always used service "sendmail restart". Understandably this doesn't work in slack, but how do I do it?

Thanks,

Jeff
 
Old 11-12-2003, 03:54 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
/etc/rc.d/rc.sendmail restart
 
Old 11-12-2003, 03:57 PM   #3
jhildebrand
LQ Newbie
 
Registered: Mar 2003
Location: Canada
Distribution: Red Hat 8.0
Posts: 12

Original Poster
Rep: Reputation: 0
thanks.

Jeff
 
Old 11-12-2003, 04:06 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by jhildebrand
thanks.

Jeff
No problem.

And just FYI, If you take a peek in the /etc/rc.d directory, you'll notice that's where just about all your scripts are going to be to start, stop and restart most of the main services that were installed during the initial install..

Cheers.
 
Old 11-12-2003, 10:15 PM   #5
jhildebrand
LQ Newbie
 
Registered: Mar 2003
Location: Canada
Distribution: Red Hat 8.0
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, a great way to learn.

BTW, what does "rc.d" mean? It's a lot easier to learn if you understand why.

jeff
 
Old 11-12-2003, 11:02 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by jhildebrand
Thanks, a great way to learn.

BTW, what does "rc.d" mean? It's a lot easier to learn if you understand why.

jeff
I can't remember off top of my head but I believe it means "run commands" in which most startup scripts or scripts in general are named that as they run commands.

Its possible that the rc.d stands for "runcommands.directory"... not totally sure, just a guess.
 
Old 11-13-2003, 12:09 AM   #7
h3pc4t
Member
 
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
runcommands.directory is pretty accurate. Usually a .d directory contains scripts that are all run by the same program (and possibly at the same time). For example, /etc/profile.d/ has several scripts that set up your profile.
 
  


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
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
/etc/rc.d/init.d/sendmail restart ssrikant Linux - Networking 3 04-23-2003 02:27 PM
How to stop and restart sendmail daemon? J_Szucs Linux - Newbie 4 06-11-2002 11:31 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration