From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 10:39:56 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 1F214106566B for ; Wed, 9 Jul 2008 10:39:56 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id EAADC8FC15 for ; Wed, 9 Jul 2008 10:39:55 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KGX5X-0003Vf-3e for freebsd-questions@freebsd.org; Wed, 09 Jul 2008 03:39:55 -0700 Message-ID: <18358709.post@talk.nabble.com> Date: Wed, 9 Jul 2008 03:39:54 -0700 (PDT) From: Owen Garrett To: freebsd-questions@freebsd.org In-Reply-To: <48747A17.5050505@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ogarrett@zeus.com References: <20080627101221.E1504@trex.centroin.com.br> <48651799.1020807@passagen.se> <20080630115120.R77719@trex.centroin.com.br> <4868F65B.1050200@unsane.co.uk> <20080708170349.D7776@trex.centroin.com.br> <48747A17.5050505@unsane.co.uk> 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: Wed, 09 Jul 2008 10:39:56 -0000 > I'm afraid not, I looked into it a little but management ended up > deciding we would be using zxtm load balancers > (http://www.zeus.com/products/zxtm/) which were better suited for us > overall. Vince, With a little TrafficScript, you can do exactly this with ZXTM, so perhaps management made a good choice =). Here's a simple TrafficScript rule I've used to connect POP3 connections to two different groups of POP3 servers based on username: $req = request.getLine(); if( string.regexmatch( $req, "USER ([^\\s]*)") ) { $user = $1; if( $user == "owen" ) { pool.use( "local pop servers" ); } if( $user == "owen.garrett" ) { pool.use( "gmail pop servers" ); } # Otherwise, drop the connection connection.discard(); } The 'gmail pop servers' pool is configured to use SSL to connect to gmail's servers on port 995, so you can use this technique to bridge between plain pop3 (port 110) on the client and SSL-wrapped connections on the server too. Talk to Zeus' support team - they will be more than able and willing to help you configure ZXTM with a bit of TrafficScript to do what you need... Owen -- View this message in context: http://www.nabble.com/Load-balance-for-POP3-tp18155594p18358709.html Sent from the freebsd-questions mailing list archive at Nabble.com.