🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.help
Article #246

dial on demand - how?

#246
From: John Parker
Date: Wed, 17 Aug 1994 10:10
44 lines
2232 bytes
I am trying to set up a PC running Linux to act as a mail hub
for a number of remote users, with a dialup connection to the 
Internet (via Demon). I've given up trying to use KA9Q!

I have the basic system running fine, and mail to/from the 
Internet works well. At present I run dip with a script to 
establish the connection, and use dip -k to kill it.

I plan to set up cron to run dip every hour or so to poll
for incomming mail.

My problem is outgoing mail.



THE QUESTION
------------
Is it possible to set up linux (dip + smail) to dial up 
if there is any mail to send, as soon as the user has
"sent" the mail?



(With this scheme, outgoing mail would be sent to the net 
on demand and incomming mail would be collected by regular
polling. Of course, any mail waiting would get transferred
on either type of connection)
 
I suppose a quick shell script which checks the mail queue
ever few minutes, and runs dip if there is any mail to send
would work fine, but I don't want to re-invent the wheel.

I have searched the manuals, HOW-TOs, and FAQs but found no 
reference to demand dialup.

Regards

        John

_______________________________________________________________________
John Parker                 Email:        jparker@lattice.co.uk
Lattice Limited                           jdparker@cix.compulink.co.uk
Phone +44 279 501955        Direct Phone: +44 403 218803
Fax   +44 279 758550        Direct Fax:   +44 403 218803
Technical Details
Message-ID: <777118227snz@lattice.co.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!pipex!demon!lattice.co.uk!jparker

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108f6a,72dbfad1a4ea6481,start
X-Google-Attributes: gid108f6a,public
X-Google-Thread: 100b1f,72dbfad1a4ea6481,start
X-Google-Attributes: gid100b1f,public
X-Google-ArrivalTime: 1994-08-17 03:46:06 PST
Newsgroups: comp.os.linux.help,demon.ip.support.unix
From: jparker@lattice.co.uk (John Parker)
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!howland.reston.ans.net!pipex!demon!lattice.co.uk!jparker
Subject: dial on demand - how?
Organization: Lattice Limited
Reply-To: jparker@lattice.co.uk
X-Newsreader: Demon Internet Simple News v1.29
Lines: 45
Date: Wed, 17 Aug 1994 10:10:27 +0000
Message-ID: <777118227snz@lattice.co.uk>
Sender: usenet@demon.co.uk