LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-11-2002, 04:30 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
How to stop and restart sendmail daemon?


I wast to clean up a stucked mail spool, but one huge file always remains.
I suppose that it is because the sendmail daemon is running.
How can I stop and then restart the sendmail daemon?
 
Old 06-11-2002, 04:40 AM   #2
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
/etc/init.d/sendmail restart

/etc/init.d/sendmail stop
/etc/init.d/sendmail start
 
1 members found this post helpful.
Old 06-11-2002, 04:41 AM   #3
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
and do it as root
 
Old 06-11-2002, 10:32 AM   #4
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
There does not seem to be an init.d directory (it is a FreeBSD machine). What to do then?
 
Old 06-11-2002, 11:31 PM   #5
rayres
LQ Newbie
 
Registered: Jun 2002
Location: Las Vegas
Distribution: Redhat 7.3
Posts: 2

Rep: Reputation: 0
stoping sendmail

at root type service sendmail stop
 
  


Reply



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
best way to restart a wireless card/daemon? lefty.crupps Linux - Wireless Networking 3 08-22-2005 01:36 PM
Restart daemon ust Linux - General 3 02-03-2005 03:25 AM
how can i start, stop or restart Paxmaster Slackware 3 11-27-2004 01:31 PM
httpd daemon needs frequent restart to work properly sushil_deore Linux - Software 0 09-16-2004 07:35 AM
How do I stop the sshd daemon? ebenh Linux - Software 5 09-04-2004 01:06 PM

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

All times are GMT -5. The time now is 04:22 AM.

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