From owner-freebsd-questions Thu Nov 6 18:55:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA03030 for questions-outgoing; Thu, 6 Nov 1997 18:55:55 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA03000 for ; Thu, 6 Nov 1997 18:55:37 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.5) with ESMTP id BAA18888; Fri, 7 Nov 1997 01:56:19 GMT Message-Id: <199711070156.BAA18888@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Chuck cc: questions@FreeBSD.ORG Subject: Re: Sending mail while PPP is up In-reply-to: Your message of "Thu, 06 Nov 1997 15:09:29 EST." <199711062009.PAA01228@capecod.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Nov 1997 01:56:19 +0000 From: Brian Somers 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. Add a !bg /usr/sbin/sendmail -q to your ppp.linkup file. > Comments appreciated. Thanks. > > Chuck Bacon -- crtb@capecod.net > ABHOR SECRECY -- DEFEND PRIVACY -- Brian , , Don't _EVER_ lose your sense of humour....