From owner-freebsd-questions Tue Aug 13 23:30:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1DF037B400 for ; Tue, 13 Aug 2002 23:30:53 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD4643E70 for ; Tue, 13 Aug 2002 23:30:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7E6UnYk002944; Wed, 14 Aug 2002 07:30:49 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7E6UiV5002943; Wed, 14 Aug 2002 07:30:44 +0100 (BST) Date: Wed, 14 Aug 2002 07:30:44 +0100 From: Matthew Seaman To: Anubis Cc: freebsd-questions@FreeBSD.ORG Subject: ppp.linkup scripts, was Re: Please help me Message-ID: <20020814063044.GA2827@happy-idiot-talk.infracaninophi> References: <000d01bdc6ef$2cedb060$99bb23d4@airslip> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01bdc6ef$2cedb060$99bb23d4@airslip> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 13, 1998 at 11:18:35PM +0400, Anubis wrote: I think you need to fix your system clock --- you seem to be about 130 million seconds slow... > I want to start "sendmail -q" and "fetchmail" in a script > ppp.linkup. How can I did it. Try this as a ppp.linkup script: # # Stuff to run when the PPP link comes up # papchap: !bg /usr/sbin/sendmail -q !bg /usr/local/bin/fetchmail -f /usr/local/etc/fetchmail.cfg # # The End. # That's assuming a) You use the 'papchap' target ain your ppp configuration, which is the default, and b) you've put together your fetchmail config such that everything is contained within the given file. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message