New app development based on James 3M3 database...

2011-09-14 Thread Luc Saulière
Hello James Devs, We are developing an app based on James 3 M3 database. We try to analyse the content of the mail received by a James user. We need to access the mailbox of the user. Until now we use org.apache.james.mailbox.MailboxManager to access one's mailbox on James3 M2, but we realise

[jira] [Commented] (JAMES-1314) HEADER.html file still refers to jakarta

2011-09-14 Thread Eric Charles (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13104534#comment-13104534 ] Eric Charles commented on JAMES-1314: - Sebb, which HEADER.html are you referring to

Re: New app development based on James 3M3 database...

2011-09-14 Thread Eric Charles
Hi Luc, Do you want to access only the mailboxes or the users+mailboxes? Are you talking about M3 or beta3? Can you send any exceptions? Thx On 14/09/11 04:20, Luc Saulière wrote: Hello James Devs, We are developing an app based on James 3 M3 database. We try to analyse the content of the

[jira] [Commented] (JAMES-1314) HEADER.html file still refers to jakarta

2011-09-14 Thread Norman Maurer (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13104544#comment-13104544 ] Norman Maurer commented on JAMES-1314: -- Should be the one in the dist area on

[jira] [Commented] (JAMES-1314) HEADER.html file still refers to jakarta

2011-09-14 Thread Eric Charles (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13104557#comment-13104557 ] Eric Charles commented on JAMES-1314: - Fixed. Sebb, can you pleas check and close.

Re: [PROPOSAL] Replacing RemoteDelivery (LONGTERM)

2011-09-14 Thread Norman Maurer
Hi Eric, comments inline... 2011/9/14 Eric Charles eric.umg.char...@gmail.com: Hi Norman, I was wondering if it would be possible to have a adapter layer so we can simply replace the current javamail with the niosmtp jar without changing server code. Thinking more about, I don't think it

[jira] [Created] (JAMES-1315) DataLineJamesMessageHookHandler does call OutputStream.flush() to often

2011-09-14 Thread Norman Maurer (JIRA)
DataLineJamesMessageHookHandler does call OutputStream.flush() to often --- Key: JAMES-1315 URL: https://issues.apache.org/jira/browse/JAMES-1315 Project: JAMES Server

svn commit: r1170727 - /james/server/trunk/smtpserver/src/main/java/org/apache/james/smtpserver/DataLineJamesMessageHookHandler.java

2011-09-14 Thread norman
Author: norman Date: Wed Sep 14 17:34:12 2011 New Revision: 1170727 URL: http://svn.apache.org/viewvc?rev=1170727view=rev Log: Only call OutputStream.flush() if needed. See JAMES-1315 Modified:

[jira] [Resolved] (JAMES-1315) DataLineJamesMessageHookHandler does call OutputStream.flush() to often

2011-09-14 Thread Norman Maurer (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Norman Maurer resolved JAMES-1315. -- Resolution: Fixed DataLineJamesMessageHookHandler does call OutputStream.flush() to often

[jira] [Commented] (JAMES-1314) HEADER.html file still refers to jakarta

2011-09-14 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13104740#comment-13104740 ] Sebb commented on JAMES-1314: - Yes, the original problem is fixed. However, it was better

Maven repo for James3M3 or béta3

2011-09-14 Thread Luc Saulière
Hello, I'm trying to link some maven artifact in my pom.xml. It appears that the james artifact in the classic maven repo are from JamesM2... I look for the org.apache.james.user.lib.UsersRepositoryManagement classe. I add the artifact james-server-user* but it does'nt find it... All the james

Re: New app development based on James 3M3 database...

2011-09-14 Thread Eric Charles
Hi Luc, beta3 is the newest one, so the good one :) I remember our conversations on mailing list where you wanted to integrate james spring injection in your application. Sounds like you finally found your way, but we broke it with new release... Yes, spring injection has quite changed

Re: New app development based on James 3M3 database...

2011-09-14 Thread Luc Saulière
Let's use the beta3 then! We want to store message in a users's mailbox using methods : user is the String name of my user, message is my MimeMessage to be stored, mailboxManager is a MailboxManager loaded in my context, logger is a logger... *new *MailboxSession *mailboxSession* =

Re: New app development based on James 3M3 database...

2011-09-14 Thread Luc Saulière
and I forgot the dependancies... dependency groupIdorg.springframework/groupId artifactIdspring-orm/artifactId version3.0.6.RELEASE/version typejar/type scopecompile/scope /dependency dependency groupIdorg.apache.james/groupId artifactIdjames-server-mailbox-adapter/artifactId

svn commit: r1170960 - /james/protocols/trunk/api/src/main/java/org/apache/james/protocols/api/ProtocolSession.java

2011-09-14 Thread norman
Author: norman Date: Thu Sep 15 05:57:56 2011 New Revision: 1170960 URL: http://svn.apache.org/viewvc?rev=1170960view=rev Log: Remove writeStream method from interface. This method is not generic for protocols Modified: