From owner-freebsd-isp Wed Nov 27 15:04:20 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA20217 for isp-outgoing; Wed, 27 Nov 1996 15:04:20 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA20206 for ; Wed, 27 Nov 1996 15:04:14 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.7.6/8.7.3) id KAA05507; Thu, 28 Nov 1996 10:05:22 +1100 (EST) Date: Thu, 28 Nov 1996 10:05:21 +1100 (EST) From: "Daniel O'Callaghan" To: Jason Fesler cc: freebsd-isp@freebsd.org Subject: Re: initiate sendmail In-Reply-To: <3.0.32.19961127091306.007ef430@pop.calweb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 27 Nov 1996, Jason Fesler wrote: > There is another option.. Sendmail 8.8.x (at least, my 8.8.3) > has an option called "ETRN". Telnet to the port, type > "ETRN domain.name", and sendmail will run the queue, without > requiring a complete login to the mail host. Easy enough to > script even :-). > > (sleep 5; echo "ETRN domain.name"; sleep 60) | telnet mailhost 25 > > Crude, but works in a pinch.. Cute. I like Greg Lehey's suggestion, too - 'sendmail -qRdomain.name' If your customer is logging in via a standard login/password arrangement with a /bin/sh script for a shell, it is easy to add if [ $USER = Pcust ]; then (sleep 10 ; sendmail -qRcust.com ) & fi before the exec pppd. Danny