Solved

RESTART sendmail service

Posted on 2000-05-01
5
23,006 Views
Last Modified: 2013-12-23
I just want to restart sendmail service without restarting mail server?
0
Comment
Question by:raza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

739 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