Re: Implementing a "chi-square-based spam filter" - asking Gary Robinson's advice

2006-09-17 Thread Gary Robinson
Hi Vincenzo -- Let me ask you something. Most top spam filters have more stuff in them the the statistical filter. Would it be practical for you to just copy the code of another open-source filter, either translating it into Java or using directly? But SpamBayes is excellent and it's written

RE: [PROPOSAL] extract part of james-server xdocs to site project or to server-site subproject

2006-09-17 Thread Noel J. Bergman
Stefano Bagnara wrote: > > Yes, but what does this have to do with a Maven repository? Perhaps Stefano > > needs to be more clear. > Maven?? I didn't use that word in this proposal ;-) > This proposal has nothing to do with maven repositories! Sorry, I conflated your two proposals. > I would l

[jira] Updated: (JAMES-617) Related to JAMES-418, use Thread.currentThread().getContextClassLoader() in SMTPHandlerChain

2006-09-17 Thread Guillermo Grandes (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-617?page=all ] Guillermo Grandes updated JAMES-617: Attachment: SMTPHandlerChain.java.diff Attach the diff for correct: SMTPHandlerChain.java.diff (1 line change) - ClassLoader classLoader = getClass().g

[jira] Created: (JAMES-617) Related to JAMES-418, use Thread.currentThread().getContextClassLoader() in SMTPHandlerChain

2006-09-17 Thread Guillermo Grandes (JIRA)
Related to JAMES-418, use Thread.currentThread().getContextClassLoader() in SMTPHandlerChain Key: JAMES-617 URL: http://issues.apache.org/jira/browse/JAMES-617

svn commit: r447120 - /james/server/trunk/src/java/org/apache/james/core/LocalUsersRepository.xinfo

2006-09-17 Thread bago
Author: bago Date: Sun Sep 17 12:40:00 2006 New Revision: 447120 URL: http://svn.apache.org/viewvc?view=rev&rev=447120 Log: Forgot to commit update xinfo file for LocalUsersRepository to publish the JamesMBean MBean. Modified: james/server/trunk/src/java/org/apache/james/core/LocalUsersRepos

Re: svn commit: r447101 - /james/server/trunk/src/java/org/apache/james/James.xinfo

2006-09-17 Thread Bernd Fondermann
because for JamesMBean to have any effect (being a live MBean) it has to be referenced somewhere like it was in the xinfo section I deleted right now, I didn't check that. but - leave it out if it isn't anywhere ;-) Bernd On 9/17/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Thank you Bernd,

Re: svn commit: r447101 - /james/server/trunk/src/java/org/apache/james/James.xinfo

2006-09-17 Thread Stefano Bagnara
Thank you Bernd, I forgot to commit it, but this is exactly what I did locally. I think this is the correct solution: wht do you say "this can not be considered the final solution"? now that management-access-point is declared by LocalUsersRepository.xinfo Am I missing anything? Stefano [E

Re: svn commit: r447101 - /james/server/trunk/src/java/org/apache/james/James.xinfo

2006-09-17 Thread Bernd Fondermann
this is OK for James.java, but probably now the JamesMBean interface is effectively dispensable. (no time to investigate further, sorry. have to go offline now) Bernd On 9/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: berndf Date: Sun Sep 17 10:29:11 2006 New Revision: 447101 UR

svn commit: r447101 - /james/server/trunk/src/java/org/apache/james/James.xinfo

2006-09-17 Thread berndf
Author: berndf Date: Sun Sep 17 10:29:11 2006 New Revision: 447101 URL: http://svn.apache.org/viewvc?view=rev&rev=447101 Log: hotfix for bug introduced in r446879 to reenable the server to start, this can not be considered the final solution, but is all I can do at the moment Modified: james

Re: [PROPOSAL] move ignoreCase configuration to the UsersRepository and remove containsIgnoreCase

2006-09-17 Thread Vincenzo Gianferrari Pini
I think yes, it makes sense. This inconsistency probably never came out as probably almost everybody ignores case to avoid problems. Vincenzo Stefano Bagnara wrote: I've made a code review on the usage of case sensitivity inside James and I found a lot of inconsistencies. We currenlty have

[PROPOSAL] move ignoreCase configuration to the UsersRepository and remove containsIgnoreCase

2006-09-17 Thread Stefano Bagnara
I've made a code review on the usage of case sensitivity inside James and I found a lot of inconsistencies. We currenlty have an option inside the James block and have 2 methods in the UsersRepository interface: contains and containsCaseInsensitive. This would be ok if every piece of code u

Re: svn commit: r446879 - in /james/server/trunk/src/java/org/apache/james: James.java JamesMBean.java core/LocalUsersRepository.java userrepository/DefaultJamesUser.java

2006-09-17 Thread Bernd Fondermann
this deprecation is different than the typical one: we don't have a complete feature which is replaced by another/better one, in this case, it was never really a full feature. but we can wait one release or two, no problem. Bernd On 9/17/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Bernd Fo

svn commit: r447073 - in /james/server/trunk/src/java/org/apache/james/transport: mailets/WhiteListManager.java matchers/IsInWhiteList.java

2006-09-17 Thread bago
Author: bago Date: Sun Sep 17 08:02:57 2006 New Revision: 447073 URL: http://svn.apache.org/viewvc?view=rev&rev=447073 Log: Changed WhiteListManager and IsInWhiteList to depend on UsersRepository.ROLE (by default the "LocalUsers" user repository) instead of depending on Store.ROLE and looking up

Re: svn commit: r446879 - in /james/server/trunk/src/java/org/apache/james: James.java JamesMBean.java core/LocalUsersRepository.java userrepository/DefaultJamesUser.java

2006-09-17 Thread Stefano Bagnara
Bernd Fondermann wrote: JamesMBean: can't we simply drop it in trunk? it was a stub and is no longer needed. Bernd We didn't remove anything deprecated yet, so I think we can wait until the decision that this code will finish in a major release will be taken: at that point we should review

Re: [jira] Commented: (JAMES-599) BeanShell Scripting in James

2006-09-17 Thread Bernd Fondermann
I have no preference concerning this. Maybe we should ask over on user list what they want... Bernd On 9/14/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: What about including scripting support in trunk? What are your preferences between the Guillermo BeanShell solution and the previous BSF

Re: svn commit: r446879 - in /james/server/trunk/src/java/org/apache/james: James.java JamesMBean.java core/LocalUsersRepository.java userrepository/DefaultJamesUser.java

2006-09-17 Thread Bernd Fondermann
JamesMBean: can't we simply drop it in trunk? it was a stub and is no longer needed. Bernd On 9/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: bago Date: Sat Sep 16 07:43:53 2006 New Revision: 446879 URL: http://svn.apache.org/viewvc?view=rev&rev=446879 Log: The previously deprec

svn commit: r447065 - in /james/server/trunk/src: java/org/apache/james/transport/mailets/ test/org/apache/james/transport/mailets/ test/org/apache/james/userrepository/

2006-09-17 Thread bago
Author: bago Date: Sun Sep 17 06:19:15 2006 New Revision: 447065 URL: http://svn.apache.org/viewvc?view=rev&rev=447065 Log: Moved dependencies on global mailet context variables from UsersRepositoryAliasingForwarding to DeliveryMailet wrapper (related to JAMES-414) Added few more tests for local

Implementing a "chi-square-based spam filter" - asking Gary Robinson's advice

2006-09-17 Thread Vincenzo Gianferrari Pini
Dear Gary, at the Apache James Server Project (http://james.apache.org) we have implemented a (java based) bayesian anti-spam filter following Paul Graham's approach (both the original one - http://paulgraham.com/spam.html - and the enhanced one - http://paulgraham.com/better.html). It is ava