LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Pop-Before-SMTP and LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Pop-Before-SMTP and LVS
From: "Peter Mueller" <pmueller@xxxxxxxxxxxx>
Date: Mon, 23 Aug 2004 15:23:34 -0700
> I just added pop and smtp services to my load balancers, and 
> I wanted to 
> know if there was a way to tie the two connections together 
> somehow.  I 
> use pop-before-smtp to allow my users to send mail, but 
> sometimes they 
> reconnect to a different server for smtp than the one they 
> pop-ed into. 
>    Most of the time it's OK because they have pop-ed to both of the 
> servers in the cluster but every now and then I have a user 
> with an issue.
> 
> Is there a way to have it keep track of the IP and always send those 
> SMTP and POP connections to the same real server?
> 
> Can anyone think of a way to accomplish this?
> 
> I use ldirectord for my virtual server management.

You can use port 0 with a higher persistance for this setup.  If you want
have a healthchecker you could setup one called "mail" that checks for POP,
then SMTP.  Send a diff to Horms :).

P
<Prev in Thread] Current Thread [Next in Thread>