You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Hontvari Jozsef <ho...@solware.com> on 2003/05/14 09:27:50 UTC
[PATCH] RemoteDelivery bind parameter doc
This is the doc patch for the newly introduced RemoteDelivery bind parameter
----- Original Message -----
From: "Hontvari Jozsef" <ho...@solware.com>
To: "James Developers List" <ja...@jakarta.apache.org>
Sent: Friday, April 11, 2003 2:24 PM
Subject: [PATCH] for Bug 18726 JavaMail doesn't support specifying the SMTP
bind address
> The patch addresses the problem in the way as described below by Noel.
>
> It adds a new configuration parameter, "bind" to the RemoteDelivery
mailet.
> If this parameter is not given then the patch doesn't change the current
> algorithm at all.
>
> This patch is against the 2.1.2 version, not the 3.0 head. I would like it
> to be included in the next small bugfix release, I am already using it
> successfully with 2.1.2.
>
> If you accept it, I am willing to add the new configuration parameter to
the
> user doc, but I need to know the base cvs tag which I should use.
>
>
> ----- Original Message -----
> From: "Hontvari Jozsef" <ho...@solware.com>
> To: "James Developers List" <ja...@jakarta.apache.org>
> Sent: Thursday, April 10, 2003 11:20 PM
> Subject: Re: JavaMail doesn't support specifying the SMTP bind address
>
>
> > I have implemented this in the way Noel recommended. It seems to be
> working.
> > I will send a patch in the near future.
> >
> >
> > ----- Original Message -----
> > From: "Noel J. Bergman" <no...@devtech.com>
> > To: "James Developers List" <ja...@jakarta.apache.org>
> > Cc: "JAVAMAIL-INTEREST" <JA...@java.sun.com>
> > Sent: Sunday, April 06, 2003 7:48 AM
> > Subject: JavaMail doesn't support specifying the SMTP bind address
> >
> >
> > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18726
> > > > RemoteDelivery doesn't use the SMTP bind address
> > >
> > > > While I can set the ip address the smtp server binds to, it only
> affects
> > > the
> > > > server port. But when it delivers emails James binds to the default
ip
> > > address
> > > > instead of the specified.
> > >
> > > The IP address that you can set is for the incoming handler. It
> certainly
> > > does not need to be the same as the outgoing side of James. However
...
> > >
> > > From what I can see, JavaMail has no default provision for calling any
> of
> > > the Socket constructors that specify which local address and/or port
to
> > > bind. It either calls new Socket(host, port) or it uses a
> SocketFactory.
> > > For some information on that, see
> > > http://www.javaworld.com/javatips/jw-javatip115.html and related
links.
> > >
> > > I haven't looked into it much, but perhaps we could add our own
> > > SocketFactory and some properties to support the ability to bind to a
> > > specific outgoing IP and port. Since I run multi-homed servers, the
> > > inability to control bind addresses is a pet peeve of mine, too. I've
> > fixed
> > > a number of open source programs in that regard.
> > >
> > > On the other hand, perhaps there is something in JavaMail that already
> > does
> > > this, and we've simply missed it. I'm cc'in the JavaMail Interest
List
> to
> > > see what they say.
> > >
> > > --- Noel
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: james-dev-help@jakarta.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: james-dev-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
RE: [PATCH] RemoteDelivery bind parameter doc
Posted by "Noel J. Bergman" <no...@devtech.com>.
> This is the doc patch for the newly introduced RemoteDelivery bind
parameter
Committed. Thanks. :-)
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org