59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<!--startcut ==========================================================-->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<title>Mail for the Home Network--Sendmail--Starting Sendmail LG #45</title>
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
|
|
ALINK="#FF0000">
|
|
<!--endcut ============================================================-->
|
|
|
|
<H4>
|
|
"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
|
|
<P> <HR> <P>
|
|
<!--===================================================================-->
|
|
|
|
<center>
|
|
<H4><font color="maroon">Mail for the Home Network</font></H4>
|
|
<H4><font color="maroon">Sendmail</font></H4>
|
|
<H1><font color="maroon">Starting Sendmail</font></H1>
|
|
<H4>By <a href="mailto:jpollman@bigfoot.com">JC Pollman</a>
|
|
and <a href="mailto:bill.mote@bigfoot.com">Bill Mote</a></H4></center>
|
|
</center>
|
|
<P> <HR> <P>
|
|
|
|
|
|
<p>Sendmail has a number of starting options. We will only give a brief
|
|
over view of the common commands. You should read the man page for further
|
|
information.
|
|
<p>-bd Run as a daemon.
|
|
Sendmail will fork and run in background listening on socket 25 for incoming
|
|
SMTP connections.
|
|
<p>-q[time] Processe saved messages in the
|
|
queue at given intervals. If time is omitted, process the queue
|
|
once. Time is given as a tagged number, with `s' being seconds,
|
|
`m' being minutes, `h' being hours, `d' being days,
|
|
and `w' being
|
|
<br>weeks. For example, `-q1h30m' or `-q90m'
|
|
would both set the timeout to one hour thirty minutes.
|
|
If time is specified, sendmail will run in background.
|
|
This option can be used safely with -bd
|
|
<p>So, if you set the time with the -q switch, do not be surprised if your
|
|
email is not delivered for a while. With Redhat, check the file: /etc/sysconfig/sendmail.
|
|
It will set the background/queue time so you only need to type:
|
|
<p><i>/etc/rc.d/init.d/sendmail start [Enter] (or restart if
|
|
it is already running)</i>
|
|
<p>Make certain you do not try to start sendmail if it is already running
|
|
as you will not accomplish what you want.
|
|
<br>
|
|
|
|
|
|
<!--===================================================================-->
|
|
<P> <hr> <P>
|
|
<center><H5>Copyright © 1999, JC Pollman and Bill Mote <BR>
|
|
Published in Issue 45 of <i>Linux Gazette</i>, September 1999</H5></center>
|
|
|
|
<!--===================================================================-->
|