Stefano Mazzocchi wrote:
> 
> Gabriel Lawrence wrote:
> >
> > Howdy,
> >
> > I've been poking around james and avalon, and it looks like there is no
> > way
> > to set up what ip address on a multihomed box James will bind to, it
> > insists
> > on binding to all ip addresses.  The socket server code seems to be the
> > offending code. It only takes an int for port, when it should also be
> > taking an InetAddress that will control what IP the service binds to.
> 
> I heard about jvm bugs around this... but I'm not sure if/when they got
> fixed...
> 
> > For the deployment of our app we are going to need to run JAMES side by
> > side with another SMTP server. We plan to shift completly to JAMES in
> > the long run, but we have to stage the migration. Because of this we
> > want
> > to set up JAMES to listen on one ip and the other SMTP server to listen
> > on
> > the other.
> 
> makes perfect sense. I agree we should have this feature.
> 
> > As I need to make this change, I'd like to ask the group what the best
> > way to
> > do it is. I see to possibilities. First, I could create a whole new
> > service interface,
> > MultihomeServerSocket or some such thing, and change james to depend on
> > that,
> > or I could change the ServerSocket interface itself. I plan to have the
> > first solution
> > only able to bind to a single ip, but I figure in the long run it should
> > allow binding
> > to several ips...
> 
> Hmmmm, I honestly don't know... Federico is the one that knows the
> internals better.... what do you say?
> 

Actually I had the same problem for a micro proxy I needed for home
server and I patched this feature to ServerManager. Leave me one hour
and I'll add it to Avalon CVS. After that some changes must be made on
James to use this feature... I'll take care of it asap.

Federico Barbieri
<[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to