Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

RESTART sendmail service

Posted on 2000-05-01
5
Medium Priority
?
23,022 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 75 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

782 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