Date: Fri, 22 Sep 2000 12:09:30 +0100 (BST) From: Mac <mac@ngo.org.uk> To: forrestc@imach.com (Forrest W. Christian) Subject: Re: sendmail and cron Message-ID: <200009221111.MAA02795@ngo.org.uk> In-Reply-To: <Pine.BSF.4.21.0009220357380.25752-100000@workhorse.iMach.com> from "Forrest W. Christian" at "Sep 22, 0 03:58:10 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Forrest W. Christian Wrote > On Fri, 22 Sep 2000, Mac wrote: > > > > Anything wrong with a cron job that runs sendmail -q at specific > > > intervals? Or must I invoke the daemon with -q[time]? > > > > Nope, nothing wrong at all. As Doug Barton points out elsewhere on this > > list 'Why should there be?'. > > I recommend this on any machine NOT running sendmail as a daemon, as > things CAN queue up. > I endorse this, and further clarify it. Run 'sendmail -q' periodically on any machine not running as a queue processing daemon (e.g. 'sendmail -q15m'). Even if you run a mail reciept daemon ('sendmail -bd' or 'smtpd') you still want something to process the queue periodically. Alternatively, you can run _just_ 'sendmail -q15m' without the '-bd' to process the queue periodically anyway. (Changing '15m' to suit your needs). Section 15.5 of the 'Bat Book II' covers this exact scenario, and the footnote there suggests cron(8) as an alternative. Mac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009221111.MAA02795>