Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 17:50:38 -0800
From:      Renaud Waldura <rwaldura@LIGOS.COM>
To:        root@swimsuit.internet.dk
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   RE: dummy-pop3 server
Message-ID:  <9141909996F1D011B8FF00A0C95A661B28E7F7@server.ligos.com>

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

	#!/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9141909996F1D011B8FF00A0C95A661B28E7F7>