Solved

RESTART sendmail service

Posted on 2000-05-01
5
22,997 Views
Last Modified: 2013-12-23
I just want to restart sendmail service without restarting mail server?
0
Comment
Question by:raza
  • 3
5 Comments
 

Author Comment

by:raza
ID: 2767569
It must be very eassy like
sendmail start
sendmail stop

but I just want to make sure before I do that.
0
 
LVL 5

Expert Comment

by:n0thing
ID: 2767969
Which OS are you running ??
If you changed the sendmail.cf configuration or
any mail related config files. You just need to send a kill -1 PID, where PID is the sendmail process ID to refresh it.
You don't need to stop it entirely and restart it. However if you need to do so. Please check the files under /etc/init.d and look for something like sendmail .. you could do a sendmail stop then
sendmail start.
Hope this helps.
0
 

Author Comment

by:raza
ID: 2842071
I tried to kill that sendmail process but it comes up again...
0
 
LVL 2

Accepted Solution

by:
ish earned 25 total points
ID: 2842290
The main purpose behind starting and stopping sendmail is to get it to read the config files again.

I use Solaris 2.5.1,

/etc/rc2.d/S88sendmail stop ; /etc/rc2.d/S88sendmail start

Daemon is down for portion of a second and users won't see a thing...

Find your UNIX's flavor of start/stop script nad try the same.
0
 

Author Comment

by:raza
ID: 2898762
Answer accepted
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Secure Connection Failed - Sonicwall FW 1 86
Port group in esxi 6 78
Cisco WAP POE power 28 81
Powerline adapter slow Mbps? 38 127
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question