From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 14:54:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 855271065675 for ; Mon, 30 Jun 2008 14:54:03 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from raptor.centroin.com (asmtp.centroin.com [64.251.27.169]) by mx1.freebsd.org (Postfix) with ESMTP id 35EEA8FC15 for ; Mon, 30 Jun 2008 14:54:02 +0000 (UTC) (envelope-from scuba@centroin.com.br) Received: from trex.centroin.com.br (trex.centroin.com.br [200.225.63.134]) (authenticated bits=0) by raptor.centroin.com (8.14.2/8.13.8/CIP SMTP HOST) with ESMTP id m5UEsMx5028200; Mon, 30 Jun 2008 11:54:24 -0300 (BRT) (envelope-from scuba@centroin.com.br) Date: Mon, 30 Jun 2008 11:54:20 -0300 (BRT) From: scuba@centroin.com.br Sender: mpsouza@trex.centroin.com.br To: Roger Olofsson In-Reply-To: <48651799.1020807@passagen.se> Message-ID: <20080630115120.R77719@trex.centroin.com.br> References: <20080627101221.E1504@trex.centroin.com.br> <48651799.1020807@passagen.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Load balance for POP3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 14:54:03 -0000 Roger, On Fri, 27 Jun 2008, Roger Olofsson wrote: |scuba@centroin.com.br skrev: |> |> I need to switch the users connections between two POP3 servers based on |> login information. |> Since the login is part of the pop3 handshake, I'm stuck on how to |> "transfer" the connection and pass the info already sent. |> I'm trying to script something with "socat" |> (http://www.dest-unreach.org/socat/doc/socat.html). |> |> I'll appreciate any clue. | |You might want to take a look at Pen /usr/ports/net/pen. In this case Pen does not help, since I want to decide which server to switch after login. - Marcelo