Date: Wed, 9 Jul 2008 03:39:54 -0700 (PDT) From: Owen Garrett <ogarrett@zeus.com> To: freebsd-questions@freebsd.org Subject: Re: Load balance for POP3 Message-ID: <18358709.post@talk.nabble.com> In-Reply-To: <48747A17.5050505@unsane.co.uk> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18358709.post>