From owner-freebsd-isp Mon Jan 25 17:50:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA24501 for freebsd-isp-outgoing; Mon, 25 Jan 1999 17:50:45 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from red.ligos.com (red.ligos.com [207.238.131.190]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA24494 for ; Mon, 25 Jan 1999 17:50:43 -0800 (PST) (envelope-from rwaldura@LIGOS.COM) Received: (qmail 22592 invoked from network); 26 Jan 1999 01:50:39 -0000 Received: from unknown (HELO server.ligos.com) (192.168.1.2) by 192.168.1.6 with SMTP; 26 Jan 1999 01:50:39 -0000 Received: by server.ligos.com with Internet Mail Service (5.0.1460.8) id ; Mon, 25 Jan 1999 17:50:39 -0800 Message-ID: <9141909996F1D011B8FF00A0C95A661B28E7F7@server.ligos.com> From: Renaud Waldura To: root@swimsuit.internet.dk Cc: freebsd-isp@FreeBSD.ORG Subject: RE: dummy-pop3 server Date: Mon, 25 Jan 1999 17:50:38 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org #!/bin/sh TIMEOUT=60 # seconds ME=$$ ( sleep $TIMEOUT ; kill $ME ) & echo "+OK FAKEPOP" read user echo "+OK Password required" read password echo "-ERR Change your client to use pop.example.com" I tend to think Perl is overkill for this. --Renaud > -----Original Message----- > From: Karl Pielorz [SMTP:kpielorz@tdx.co.uk] > Sent: Monday, January 25, 1999 5:13 PM > To: jfesler@gigo.com > Cc: jwhite@cryogen.com; root@swimsuit.internet.dk; > freebsd-isp@FreeBSD.ORG > Subject: Re: dummy-pop3 server > > jfesler@gigo.com wrote: > > > [snip perl version] > > #! /bin/sh > > > > echo "+OK FAKEPOP" > > read userline > > echo "+OK Password required" > > read passwordline > > echo "-ERR Change your server to use pop.realhost.com" > > And what happens when the client hangs? - Or doesn't go away?... > > (And that is the last I'm saying on this :-) - I'm honestly not out to > start > Perl/Shell/Flamewars I (the Prequel)... > > -Kp > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message