Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 1996 10:05:21 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Jason Fesler <jfesler@calweb.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: initiate sendmail
Message-ID:  <Pine.BSF.3.91.961128100154.1605J-100000@panda.hilink.com.au>
In-Reply-To: <3.0.32.19961127091306.007ef430@pop.calweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961128100154.1605J-100000>