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?
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<[EMAIL PROTECTED]> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/>
Problems?: [EMAIL PROTECTED]