From owner-freebsd-questions Thu Nov 6 17:48:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA29160 for questions-outgoing; Thu, 6 Nov 1997 17:48:30 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA29155 for ; Thu, 6 Nov 1997 17:48:27 -0800 (PST) (envelope-from rivers@dignus.com) Received: from ponds.dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.5/8.8.4) with ESMTP id UAA09171; Thu, 6 Nov 1997 20:48:22 -0500 (EST) Received: from lakes.dignus.com (lakes [10.0.0.3]) by ponds.dignus.com (8.8.5/8.8.5) with ESMTP id VAA04265; Thu, 6 Nov 1997 21:05:25 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.8.7/8.6.9) id UAA00545; Thu, 6 Nov 1997 20:54:02 -0500 (EST) Date: Thu, 6 Nov 1997 20:54:02 -0500 (EST) From: Thomas David Rivers Message-Id: <199711070154.UAA00545@lakes.dignus.com> To: crtb@capecod.net, questions@FreeBSD.ORG Subject: Re: Sending mail while PPP is up Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On my modem-bound FreeBSD-2.2.2R system, a cron job running every two > hours brings up a PPP session, and fetches mail via POP from my ISP. > > I read and respond to that mail at an irregular schedule, so that > often when I send mail, the PPP link is down. I sometimes get the > message "Cannot send mail for five days", and wonder frequently if > the mail ever got sent. > > The question: is there a signal or some other way I can communicate > with sendmail which will cause it to attempt to send immediately? > If so, I can put the appropriate kill command in the script which > fetches mail. > > Comments appreciated. Thanks. > > Chuck Bacon -- crtb@capecod.net > ABHOR SECRECY -- DEFEND PRIVACY > Yes - run sendmail -q as root when you bring your PPP connection up; that will cause it to examine the existing mail-queue and process any deferred messages. To see how many deferred messages you might have in your queue, use the 'mailq' command. I take a similar approach with my SL/IP connection; it works great. - Dave Rivers -