Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 23:59:22 -0500 (EST)
From:      Paul Sandys <myj@nyct.net>
To:        Leif Neland <root@swimsuit.internet.dk>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: dummy-pop3 server
Message-ID:  <Pine.BSF.4.02A.9901252351370.29786-100000@bsd3.nyct.net>
In-Reply-To: <Pine.BSF.4.05.9901260031590.3837-100000@gina.neland.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Jan 1999, Leif Neland wrote:

> Date: Tue, 26 Jan 1999 00:35:23 +0100 (CET)
> From: Leif Neland <root@swimsuit.internet.dk>
> To: freebsd-isp@FreeBSD.ORG
> Subject: dummy-pop3 server
> 
> I'm looking for a dummy pop3-server, which can authorize anybody, and just
> send a single message: 'Hey dummy, we have moved the pop3-server; don't
> use this ip-adress, use the name: "mail.our.domain" instead.'
> 
> leif@neland.dk
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 

I just went through exactly same thing....

#!/bin/sh
echo "+OK QPOP (version 2.53) at bsd1.nyct.net starting."
read -t 10 INP
echo $INP >> /var/log/wrongpops
echo "+OK Password required for $INP."
read -t 10 PAS
echo "-ERR Change your popserver to mail.nyct.net."
echo "+OK Pop server at bsd1.nyct.net signing off."


This is what I ended up with . It also logs usernames, so you can
track users with wrong POP server information. Also note the timeout of 10
seconds on reads - helps a lot ;)

The only problem I saw was with some versions of Eudora, it freezes up.

P.

<-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->
< myj@nyct.net   Paul Sandys   |   New York Connect   http://www.nyct.net >
< network operations manager   |   Total Solution provider                >
<------------------------------------------------------------------------->
<         " BRINGING NEW YORK THE INTERNET SERVICES IT DESERVES "         >
<-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->



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?Pine.BSF.4.02A.9901252351370.29786-100000>