LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-11-2002, 08:07 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
How to start and stop sendmail?


Does anyone know the command?
 
Old 03-11-2002, 08:44 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I always kill sendmail the good old fashioned way:

cat /var/run/sendmail.pid

Then kill that pid number.

To start:

/usr/sbin/sendmail -bd -q15m

That will start it so it processes the que every 15 minutes.

Cheers,

Finegan
 
Old 03-11-2002, 10:48 PM   #3
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Original Poster
Rep: Reputation: 30
Well I found out how to start and stop it. I'm just having trouble using it from another box on the LAN. I can get a connection, just not use the service. I'm still working on it.
 
Old 03-12-2002, 04:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Quote:
Originally posted by finegan
I always kill sendmail the good old fashioned way:

cat /var/run/sendmail.pid

Then kill that pid number.

To start:

/usr/sbin/sendmail -bd -q15m

That will start it so it processes the que every 15 minutes.

Cheers,

Finegan
hmm.. you're odd...
 
Old 03-12-2002, 12:48 PM   #5
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Quote:
Originally posted by acid_kewpie

hmm.. you're odd...
And that was a shock? Actually, I know there must be some better way in RedHat by calling the init script or such, but I only run sendmail in slack, so that would be kinda worthless to tell him.

Cheers,

Finegan
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to stop sendmail spam ? basbosco Linux - Security 2 11-10-2003 02:17 PM
Start/stop services on start-up koyi Slackware 5 08-04-2003 09:20 AM
how to stop spam:sendmail nabil Linux - General 6 10-21-2002 10:44 AM
how to stop spam:sendmail nabil Linux - General 3 09-10-2002 07:17 PM
How to Stop Spamming in Sendmail johnlee Linux - Security 1 10-29-2001 11:28 AM


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

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