Prev | Current Page 59 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

The -q1h switchsays to process
the queue at one (1) hour (h) intervals.
The actual command to start the sendmail daemon on your system might be different
from what we??™ve shown. If you manage many different brands of systems, you??™ll
need to know how to start the daemon on all of them.
1.7.2 Kill and Restart, Beginning with V8.7
Killing and restarting the sendmail daemon became easier beginning withV8.7. A
single command* will kill and restart the daemon. In the following command, you
might need to replace the path /var/run withone appropriate to your operating system
(such as /etc/mail):
% kill -HUP `head -1 /var/run/sendmail.pid`
This single command has the same effect as the two commands shown for V8.6 in
the following sections.
1.7.2.1 Kill and restart with V8.6
Before you can start the sendmail daemon, you need to make sure there is not a daemon
running already.
Beginning withV8.6, the pid of the currently running daemon is found in the first line
of the /etc/mail/sendmail.pid file. The process of killing the daemon looks like this:
% kill -15 `head -1 /etc/mail/sendmail.pid`
* Provided that the daemon was originally started with a full pathname.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1.7 Basic Modes of sendmail | 21
After killing the currently running daemon, you can start a new daemon with the following
simple command:
% `tail -1 /etc/mail/sendmail.


Pages:
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
Poker nocleg lodz elektroenergetyka24.bieszczady.pl Wczasy nad morzem szafy