old-www/LDP/LG/issue45/pollman/start-sendmail.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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Run as a daemon.&nbsp;
Sendmail will fork and run in background listening on socket 25 for incoming
SMTP connections.
<p>-q[time]&nbsp;&nbsp;&nbsp;&nbsp; Processe&nbsp; saved messages in the
queue at given intervals.&nbsp; If time is omitted, process the queue&nbsp;
once.&nbsp;&nbsp; Time is given as a tagged number, with `s' being seconds,
`m' being minutes, `h' being hours,&nbsp; `d'&nbsp; being&nbsp; days,&nbsp;
and&nbsp; `w'&nbsp; being
<br>weeks.&nbsp; For example,&nbsp; `-q1h30m'&nbsp; or&nbsp; `-q90m'&nbsp;
would both set the timeout to one hour thirty&nbsp; minutes.&nbsp;&nbsp;
If&nbsp; time&nbsp; is&nbsp; specified, sendmail will run in&nbsp; background.&nbsp;&nbsp;
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&nbsp; [Enter]&nbsp; (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>&nbsp;
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright &copy; 1999, JC Pollman and Bill Mote <BR>
Published in Issue 45 of <i>Linux Gazette</i>, September 1999</H5></center>
<!--===================================================================-->