[jira] Created: (JDKIM-17) Upgrade to java5 mime4j 0.6 (and generics)

2010-06-13 Thread Stefano Bagnara (JIRA)
Upgrade to java5  mime4j 0.6 (and generics)


 Key: JDKIM-17
 URL: https://issues.apache.org/jira/browse/JDKIM-17
 Project: JAMES jDKIM
  Issue Type: Task
  Components: library
Affects Versions: 0.2
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
 Fix For: 0.2


Let's upgrade to java5 so we can use mime4j 0.6  later and have better code 
using generics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (JDKIM-16) Upgrade to mime4j 0.7 because with 0.5/0.6 there are signing issues.

2010-06-13 Thread Stefano Bagnara (JIRA)

 [ 
https://issues.apache.org/jira/browse/JDKIM-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefano Bagnara updated JDKIM-16:
-

Summary: Upgrade to mime4j 0.7 because with 0.5/0.6 there are signing 
issues.  (was: Define whether to release against mime4j 0.5 or to wait for 0.7 
and upgrade.)
Description: 
mime4j is only used as an optional dependency for mime parsing. Unfortunately 
mime4j 0.5 requires jdkim to extend basic objects to do the header parsing. 
mime4j 0.7 would be slightly better for this, but it is not released yet.

Update: due to a bug in mime4j 0.5/0.6 we cannot succesfully sign/verify some 
message using that libraries. So we have to move to 0.7-SNAPSHOT.

  was:mime4j is only used as an optional dependency for mime parsing. 
Unfortunately mime4j 0.5 requires jdkim to extend basic objects to do the 
header parsing. mime4j 0.7 would be slightly better for this, but it is not 
released yet.


 Upgrade to mime4j 0.7 because with 0.5/0.6 there are signing issues.
 

 Key: JDKIM-16
 URL: https://issues.apache.org/jira/browse/JDKIM-16
 Project: JAMES jDKIM
  Issue Type: Task
Affects Versions: 0.2
Reporter: Stefano Bagnara
Assignee: Stefano Bagnara
 Fix For: 0.2


 mime4j is only used as an optional dependency for mime parsing. Unfortunately 
 mime4j 0.5 requires jdkim to extend basic objects to do the header parsing. 
 mime4j 0.7 would be slightly better for this, but it is not released yet.
 Update: due to a bug in mime4j 0.5/0.6 we cannot succesfully sign/verify some 
 message using that libraries. So we have to move to 0.7-SNAPSHOT.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Assigned: (JAMES-402) Add IPv6 support to NetMachter.

2010-06-13 Thread Norman Maurer (JIRA)

 [ 
https://issues.apache.org/jira/browse/JAMES-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer reassigned JAMES-402:
---

Assignee: Eric Charles

Eric did the work for that.. 

 Add IPv6 support to NetMachter.
 ---

 Key: JAMES-402
 URL: https://issues.apache.org/jira/browse/JAMES-402
 Project: JAMES Server
  Issue Type: Sub-task
  Components: James Core, SMTPServer
Affects Versions: 2.1.3, 2.2.0, 2.3.0
Reporter: Arjan Veenstra
Assignee: Eric Charles
Priority: Minor
 Fix For: Trunk


 org.apache.james.util.NetMacher should be able to accept and match IPv6 
 network specifications to support relaying of mail that comes in over IPv6. 
 This should add IPv6 support to the AuthorizedAdresses configuration and 
 likely to most subclasses of AbstractNetworkMatcher as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Resolved: (JAMES-402) Add IPv6 support to NetMachter.

2010-06-13 Thread Eric Charles (JIRA)

 [ 
https://issues.apache.org/jira/browse/JAMES-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles resolved JAMES-402.


Resolution: Fixed

IP v6 introduced with http://svn.apache.org/viewvc?rev=954226view=rev
Currently, the IP address must be completely specified (not shortened, as for 
example ::1) in the Matcher config.
The patch is currently enough to further implement IPv6 support with JAMES-403 
and JAMES-405.
It is worth to come back later one to validate the complete James IPv6 support 
and to support the complete IPv6 syntax.
Therefor, the issue is not closed.
It is however of enough quality to support IPv6 matchers.


 Add IPv6 support to NetMachter.
 ---

 Key: JAMES-402
 URL: https://issues.apache.org/jira/browse/JAMES-402
 Project: JAMES Server
  Issue Type: Sub-task
  Components: James Core, SMTPServer
Affects Versions: 2.1.3, 2.2.0, 2.3.0
Reporter: Arjan Veenstra
Assignee: Eric Charles
Priority: Minor
 Fix For: Trunk


 org.apache.james.util.NetMacher should be able to accept and match IPv6 
 network specifications to support relaying of mail that comes in over IPv6. 
 This should add IPv6 support to the AuthorizedAdresses configuration and 
 likely to most subclasses of AbstractNetworkMatcher as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



Re: [jira] Resolved: (JAMES-402) Add IPv6 support to NetMachter.

2010-06-13 Thread Norman Maurer
Very good work mate :)

Bye
Norman


2010/6/13 Eric Charles (JIRA) server-dev@james.apache.org:

     [ 
 https://issues.apache.org/jira/browse/JAMES-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
  ]

 Eric Charles resolved JAMES-402.
 

    Resolution: Fixed

 IP v6 introduced with http://svn.apache.org/viewvc?rev=954226view=rev
 Currently, the IP address must be completely specified (not shortened, as for 
 example ::1) in the Matcher config.
 The patch is currently enough to further implement IPv6 support with 
 JAMES-403 and JAMES-405.
 It is worth to come back later one to validate the complete James IPv6 
 support and to support the complete IPv6 syntax.
 Therefor, the issue is not closed.
 It is however of enough quality to support IPv6 matchers.


 Add IPv6 support to NetMachter.
 ---

                 Key: JAMES-402
                 URL: https://issues.apache.org/jira/browse/JAMES-402
             Project: JAMES Server
          Issue Type: Sub-task
          Components: James Core, SMTPServer
    Affects Versions: 2.1.3, 2.2.0, 2.3.0
            Reporter: Arjan Veenstra
            Assignee: Eric Charles
            Priority: Minor
             Fix For: Trunk


 org.apache.james.util.NetMacher should be able to accept and match IPv6 
 network specifications to support relaying of mail that comes in over IPv6. 
 This should add IPv6 support to the AuthorizedAdresses configuration and 
 likely to most subclasses of AbstractNetworkMatcher as well.

 --
 This message is automatically generated by JIRA.
 -
 You can reply to this email to add a comment to the issue online.


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



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



svn commit: r954275 - in /james/server/trunk: core-function/src/main/java/org/apache/james/mailrepository/filepair/ core-library/src/main/java/org/apache/james/mailrepository/filepair/ user-function/p

2010-06-13 Thread norman
Author: norman
Date: Sun Jun 13 18:03:11 2010
New Revision: 954275

URL: http://svn.apache.org/viewvc?rev=954275view=rev
Log:
move filepair stuff to core-function module. It makes more sense there

Added:

james/server/trunk/core-function/src/main/java/org/apache/james/mailrepository/filepair/
  - copied from r954034, 
james/server/trunk/core-library/src/main/java/org/apache/james/mailrepository/filepair/
Removed:

james/server/trunk/core-library/src/main/java/org/apache/james/mailrepository/filepair/
Modified:
james/server/trunk/user-function/pom.xml

Modified: james/server/trunk/user-function/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-function/pom.xml?rev=954275r1=954274r2=954275view=diff
==
--- james/server/trunk/user-function/pom.xml (original)
+++ james/server/trunk/user-function/pom.xml Sun Jun 13 18:03:11 2010
@@ -59,7 +59,7 @@
 /dependency
 dependency
   groupIdorg.apache.james/groupId
-  artifactIdjames-server-core-library/artifactId
+  artifactIdjames-server-core-function/artifactId
 /dependency
  dependency
   groupIdcommons-configuration/groupId



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



svn commit: r954276 - in /james/server/trunk: core-function/src/main/java/org/apache/james/filepair/ core-function/src/main/java/org/apache/james/mailrepository/ core-function/src/main/java/org/apache

2010-06-13 Thread norman
Author: norman
Date: Sun Jun 13 18:05:03 2010
New Revision: 954276

URL: http://svn.apache.org/viewvc?rev=954276view=rev
Log:
Rename org.apache.james.mailrepository.filepair to org.apache.james.filepair 
cause the files in the package are not only used by mailrepositories

Added:
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/
  - copied from r954275, 
james/server/trunk/core-function/src/main/java/org/apache/james/mailrepository/filepair/
Removed:

james/server/trunk/core-function/src/main/java/org/apache/james/mailrepository/filepair/
Modified:

james/server/trunk/core-function/src/main/java/org/apache/james/filepair/AbstractFileRepository.java

james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Object_Repository.java

james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Stream_Repository.java

james/server/trunk/core-function/src/main/java/org/apache/james/filepair/NumberedRepositoryFileFilter.java

james/server/trunk/core-function/src/main/java/org/apache/james/mailrepository/MimeMessageAvalonSource.java

james/server/trunk/core-function/src/main/java/org/apache/james/mailrepository/MimeMessageJDBCSource.java

james/server/trunk/core-function/src/test/java/org/apache/james/mailrepository/FileMailRepositoryTest.java

james/server/trunk/core-function/src/test/java/org/apache/james/mailrepository/JDBCMailRepositoryTest.java

james/server/trunk/user-function/src/test/java/org/apache/james/userrepository/UsersFileRepositoryTest.java

Modified: 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/AbstractFileRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-function/src/main/java/org/apache/james/filepair/AbstractFileRepository.java?rev=954276r1=954275r2=954276view=diff
==
--- 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/AbstractFileRepository.java
 (original)
+++ 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/AbstractFileRepository.java
 Sun Jun 13 18:05:03 2010
@@ -19,7 +19,7 @@
 
 
 
-package org.apache.james.mailrepository.filepair;
+package org.apache.james.filepair;
 
 import org.apache.commons.configuration.ConfigurationException;
 import org.apache.commons.configuration.HierarchicalConfiguration;

Modified: 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Object_Repository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Object_Repository.java?rev=954276r1=954275r2=954276view=diff
==
--- 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Object_Repository.java
 (original)
+++ 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Object_Repository.java
 Sun Jun 13 18:05:03 2010
@@ -19,7 +19,7 @@
 
 
 
-package org.apache.james.mailrepository.filepair;
+package org.apache.james.filepair;
 
 import java.io.InputStream;
 import java.io.ObjectInputStream;
@@ -39,7 +39,7 @@ public class File_Persistent_Object_Repo
 implements ObjectRepository
 {
 /**
- * @see 
org.apache.james.mailrepository.filepair.AbstractFileRepository#getExtensionDecorator()
+ * @see 
org.apache.james.filepair.AbstractFileRepository#getExtensionDecorator()
  */
 protected String getExtensionDecorator()
 {

Modified: 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Stream_Repository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Stream_Repository.java?rev=954276r1=954275r2=954276view=diff
==
--- 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Stream_Repository.java
 (original)
+++ 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/File_Persistent_Stream_Repository.java
 Sun Jun 13 18:05:03 2010
@@ -19,7 +19,7 @@
 
 
 
-package org.apache.james.mailrepository.filepair;
+package org.apache.james.filepair;
 
 import java.io.BufferedOutputStream;
 import java.io.IOException;
@@ -40,7 +40,7 @@ public class File_Persistent_Stream_Repo
 {
  
 /**
- * @see 
org.apache.james.mailrepository.filepair.AbstractFileRepository#getExtensionDecorator()
+ * @see 
org.apache.james.filepair.AbstractFileRepository#getExtensionDecorator()
  */
 protected String getExtensionDecorator()
 {

Modified: 
james/server/trunk/core-function/src/main/java/org/apache/james/filepair/NumberedRepositoryFileFilter.java
URL: 

svn commit: r954277 - in /james/server/trunk: core-api/src/main/java/org/apache/james/api/kernel/ core-api/src/main/java/org/apache/james/services/ core-api/src/test/java/org/apache/james/api/kernel/m

2010-06-13 Thread norman
Author: norman
Date: Sun Jun 13 18:14:53 2010
New Revision: 954277

URL: http://svn.apache.org/viewvc?rev=954277view=rev
Log:
Move classes to eliminate strange package structure

Added:

james/server/trunk/core-api/src/main/java/org/apache/james/services/AbstractJSR250InstanceFactory.java
  - copied, changed from r954034, 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/AbstractJSR250InstanceFactory.java

james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
  - copied, changed from r954034, 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/InstanceFactory.java
james/server/trunk/core-api/src/test/java/org/apache/james/services/
  - copied from r954034, 
james/server/trunk/core-api/src/test/java/org/apache/james/api/kernel/mock/
Removed:

james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/AbstractJSR250InstanceFactory.java

james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/InstanceFactory.java
james/server/trunk/core-api/src/test/java/org/apache/james/api/kernel/mock/
Modified:

james/server/trunk/core-api/src/test/java/org/apache/james/services/FakeLoader.java

james/server/trunk/netty-socket/src/main/java/org/apache/james/socket/netty/ProtocolHandlerChainImpl.java

james/server/trunk/spoolmanager/src/main/java/org/apache/james/transport/AbstractLoader.java

james/server/trunk/spring-deployment/src/main/java/org/apache/james/container/spring/SpringInstanceFactory.java

Copied: 
james/server/trunk/core-api/src/main/java/org/apache/james/services/AbstractJSR250InstanceFactory.java
 (from r954034, 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/AbstractJSR250InstanceFactory.java)
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/services/AbstractJSR250InstanceFactory.java?p2=james/server/trunk/core-api/src/main/java/org/apache/james/services/AbstractJSR250InstanceFactory.javap1=james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/AbstractJSR250InstanceFactory.javar1=954034r2=954277rev=954277view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/AbstractJSR250InstanceFactory.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/services/AbstractJSR250InstanceFactory.java
 Sun Jun 13 18:14:53 2010
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations  *
  * under the License.   *
  /
-package org.apache.james.api.kernel;
+package org.apache.james.services;
 
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;

Copied: 
james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
 (from r954034, 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/InstanceFactory.java)
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java?p2=james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.javap1=james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/InstanceFactory.javar1=954034r2=954277rev=954277view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/api/kernel/InstanceFactory.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
 Sun Jun 13 18:14:53 2010
@@ -17,7 +17,7 @@
  * under the License.   *
  /
 
-package org.apache.james.api.kernel;
+package org.apache.james.services;
 
 /**
  * Loads instances of given types.

Modified: 
james/server/trunk/core-api/src/test/java/org/apache/james/services/FakeLoader.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/test/java/org/apache/james/services/FakeLoader.java?rev=954277r1=954034r2=954277view=diff
==
--- 
james/server/trunk/core-api/src/test/java/org/apache/james/services/FakeLoader.java
 (original)
+++ 
james/server/trunk/core-api/src/test/java/org/apache/james/services/FakeLoader.java
 Sun Jun 13 18:14:53 2010
@@ -22,7 +22,7 @@ package org.apache.james.api.kernel.mock
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.james.api.kernel.AbstractJSR250InstanceFactory;
+import org.apache.james.services.AbstractJSR250InstanceFactory;
 
 public class FakeLoader extends AbstractJSR250InstanceFactory {
 

Modified: 

Re: [jira] Resolved: (JAMES-402) Add IPv6 support to NetMachter.

2010-06-13 Thread Eric Charles

Norman, Tks for your support and code review.
Eric

On 06/13/2010 06:48 PM, Norman Maurer wrote:

Very good work mate :)

Bye
Norman


2010/6/13 Eric Charles (JIRA)server-dev@james.apache.org:
   

 [ 
https://issues.apache.org/jira/browse/JAMES-402?page=m.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Charles resolved JAMES-402.


Resolution: Fixed

IP v6 introduced with http://svn.apache.org/viewvc?rev•4226view=rev
Currently, the IP address must be completely specified (not shortened, as for 
example ::1) in the Matcher config.
The patch is currently enough to further implement IPv6 support with JAMES-403 
and JAMES-405.
It is worth to come back later one to validate the complete James IPv6 support 
and to support the complete IPv6 syntax.
Therefor, the issue is not closed.
It is however of enough quality to support IPv6 matchers.


 

Add IPv6 support to NetMachter.
---

 Key: JAMES-402
 URL: https://issues.apache.org/jira/browse/JAMES-402
 Project: JAMES Server
  Issue Type: Sub-task
  Components: James Core, SMTPServer
Affects Versions: 2.1.3, 2.2.0, 2.3.0
Reporter: Arjan Veenstra
Assignee: Eric Charles
Priority: Minor
 Fix For: Trunk


org.apache.james.util.NetMacher should be able to accept and match IPv6 network 
specifications to support relaying of mail that comes in over IPv6. This should 
add IPv6 support to the AuthorizedAdresses configuration and likely to most 
subclasses of AbstractNetworkMatcher as well.
   

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


 

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

   



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