Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  5 Feb 1999 03:05:38 +0400
From:      Volodya Krok <krok@zenith.spb.ru>
To:        freebsd-isp@FreeBSD.ORG
Subject:   dummy-pop3 server
Message-ID:  <36BAA678@zenith.spb.ru>

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 would also recommend you to use this line in your script:

trap "/bin/echo go away; exit 0" 1 2 3 4 5 6 7 10 15



--
Volodya Krok
krok@zenith.spb.ru




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?36BAA678>