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.

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.

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...

Thoughts?

-gabe



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

Reply via email to