Mail store and forward gateway setup

Jim Whitelaw pmmail@rpglink.com
Fri, 26 Nov 1999 10:28:03 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 26 Nov 1999 13:01:07 +0100 (MET), Joachim F. Selinger wrote:

>From a Win95 PC (pc2) running PMMail 2000 I'd like to send mail to
>pc1 anytime, but actually send it to the internet only after a say so, 
>namely when I do connect anyway to fetch new mail.
>
>Receiving mail for pc2 is done nicely by a filter in PMMail and a local 
>pop3 daemon on pc1.
>
>Does anyone know how to accomplish this on OS/2? 

I had a similar situation once. I solved it with REXX. I wrote a little
script that implemented a minimal subset of the SMTP protocol. What it did
was just take the message, write it out to a temp file and then send the file
with the 'sendmail -f' syntax and remove it. When using the '-f' param,
sendmail doesn't choke when it can't complete a lookup on the recipient's
mail host - it just queues the message. Then later when the connection was
up, I used 'sendmail -q' to send out the queued mail. 

It's been years since I've used it, but I might have it archived on tape
somewhere, I'll have a look for you.



=========================================================================
Jim Whitelaw                                         tel: +1.780.975.1534
jim-at-pdsys-dot-com                                 fax: +1.403.484.9239
Pathways Data Systems Inc.                           http://www.pdsys.com
=========================================================================
"It is best to assume that the network is filled with malevolent entities
 that will send packets designed to have the worst possible effect."
                                                  - F.Baker, RFC1812

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies.

iQA/AwUBOD7DIyo2mWE/JSfJEQIbPACcCiPjp3YSP588J70vOj/fVJ5zQTwAn2FF
MfpmpAkcuGbSsagwQLGryd/k
=Xt8q
-----END PGP SIGNATURE-----