RE: MessageRepository and key, msn, uid, Flags (Was: IMAP development)

2006-09-18 Thread Noel J. Bergman
> Imo we should remove this concept of SPOOL from the message repository. > If one will ever want to implement a spool repository based on a > messagereposirory it will have to store the Mail informations in a > messagerepository way (as Flags, or as custom MimeHeaders). > MessageRepository should

[jira] Created: (JAMES-622) move ignoreCase configuration to the UsersRepository and remove containsIgnoreCase

2006-09-18 Thread Stefano Bagnara (JIRA)
move ignoreCase configuration to the UsersRepository and remove containsIgnoreCase -- Key: JAMES-622 URL: http://issues.apache.org/jira/browse/JAMES-622 Project: James

Re: [jira] Updated: (JAMES-619) Related to JAMES-418/617, use Thread.currentThread().getContextClassLoader()

2006-09-18 Thread Stefano Bagnara
Guillermo Grandes (JIRA) wrote: [ http://issues.apache.org/jira/browse/JAMES-619?page=all ] Guillermo Grandes updated JAMES-619: Attachment: MoreClassLoader.diff Attach a diff that changes 5 files in trunk version, only change one line per file.

svn commit: r447451 - in /james/jspf/trunk/src/test/java/org/apache/james/jspf: RFC4408YamlTest.java SPFYamlTest.java

2006-09-18 Thread bago
Author: bago Date: Mon Sep 18 09:06:27 2006 New Revision: 447451 URL: http://svn.apache.org/viewvc?view=rev&rev=447451 Log: Update yaml tests to be able to run a single sub-test via eclipse gui (related to JSPF-25) Modified: james/jspf/trunk/src/test/java/org/apache/james/jspf/RFC4408YamlTes

[jira] Created: (JAMES-621) Move BayesianAnalyzer to extra project

2006-09-18 Thread Norman Maurer (JIRA)
Move BayesianAnalyzer to extra project -- Key: JAMES-621 URL: http://issues.apache.org/jira/browse/JAMES-621 Project: James Issue Type: Wish Reporter: Norman Maurer Priority: Minor

Re: MessageRepository and key, msn, uid, Flags (Was: IMAP development)

2006-09-18 Thread Joachim Draeger
Stefano Bagnara schrieb: Ok, I know I'm ignorant about IMAP. Sorry for so much questions! No problem. :-) KEY => A unique string that identify a single message in the repository: persistent over sessions and restart, right? Right. Like it's used for pop3. UID => A unique number that ident

[jira] Resolved: (JAMES-619) Related to JAMES-418/617, use Thread.currentThread().getContextClassLoader()

2006-09-18 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-619?page=all ] Norman Maurer resolved JAMES-619. - Fix Version/s: Trunk Resolution: Fixed Assignee: Norman Maurer > Related to JAMES-418/617, use Thread.currentThread().getContextClassLoader() >

svn commit: r447432 - in /james/server/trunk/src/java/org/apache/james: core/AvalonMailStore.java core/AvalonUsersStore.java nntpserver/repository/NNTPRepositoryImpl.java pop3server/POP3HandlerChain.j

2006-09-18 Thread norman
Author: norman Date: Mon Sep 18 08:14:45 2006 New Revision: 447432 URL: http://svn.apache.org/viewvc?view=rev&rev=447432 Log: Change getClass().getClassLoader() to Thread.currentThread().getContextClassLoader() (JAMES-619) Thanks to Guillermo Grandes for reporting this. Modified: james/serve

svn commit: r447427 - /james/server/trunk/src/java/org/apache/james/mailrepository/javamail/AbstractJavamailStoreMailRepository.java

2006-09-18 Thread norman
Author: norman Date: Mon Sep 18 08:08:23 2006 New Revision: 447427 URL: http://svn.apache.org/viewvc?view=rev&rev=447427 Log: Fix lazy loading of Random. Modified: james/server/trunk/src/java/org/apache/james/mailrepository/javamail/AbstractJavamailStoreMailRepository.java Modified: james/

[jira] Created: (JAMES-620) James nightly builds are broken?

2006-09-18 Thread Guillermo Grandes (JIRA)
James nightly builds are broken? Key: JAMES-620 URL: http://issues.apache.org/jira/browse/JAMES-620 Project: James Issue Type: Bug Components: Build System Affects Versions: Trunk Envir

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

2006-09-18 Thread Guillermo Grandes (JIRA)
Related to JAMES-418/617, use Thread.currentThread().getContextClassLoader() Key: JAMES-619 URL: http://issues.apache.org/jira/browse/JAMES-619 Project: James Issue

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

2006-09-18 Thread Guillermo Grandes (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-619?page=all ] Guillermo Grandes updated JAMES-619: Attachment: MoreClassLoader.diff Attach a diff that changes 5 files in trunk version, only change one line per file. perhaps it would be necessary to t

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

2006-09-18 Thread Norman Maurer
Stefano Bagnara schrieb: Bernd Fondermann wrote: 4) Allow the administrator to add 2 users with the same name but different letter-case. .. and if UsersRepository is case-insensitive, the second is rejected? Right: it should reply "The user already exists" or something similar. See next com

MessageRepository and key, msn, uid, Flags (Was: IMAP development)

2006-09-18 Thread Stefano Bagnara
Joachim Draeger wrote: Is EventTriggerMailbox so important for basic proof of concept usage? Is the whole "column selection" stuff (MessageResult) / messageSetTypes a need for the basic repository interface? Imap requires to deliver events about added/deleted and changed flags to the client.

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

2006-09-18 Thread Bernd Fondermann
On 9/18/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Bernd Fondermann wrote: >> 4) Allow the administrator to add 2 users with the same name but >> different letter-case. > > .. and if UsersRepository is case-insensitive, the second is rejected? Right: it should reply "The user already exists"

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

2006-09-18 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-617?page=all ] Stefano Bagnara resolved JAMES-617. --- Fix Version/s: Trunk Resolution: Fixed Assignee: Stefano Bagnara Applied the fix. Thank you. > Related to JAMES-418, use Thread.currentThr

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

2006-09-18 Thread Stefano Bagnara
Bernd Fondermann wrote: 4) Allow the administrator to add 2 users with the same name but different letter-case. .. and if UsersRepository is case-insensitive, the second is rejected? Right: it should reply "The user already exists" or something similar. 5) Make sure that our current impleme

Re: [jira] Created: (POSTAGE-14) Decide how to reference James Server libraries

2006-09-18 Thread Stefano Bagnara
Bernd Fondermann wrote: Imho as soon as will have fixed the m2 repository issue (see my proposal on the general list) we could remove ant at all or we could try what happens if we use the "mvn ant:ant" task. postage ant build excludes 1 file if J5 is not used. for this, advanced maven config is

[jira] Created: (POSTAGE-15) Update maven2 pom to correctly handle the java 1.4/java 1.5 differences (profiles)

2006-09-18 Thread Stefano Bagnara (JIRA)
Update maven2 pom to correctly handle the java 1.4/java 1.5 differences (profiles) -- Key: POSTAGE-15 URL: http://issues.apache.org/jira/browse/POSTAGE-15 Project: Postag

svn commit: r447390 - /james/server/trunk/src/java/org/apache/james/smtpserver/SMTPHandlerChain.java

2006-09-18 Thread bago
Author: bago Date: Mon Sep 18 05:48:32 2006 New Revision: 447390 URL: http://svn.apache.org/viewvc?view=rev&rev=447390 Log: Change getClass().getClassLoader() to Thread.currentThread().getContextClassLoader() (JAMES-617) Thanks to Guillermo Grandes for reporting this. Modified: james/server

svn commit: r447381 - in /james/jspf/trunk: ./ src/test/java/org/apache/james/jspf/ src/test/resources/org/apache/james/jspf/

2006-09-18 Thread bago
Author: bago Date: Mon Sep 18 04:57:06 2006 New Revision: 447381 URL: http://svn.apache.org/viewvc?view=rev&rev=447381 Log: Added TestStuites to run the official SPF YAML tests (see JSPF-25) This new tests will broke the mvn packaging, because the tests do not pass now. Added: james/jspf/trun

[jira] Created: (JSPF-25) Add jUnit TestSuites to test against the official SPF yaml tests.

2006-09-18 Thread Stefano Bagnara (JIRA)
Add jUnit TestSuites to test against the official SPF yaml tests. - Key: JSPF-25 URL: http://issues.apache.org/jira/browse/JSPF-25 Project: jSPF Issue Type: Improvement

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

2006-09-18 Thread Norman Maurer
+1 Norman Vincenzo Gianferrari Pini schrieb: 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

[jira] Created: (MIME4J-2) Update mime4j website to reflect the existence of new JIRA space instead of old sourceforge tracker.

2006-09-18 Thread Stefano Bagnara (JIRA)
Update mime4j website to reflect the existence of new JIRA space instead of old sourceforge tracker. Key: MIME4J-2 URL: http://issues.apache.org/jira/browse/MIME4

Re: Generic Mailbox API [was: IMAP development]

2006-09-18 Thread Joachim Draeger
Bernd Fondermann schrieb: When designing the mail API pop3 and imap implementations, very naturally the discussion comes up how to provide the different capabilities in the right way. I came onto it because Joachim wrote "ImapMailbox extends Pop3Mailbox ... I don't like that." Maybe I stretched

[jira] Created: (JAMES-618) Move server-site documents from james/server repository to james/site/server repository

2006-09-18 Thread Stefano Bagnara (JIRA)
Move server-site documents from james/server repository to james/site/server repository --- Key: JAMES-618 URL: http://issues.apache.org/jira/browse/JAMES-618 Project

[jira] Created: (MIME4J-1) Find a solution for maven2 dependencies to be able to create an official release.

2006-09-18 Thread Stefano Bagnara (JIRA)
Find a solution for maven2 dependencies to be able to create an official release. - Key: MIME4J-1 URL: http://issues.apache.org/jira/browse/MIME4J-1 Project: Mime4j

Re: LONG JAMES v2.4 Road Map

2006-09-18 Thread Joachim Draeger
Stefano Bagnara schrieb: Unfortunately I guess that IMAP won't be included in next-minor or next-major, but we can only expect to be able to do some steps in that 2 releases (it would be *really* cool if we were able to put experimental unstable support for imap in next-major but this is not r

Generic Mailbox API [was: IMAP development]

2006-09-18 Thread Bernd Fondermann
Hi guys, When designing the mail API pop3 and imap implementations, very naturally the discussion comes up how to provide the different capabilities in the right way. I came onto it because Joachim wrote "ImapMailbox extends Pop3Mailbox ... I don't like that." Maybe I stretched his original state

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

2006-09-18 Thread Vincenzo Gianferrari Pini
Hi Gary, thank you for your prompt response. The James mail server *has already* many more anti-spam related features other than the statistical filter: blacklisting, whitelisting, server-side SMIME signature support and already working but yet to be released (in the next release) greylisting

Re: [jira] Created: (POSTAGE-14) Decide how to reference James Server libraries

2006-09-18 Thread Bernd Fondermann
On 9/13/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote: Hi Bernd, the maven2 build already include james as a standard dependency. ok. You may want to do the same we did for other dependencies: copy the needed james libraries to lib and include them in the ant script. thats what I planned t

Re: IMAP development

2006-09-18 Thread Joachim Draeger
Stefano Bagnara schrieb: I think that even the single M1 step is too much stuff and we should start with a much simpler set of interfaces. In the last step I tried to breakup the interfaces in more parts, so only a subset is needed. But it won't work below MailboxRepository and ImapMailbox.

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

2006-09-18 Thread Bernd Fondermann
On 9/17/06, Stefano Bagnara <[EMAIL PROTECTED]> 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 an option inside the James block and have 2 methods in the UsersRepository interface: contains and containsCaseIns