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 no...@apache.org on 2006/11/03 19:01:36 UTC

svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Author: noel
Date: Fri Nov  3 10:01:35 2006
New Revision: 470929

URL: http://svn.apache.org/viewvc?view=rev&rev=470929
Log:
JAMES-592.  Trunk has a more involved fix (doesn't use a static method), but the call stack would be the same.  We use dnsjava for host name resolution, rather than populating the InetAddress cache.

Modified:
    james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java
    james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java
    james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java
    james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
    james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java

Modified: james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java?view=diff&rev=470929&r1=470928&r2=470929
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java Fri Nov  3 10:01:35 2006
@@ -521,6 +521,18 @@
     }
 
     /**
+     * Simple backport from trunk of method to use dnsjava for hostname
+     * resolution, avoiding the cache inside of InetAddress.
+     */
+    public static String getHostName(InetAddress addr){
+        try {
+            return org.xbill.DNS.Address.getHostName(addr);
+        } catch (UnknownHostException e) {
+            return addr.getHostAddress();
+        }
+    }
+
+    /**
      * The dispose operation is called at the end of a components lifecycle.
      * Instances of this class use this method to release and destroy any
      * resources that they own.

Modified: james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java?view=diff&rev=470929&r1=470928&r2=470929
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java Fri Nov  3 10:01:35 2006
@@ -373,7 +373,7 @@
                 handlerThread = Thread.currentThread();
             }
             remoteIP = socket.getInetAddress().getHostAddress();
-            remoteHost = socket.getInetAddress().getHostName();
+            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
             in = new BufferedInputStream(socket.getInputStream(), 1024);
             // An ASCII encoding can be used because all transmissions other
             // that those in the message body command are guaranteed

Modified: james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java?view=diff&rev=470929&r1=470928&r2=470929
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java Fri Nov  3 10:01:35 2006
@@ -230,7 +230,7 @@
             // in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "ASCII"), 512);
             in = new CRLFTerminatedReader(new BufferedInputStream(socket.getInputStream(), 512), "ASCII");
             remoteIP = socket.getInetAddress().getHostAddress ();
-            remoteHost = socket.getInetAddress().getHostName ();
+            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
         } catch (Exception e) {
             if (getLogger().isErrorEnabled()) {
                 StringBuffer exceptionBuffer =

Modified: james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java?view=diff&rev=470929&r1=470928&r2=470929
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java Fri Nov  3 10:01:35 2006
@@ -247,7 +247,7 @@
 
         socket = connection;
         String remoteIP = socket.getInetAddress().getHostAddress();
-        String remoteHost = socket.getInetAddress().getHostName();
+        String remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
 
         synchronized (this) {
             handlerThread = Thread.currentThread();

Modified: james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java
URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java?view=diff&rev=470929&r1=470928&r2=470929
==============================================================================
--- james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java (original)
+++ james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java Fri Nov  3 10:01:35 2006
@@ -274,7 +274,7 @@
             // inReader = new BufferedReader(new InputStreamReader(in, "ASCII"), 512);
             inReader = new CRLFTerminatedReader(in, "ASCII");
             remoteIP = socket.getInetAddress().getHostAddress();
-            remoteHost = socket.getInetAddress().getHostName();
+            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
             smtpID = random.nextInt(1024) + "";
             relayingAllowed = theConfigData.isRelayingAllowed(remoteIP);
             authRequired = theConfigData.isAuthRequired(remoteIP);



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman wrote:
> Stefano Bagnara wrote:
>> but it could happen (or maybe it already happen) that some third party
>> library we use still make use of InetAddress "flawed" methods, and the
>> above property would save us from the possible OutOfMemory because of
>> the unbounded cache.
> 
> Perhaps, but I would rather vet the code, and be more careful about what we use.  Now that we know one of the things to look for carefully, we can avoid it.  The better solution is to avoid the problem, not mask it.
> 
> 	--- Noel

I agree on the "avoid it": we avoid it in trunk because of this.
I just opened a JIRA issue specific to the property usage.
https://issues.apache.org/jira/browse/JAMES-679

e.g. it is for sure better to make secure applications, but people keep 
trying to run applications using unpriviledged users: hope you agree 
that the right solution is to have secure applications, but is good to 
have them running with less priviledges. This is not to mask the 
problems, it is to avoid the results of the problems.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Stefano Bagnara wrote:
> Noel J. Bergman wrote:
>>> A third, alternative, workaround is to add:
>>> java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
>>> somewhere in our code.
>> <<sigh>> Except that it addresses none of the other technical flaws with
>> using Sun's code.  If you think that this is such a good idea, why don't
>> we do it throughout the trunk code, too?

> You are right, we probably should add this also to trunk.

OK, so you propose that we should remove dnsjava, except for resolving MX records, and use InetAddress with the above change?  Of course not, since ...

> in trunk we already optimized the use of the caches and their expiration
> by moving to dnsjava (even if this still needs some tuning because it
> currenlty use a mix of static and standard calls)

Yes, that is exactly the same thing I am trying to do in the 4 lines of code that we missed in v2.3.0, and having you block making that change because you don't like the static method.

> but it could happen (or maybe it already happen) that some third party
> library we use still make use of InetAddress "flawed" methods, and the
> above property would save us from the possible OutOfMemory because of
> the unbounded cache.

Perhaps, but I would rather vet the code, and be more careful about what we use.  Now that we know one of the things to look for carefully, we can avoid it.  The better solution is to avoid the problem, not mask it.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman wrote:
>> A third, alternative, workaround is to add:
>> java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
>> somewhere in our code.
> 
> <<sigh>> Except that it addresses none of the other technical flaws with using Sun's code.  If you think that this is such a good idea, why don't we do it throughout the trunk code, too?
> 
> 	--- Noel

You are right, we probably should add this also to trunk.

In fact I think it should be probably part of the container: a container 
that is built to run a long running application should make sure that 
the dns cache is expired someway.

Furthermore, in trunk we already optimized the use of the caches and 
their expiration by moving to dnsjava (even if this still needs some 
tuning because it currenlty use a mix of static and standard calls) in 
our sourcecode but it could happen (or maybe it already happen) that 
some third party library we use still make use of InetAddress "flawed" 
methods, and the above property would save us from the possible 
OutOfMemory because of the unbounded cache.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
> A third, alternative, workaround is to add:
> java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
> somewhere in our code.

<<sigh>> Except that it addresses none of the other technical flaws with using Sun's code.  If you think that this is such a good idea, why don't we do it throughout the trunk code, too?

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Stefano Bagnara wrote:
> my proposal is to add "-Dsun.net.inetaddr.ttl=10" or anything but "-1" 
> to the startup parameters.
> 
> Otherwise backport the full change from trunk.
> 
> The first is the "least change" workaround, the last is the most correct.

A third, alternative, workaround is to add:
java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
somewhere in our code.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Bernd Fondermann <be...@googlemail.com>.
On 11/6/06, Noel J. Bergman <no...@devtech.com> wrote:
> Bernd Fondermann wrote:
>
> > did you ever think of writing test code for accessing DNS lookups
> > which is able to run offline or with a mock up DNS server?
>
> Actually, yes.  For example, while I was tracking down the InetAddress cache
> related memory leak.  :-)
>
> > hardcoded static access to another component makes that impossible.
>
> However, the Java class library doesn't care about Avalon services, so
> nothing we are talking about would have helped.  We would need a way of
> "simulating" connections from 100s of 1000s of unique IP addresses and
> unique host names that was not only convincing to JAMES but to core Java.

as long as _we_ care about abstraction and encapsulation in general
(using Avalon Services or whatever), we can work around this fact by
centrally replacing JDK calls or third party stuff with something
else.
if InetAddress would have been properly replaced with DNSServer calls
everywhere, the problem would never have been there, right?

  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Bernd Fondermann wrote:

> did you ever think of writing test code for accessing DNS lookups
> which is able to run offline or with a mock up DNS server?

Actually, yes.  For example, while I was tracking down the InetAddress cache
related memory leak.  :-)

> hardcoded static access to another component makes that impossible.

However, the Java class library doesn't care about Avalon services, so
nothing we are talking about would have helped.  We would need a way of
"simulating" connections from 100s of 1000s of unique IP addresses and
unique host names that was not only convincing to JAMES but to core Java.

> For the specific fix discussed here, this seems ok and is improving
> immediate quality. Beyond the scope of the bug fix, it is reducing
> the overall quality of the application.

And the code is trunk has the assembly-based indirection in it, right?  So
you cannot claim that I'm in favor of a static method instead of indirection
on a general basis.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Bernd Fondermann <be...@googlemail.com>.
On 11/6/06, Noel J. Bergman <no...@devtech.com> wrote:
> Danny Angus wrote:
>
> > Noel J. Bergman wrote:
> > > That's it.  Assembly vs a static method.  The only difference between
> the
> > > two code sets.  That's all that we're talking about.
>
> > You're not going to draw me into a Big Debate about this ;-)
>
> Well, I agree with you, but Stefano thinks that the difference amounts to a
> technical justification to block the fix.  :-)
>
> > From where I'm sitting though, static method == Bad, indirection and
> > separation of concerns == good.
>
> Well, the SoC claim is bogus, because either way the code is in the same
> component.  The difference is the indirection to the implementation.  Yes,
> that's generally a reasonable thing, but it isn't as if JAMES is a bag of
> components for someone to tinker around with in Spring.  It is an
> application.  Besides, the assembly-based fix is in trunk, which we might be
> able to release next Summer (maybe)

Noel, did you ever think of writing test code for accessing DNS
lookups which is able to run offline or with a mock up DNS server?
Maybe having an isolated test scenario with massive amounts of
randomly generated domain names instead of waiting for the production
system to generate the test cases for you?

Obviously not. Because hardcoded static access to another component
makes that impossible.
Tight coupling is spread out all over James. It makes the code harder
to understand, maintain and test. This results in bad quality
surfacing as bugs and errors.

For the specific fix discussed here, this seems ok and is improving
immediate quality. Beyond the scope of the bug fix, it is reducing the
overall quality of the application.

I am not following Stefano as far as vetoing this, but can understand
he gets upset by this because he tried to improve indirection over the
course of the last months.

Phrases like "silly debate over static vs assembly" are really of no
help resolving the standing veto, knowing the level of confrontation
you and Stefano are used to get into. And this _is_ silly.

Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
... 997, 998, 999, 1000 ;-)
I didn't want to flood with my concerns so I waited few days.
I just want to summarize my view and the meaning of my veto:

It is not my last word on this issue:
a) I can be convinced that I'm wrong
b) The commit has been done on v2.3: we have to separate v2.3 from 
next-minor and I think they deserve different reasons.

In the middle of dozens of messages I found that Noel brough what I 
consider a good argument against my veto:
"the full backport would need an assembly.xml change"

I agree that we have to do everything we can to keep assembly unchanged 
in a point release 2.3.0 => 2.3.x.

That said my current idea is:

1) add the sun specific property (-D in run command line) to enable 
expiration to InetAddress to all of our phoenixes (trunk/v2.3 branch)

2) backport the full fix (including my latest fixes to dnsserver) to 
next-minor (I think we should try to backport things "as is" and not to 
write alternative solutions to the same problem (much less code to mantain).

Please note that since this thread started I fixed 3 bugs in dnsserver 
in trunk and I believe the 3 bugs are in 2.3.0 too. They are not "major" 
bugs but not even trivial, so this is one more argument to backport the 
complete fix.

I'm not retiring the veto now because I think it doesn't block any 
release. I want to avoid to delay releases/workflow for this issue, but 
I keep the veto because I think this deserve some more considerations.

What I'm trying to avoid is to have 3 different dnsservers because I 
think this is really hard to be supported.

Stefano

Noel J. Bergman wrote:
> Danny Angus wrote:
> 
>> Noel J. Bergman wrote:
>>> That's it.  Assembly vs a static method.  The only difference between
> the
>>> two code sets.  That's all that we're talking about.
> 
>> You're not going to draw me into a Big Debate about this ;-)
> 
> Well, I agree with you, but Stefano thinks that the difference amounts to a
> technical justification to block the fix.  :-)
> 
>> From where I'm sitting though, static method == Bad, indirection and
>> separation of concerns == good.



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Danny Angus wrote:

> Noel J. Bergman wrote:
> > That's it.  Assembly vs a static method.  The only difference between
the
> > two code sets.  That's all that we're talking about.

> You're not going to draw me into a Big Debate about this ;-)

Well, I agree with you, but Stefano thinks that the difference amounts to a
technical justification to block the fix.  :-)

> From where I'm sitting though, static method == Bad, indirection and
> separation of concerns == good.

Well, the SoC claim is bogus, because either way the code is in the same
component.  The difference is the indirection to the implementation.  Yes,
that's generally a reasonable thing, but it isn't as if JAMES is a bag of
components for someone to tinker around with in Spring.  It is an
application.  Besides, the assembly-based fix is in trunk, which we might be
able to release next Summer (maybe).

> Its a *tiny* point of design vs a pragmatic Big Win. I'm on your side,
> the pragmatic change wins hands down. and that is my final word.

:-)

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Danny Angus <da...@gmail.com>.
On 11/5/06, Noel J. Bergman <no...@devtech.com> wrote:

> That's it.  Assembly vs a static method.  The only difference between the
> two code sets.  That's all that we're talking about.

You're not going to draw me into a Big Debate about this ;-)

>From where I'm sitting though, static method == Bad, indirection and
separation of concerns == good.

Its a *tiny* point of design vs a pragmatic Big Win. I'm on your side,
the pragmatic change wins hands down. and that is my final word.

:-)

d.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Danny Angus wrote:

> Noel J. Bergman <no...@devtech.com> wrote:
> > > +0 This is a temporary measure which resolves the issue, but doesn't
> > > remove the root cause properly.
> > Danny, what are you talking about?  Of course it removes the root cause.
> > That is all and exactly what it does.  What other root cause are you
> > presuming?

> Yes it removes the root cause, but not in the best way, from where I'm
> sitting it is a pragmatic patch and not one which has actually taken
> account of all of the design considerations.

Huh?  The solution is to always avoid using InetAddress for resolution.
That is the fix we use throughout JAMES in both v2.3 (and earlier) and
trunk.  In v2.3.0, we missed four lines of code; one line in each handler.
In trunk those lines were replaced with a call to our DNSService to resolve
the names using dnsjava.

So what's the difference between what I did and what is in trunk?  In my
patch, I used a static method on the DNS server class.  In trunk we changed
the interface, changed each client to lookup the DNS server from Avalon,
changed the assembly descriptor to register each one as needing the DNS
service, and then called an instance method instead of a static method.

That's it.  Assembly vs a static method.  The only difference between the
two code sets.  That's all that we're talking about.

> > I'm not ready to define [DNS service] in the Mailet API.

> No  me either. I'd much rather educate than compel.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Danny Angus <da...@gmail.com>.
On 11/5/06, Noel J. Bergman <no...@devtech.com> wrote:

> > +0 This is a temporary measure which resolves the issue, but doesn't
> > remove the root cause properly.
>
> Danny, what are you talking about?  Of course it removes the root cause.
> That is all and exactly what it does.  What other root cause are you
> presuming?

Yes it removes the root cause, but not in the best way, from where I'm
sitting it is a pragmatic patch and not one which has actually taken
account of all of the design considerations.

FWIW I'm *in favour* of pragmiatism.


> Yes, we can document these properties for people whose custom additions use
> InetAddress for resolution, and therefore suffer from the crude and lazy
> hack in Sun's InetAddress implementation.  Better still would be to document
> that they should use dnsjava or our DNSServer, but I'm not ready to define
> the latter in the Mailet API.

No  me either. I'd much rather educate than compel.

d.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Danny Angus wrote:

> Norman Maurer <nm...@byteaction.de> wrote:
> > Commit which noel made:
> > +0 Cause i not see a big problem in it . We have the problems
> > with couple services anyway in 2.3

> +0 This is a temporary measure which resolves the issue, but doesn't
> remove the root cause properly.

Danny, what are you talking about?  Of course it removes the root cause.
That is all and exactly what it does.  What other root cause are you
presuming?

> > Backport the complex one from trunk:
> > + 1 Cause it is the better "solution" even it can intruduce more
> > problems cause it is a  "big" patch. Anyway i whould like to see it
> > cause i don'T asspect 2.3.1 in a few weeks. So why hurry ?

I would expect the next minor release within a month, and we could release
JAMES Next Minor immediately if more people start to report this problem.

> +1, but I'm not going to do it, and anyway that can be planned into
> the *next* release.

What is the point of backporting the more complex change which offers zero
functional difference and also requires the user to remove assembly.xml in
order to restart JAMES because the configurations are not compatible?

> > Use properties:
> > + 0.5 I think we should at least add this to "known issues" as solution
> +1 to document the use of the properties so that others can choose how
> to use them.

Yes, we can document these properties for people whose custom additions use
InetAddress for resolution, and therefore suffer from the crude and lazy
hack in Sun's InetAddress implementation.  Better still would be to document
that they should use dnsjava or our DNSServer, but I'm not ready to define
the latter in the Mailet API.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Danny Angus <da...@gmail.com>.
My 2c below..

On 11/3/06, Norman Maurer <nm...@byteaction.de> wrote:
> Ok let me cast my vote too ;-)
>
> Commit which noel made:
> +0 Cause i not see a big problem in it . We have the problems with
> couple services anyway in 2.3

+0 This is a temporary measure which resolves the issue, but doesn't
remove the root cause properly.

> Backport the complex one from trunk:
> + 1 Cause it is the better "solution" even it can intruduce more
> problems cause it is a  "big" patch. Anyway i whould like to see it
> cause i don'T asspect 2.3.1 in a few weeks. So why hurry ?

+1, but I'm not going to do it, and anyway that can be planned into
the *next* release.
In the meantime It All Works (tm).

>
> Use properties:
> + 0.5 I think we should at least add this to "known issues" as solution


+1 to document the use of the properties so that others can choose how
to use them.

d.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman wrote:
> Norman Maurer wrote:
> 
>> Commit which noel made:
>> +0 Cause i not see a big problem in it . We have the problems with
>> couple services anyway in 2.3
> 
> Exactly.
> 
>> Backport the complex one from trunk:
>> + 1 Cause it is the better "solution" even it can intruduce more
>> problems cause it is a  "big" patch.
> 
> I wouldn't mind, but it is a couple of hours of work to do the whole thing right (and more code change == more risk).  That seems a waste, since the branch will (hopefully) be dead-ended.  Also, there is a problem with it: unless the user removes assembly.xml, JAMES won't restart.  The patch I did is entirely compatible with v2.3.0, including the existing XML, and is a drop-in for the current SAR file.
> 
> 	--- Noel

I can do the backport if we agree that the full backport is better. I 
always did my duties, so you shouldn't fear that I'll say what to do and 
then start looking...

This message make me fear something else: when you say that next-minor 
will be v2.3 + few selected backports from trunk you mean that you will 
write differently the features or that you will backport the code "as 
is" when possible?

As I said I'm +0 about a next-minor based on 2.3 and having few selected 
backports from trunk, but I'm -0 to have features backported in a 
different way: if we start having so different branches it will become a 
mess.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Norman Maurer wrote:

> Commit which noel made:
> +0 Cause i not see a big problem in it . We have the problems with
> couple services anyway in 2.3

Exactly.

> Backport the complex one from trunk:
> + 1 Cause it is the better "solution" even it can intruduce more
> problems cause it is a  "big" patch.

I wouldn't mind, but it is a couple of hours of work to do the whole thing right (and more code change == more risk).  That seems a waste, since the branch will (hopefully) be dead-ended.  Also, there is a problem with it: unless the user removes assembly.xml, JAMES won't restart.  The patch I did is entirely compatible with v2.3.0, including the existing XML, and is a drop-in for the current SAR file.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Norman Maurer <nm...@byteaction.de>.
Ok let me cast my vote too ;-)

Commit which noel made:
+0 Cause i not see a big problem in it . We have the problems with
couple services anyway in 2.3

Backport the complex one from trunk:
+ 1 Cause it is the better "solution" even it can intruduce more
problems cause it is a  "big" patch. Anyway i whould like to see it
cause i don'T asspect 2.3.1 in a few weeks. So why hurry ?

Use properties:
+ 0.5 I think we should at least add this to "known issues" as solution

bye
Norman
Stefano Bagnara schrieb:
> Stefano Bagnara wrote:
>> my proposal is to add "-Dsun.net.inetaddr.ttl=10" or anything but
>> "-1" to the startup parameters.
>>
>> Otherwise backport the full change from trunk.
>>
>> The first is the "least change" workaround, the last is the most
>> correct.
>
> A third, alternative, workaround is to add:
> java.security.Security.setProperty("networkaddress.cache.ttl" , "10");
> somewhere in our code.
>
> Stefano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
> !EXCUBATOR:1,454b9ae353071632053468!



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Stefano Bagnara wrote:

> Noel J. Bergman wrote:
> > "Like" is not a technical justification.

> Agreed. In fact I added the technical justification.

What technical justification?  The static method?  What is the technical objection to the use of the static method?  What problem does it create for this branch?  This is strictly internal code with no supported altenatives.

> And I'm happy this is not a memory leak in james but an unbounded cache 
> in the JVM: the subject of the issue should be fixed for changelog purposes.

It is a bug in JAMES because we know that the problem exists in the class library, and missed making that change.

>>> This patch introduce new hardcoded dependencies between components and 
>>> we worked hard to remove them everywhere.

>> So what?  It is the simplest fix.  The alternative is to backport the
>> more complex changes from trunk, but as Norman says, the full fix in
>> trunk is more complex than people wanted to backport.

> It is not true this is the simplest fix, unless you tried the system 
> property solution and proved it failed.

See below (again):

> > This is the same fix that is in trunk, except for the silly debate
> > over static vs assembly, and no one is proposing to keep this around
> > in future major releases.  We know that this fix works, and does not
> > have any side-effects.  Why would I want to use a un-bounded,
> > time-based, cache when everywhere else we use a bounded, properly
> > managed, DNS cache?  And why would I want BOTH?  This change is the
> > one that we have made everywhere else, and missed in these spots.

> my proposal is to add "-Dsun.net.inetaddr.ttl=10" or anything but "-1" 
> to the startup parameters.

See above, which you neglected.  Why would I want a false TTL of 10 seconds for all records, including those that I want cached properly?  The solution is flawed, regardless of whether it would address the memory leak.  Instead, we've consistently changed JAMES to use dnsjava for all DNS resolution.

> Otherwise backport the full change from trunk.

Why, when everyone, including you, agrees that the change is more complicated?  What is the technical justification for objecting to the static method?  No one else is complaining.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman wrote:
> Stefano Bagnara wrote:
> 
>> Currently I cast my veto on this change (I also wrote I didn't like this 
>> change in a previous message).
> 
> "Like" is not a technical justification.  I don't like Maven (which actually HAS issues, unlike this change).  And I don't like memory leaks, even ones that I am told should be closed without being fixed because they are a figment of my imagination.

Agreed. In fact I added the technical justification.
And I don't like it because of technical justifications.
What is the relation of this issue with Maven?

And yes, you don't like maven and in fact james still builds with ant: 
I'm sure that If I start a vote to update our james build to maven you 
will veto it, so I really don't get your reference to the maven issue.

And I'm happy this is not a memory leak in james but an unbounded cache 
in the JVM: the subject of the issue should be fixed for changelog purposes.

>> This patch introduce new hardcoded dependencies between components and 
>> we worked hard to remove them everywhere.
> 
> So what?  It is the simplest fix.  The alternative is to backport the more complex changes from trunk, but as Norman says, the full fix in trunk is more complex than people wanted to backport.  If we were going to keep development v2.3 extensively, I'd agree on backporting the more complex changes from trunk, but this is a dead-end fix that addresses the problem in exactly the same manner.

It is not true this is the simplest fix, unless you tried the system 
property solution and proved it failed.

>> Have you tested the solution using the system property or the security 
>> property? I think we should fix it using that solution.
> 
> Why?  This is the same fix that is in trunk, except for the silly debate over static vs assembly, and no one is proposing to keep this around in future major releases.  We know that this fix works, and does not have any side-effects.  Why would I want to use a un-bounded, time-based, cache when everywhere else we use a bounded, properly managed, DNS cache?  And why would I want BOTH?  This change is the one that we have made everywhere else, and missed in these spots.
> 
> So I see two choices: we keep it or we backport the more complex code from trunk.
> 
> 	--- Noel

my proposal is to add "-Dsun.net.inetaddr.ttl=10" or anything but "-1" 
to the startup parameters.

Otherwise backport the full change from trunk.

The first is the "least change" workaround, the last is the most correct.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Stefano Bagnara wrote:

> Currently I cast my veto on this change (I also wrote I didn't like this 
> change in a previous message).

"Like" is not a technical justification.  I don't like Maven (which actually HAS issues, unlike this change).  And I don't like memory leaks, even ones that I am told should be closed without being fixed because they are a figment of my imagination.

> This patch introduce new hardcoded dependencies between components and 
> we worked hard to remove them everywhere.

So what?  It is the simplest fix.  The alternative is to backport the more complex changes from trunk, but as Norman says, the full fix in trunk is more complex than people wanted to backport.  If we were going to keep development v2.3 extensively, I'd agree on backporting the more complex changes from trunk, but this is a dead-end fix that addresses the problem in exactly the same manner.

> Have you tested the solution using the system property or the security 
> property? I think we should fix it using that solution.

Why?  This is the same fix that is in trunk, except for the silly debate over static vs assembly, and no one is proposing to keep this around in future major releases.  We know that this fix works, and does not have any side-effects.  Why would I want to use a un-bounded, time-based, cache when everywhere else we use a bounded, properly managed, DNS cache?  And why would I want BOTH?  This change is the one that we have made everywhere else, and missed in these spots.

So I see two choices: we keep it or we backport the more complex code from trunk.

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
-1

Currently I cast my veto on this change (I also wrote I didn't like this 
change in a previous message).

This patch introduce new hardcoded dependencies between components and 
we worked hard to remove them everywhere.

Have you tested the solution using the system property or the security 
property? I think we should fix it using that solution.

Even if it is sun specific we currently know this problem is with SUN 
jvms so it is ok to have a sun specific workaround. Either way some part 
of James currenlty would not work with non sun jvms.

Stefano

noel@apache.org wrote:
> Author: noel
> Date: Fri Nov  3 10:01:35 2006
> New Revision: 470929
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=470929
> Log:
> JAMES-592.  Trunk has a more involved fix (doesn't use a static method), but the call stack would be the same.  We use dnsjava for host name resolution, rather than populating the InetAddress cache.
> 
> Modified:
>     james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java
>     james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java
>     james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java
>     james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
>     james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java
> 
> Modified: james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java
> URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java?view=diff&rev=470929&r1=470928&r2=470929
> ==============================================================================
> --- james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java (original)
> +++ james/server/branches/v2.3/src/java/org/apache/james/dnsserver/DNSServer.java Fri Nov  3 10:01:35 2006
> @@ -521,6 +521,18 @@
>      }
>  
>      /**
> +     * Simple backport from trunk of method to use dnsjava for hostname
> +     * resolution, avoiding the cache inside of InetAddress.
> +     */
> +    public static String getHostName(InetAddress addr){
> +        try {
> +            return org.xbill.DNS.Address.getHostName(addr);
> +        } catch (UnknownHostException e) {
> +            return addr.getHostAddress();
> +        }
> +    }
> +
> +    /**
>       * The dispose operation is called at the end of a components lifecycle.
>       * Instances of this class use this method to release and destroy any
>       * resources that they own.
> 
> Modified: james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java
> URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java?view=diff&rev=470929&r1=470928&r2=470929
> ==============================================================================
> --- james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java (original)
> +++ james/server/branches/v2.3/src/java/org/apache/james/nntpserver/NNTPHandler.java Fri Nov  3 10:01:35 2006
> @@ -373,7 +373,7 @@
>                  handlerThread = Thread.currentThread();
>              }
>              remoteIP = socket.getInetAddress().getHostAddress();
> -            remoteHost = socket.getInetAddress().getHostName();
> +            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
>              in = new BufferedInputStream(socket.getInputStream(), 1024);
>              // An ASCII encoding can be used because all transmissions other
>              // that those in the message body command are guaranteed
> 
> Modified: james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java
> URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java?view=diff&rev=470929&r1=470928&r2=470929
> ==============================================================================
> --- james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java (original)
> +++ james/server/branches/v2.3/src/java/org/apache/james/pop3server/POP3Handler.java Fri Nov  3 10:01:35 2006
> @@ -230,7 +230,7 @@
>              // in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "ASCII"), 512);
>              in = new CRLFTerminatedReader(new BufferedInputStream(socket.getInputStream(), 512), "ASCII");
>              remoteIP = socket.getInetAddress().getHostAddress ();
> -            remoteHost = socket.getInetAddress().getHostName ();
> +            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
>          } catch (Exception e) {
>              if (getLogger().isErrorEnabled()) {
>                  StringBuffer exceptionBuffer =
> 
> Modified: james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java
> URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java?view=diff&rev=470929&r1=470928&r2=470929
> ==============================================================================
> --- james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java (original)
> +++ james/server/branches/v2.3/src/java/org/apache/james/remotemanager/RemoteManagerHandler.java Fri Nov  3 10:01:35 2006
> @@ -247,7 +247,7 @@
>  
>          socket = connection;
>          String remoteIP = socket.getInetAddress().getHostAddress();
> -        String remoteHost = socket.getInetAddress().getHostName();
> +        String remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
>  
>          synchronized (this) {
>              handlerThread = Thread.currentThread();
> 
> Modified: james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java
> URL: http://svn.apache.org/viewvc/james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java?view=diff&rev=470929&r1=470928&r2=470929
> ==============================================================================
> --- james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java (original)
> +++ james/server/branches/v2.3/src/java/org/apache/james/smtpserver/SMTPHandler.java Fri Nov  3 10:01:35 2006
> @@ -274,7 +274,7 @@
>              // inReader = new BufferedReader(new InputStreamReader(in, "ASCII"), 512);
>              inReader = new CRLFTerminatedReader(in, "ASCII");
>              remoteIP = socket.getInetAddress().getHostAddress();
> -            remoteHost = socket.getInetAddress().getHostName();
> +            remoteHost = org.apache.james.dnsserver.DNSServer.getHostName(socket.getInetAddress());
>              smtpID = random.nextInt(1024) + "";
>              relayingAllowed = theConfigData.isRelayingAllowed(remoteIP);
>              authRequired = theConfigData.isAuthRequired(remoteIP);
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


RE: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by "Noel J. Bergman" <no...@devtech.com>.
Stefano Bagnara wrote:

> To be clear the veto is there because I have technical concerns

So far unaired, except for a stylistic concern about a static method.

> I added a technical justification and 2 alternative solutions

Alternatives:

  1) Simple patch that is identical to #3 except it is static
  2) Artifical, fixed, timeout and redundant DNS caches
  3) More complex backport from trunk

> let's see what others thinks and let's resolve this issue.

WFM.  :-)

	--- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r470929 - in /james/server/branches/v2.3/src/java/org/apache/james: dnsserver/DNSServer.java nntpserver/NNTPHandler.java pop3server/POP3Handler.java remotemanager/RemoteManagerHandler.java smtpserver/SMTPHandler.java

Posted by Stefano Bagnara <ap...@bago.org>.
Stefano Bagnara wrote:
> -1
> 
> Currently I cast my veto on this change

To be clear the veto is there because I have technical concerns and the 
patch has not been discussed.

The veto make it clear that this issue have to be discussed and the 
patch have to be approved.

We always had a stricted workflow with code being committed to the 2.3 
branch. And even backports have been discussed one by one most time.

I added a technical justification and 2 alternative solutions, so let's 
see what others thinks and let's resolve this issue.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org