From owner-freebsd-isp Mon Jan 25 21:00:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA00421 for freebsd-isp-outgoing; Mon, 25 Jan 1999 21:00:54 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from bsd3.nyct.net (bsd3.nyct.net [204.141.86.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA00416 for ; Mon, 25 Jan 1999 21:00:53 -0800 (PST) (envelope-from myj@bsd3.nyct.net) Received: (from myj@localhost) by bsd3.nyct.net (8.8.8/8.8.5) id XAA00519; Mon, 25 Jan 1999 23:59:22 -0500 (EST) Date: Mon, 25 Jan 1999 23:59:22 -0500 (EST) From: Paul Sandys To: Leif Neland cc: freebsd-isp@FreeBSD.ORG Subject: Re: dummy-pop3 server In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 26 Jan 1999, Leif Neland wrote: > Date: Tue, 26 Jan 1999 00:35:23 +0100 (CET) > From: Leif Neland > 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