From owner-freebsd-questions Wed Jan 29 22:07:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA22346 for questions-outgoing; Wed, 29 Jan 1997 22:07:13 -0800 (PST) Received: from obie.softweyr.ml.org ([199.104.124.49]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA22327 for ; Wed, 29 Jan 1997 22:07:05 -0800 (PST) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id WAA02620; Wed, 29 Jan 1997 22:35:13 -0700 (MST) Date: Wed, 29 Jan 1997 22:35:13 -0700 (MST) Message-Id: <199701300535.WAA02620@obie.softweyr.ml.org> From: Wes Peters To: Peter Mutsaers CC: questions@freebsd.org Subject: Re: Can in have an "ip-up" script with user ppp too? In-Reply-To: <199701282321.AAA10373@plm.xs4all.nl> References: <199701282035.VAA06654@plm.xs4all.nl> <199701282136.OAA18759@xmission.xmission.com> <199701282321.AAA10373@plm.xs4all.nl> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Recenlty I said to Peter, with regards to shell commands in ppp.linkup: % Yeah, it accepts PPP commands. I think one of these commands is ! % to run an interactive shell. You'd have to check this. What do you % want to run? (Chances are you're doing it backwards.) Peter Mutsaers writes: > OK, I'll try that. I want to run sendmail -q and fetchmail. Your doing it backwards. What you really want to do is make user mode PPP demand dialing work, and then run sendmail and fetchmail in a cron job. This way, the PPP link will be automagically brought up each time sendmail and fetchmail get started. I've written about this several times in -questions, and it's all in the mail archives. Go check out the archives, search for: softweyr AND HISADDR If that doesn't get you going, email me back. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com