Solved

RESTART sendmail service

Posted on 2000-05-01
5
22,987 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now