Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Eric Charles

[x] +1 Yes please release

Yeah,
Eric

On 26/10/2010 18:26, Norman Maurer wrote:

Hi all,

I'm very happy to start a VOTE for the first milestone of the
upcomming major version of JAMES Server (3.0). This milestone include
tones of improvements,features and bugfixes.

I think one of the most important things for "normal" users is the
support of IMAP and the new fastfail stuff in SMTP.  To get a complete
list see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294

Here are the artifacts for review:
https://repository.apache.org/content/repositories/orgapachejames-001/

So please cast your VOTE:

[  ] +1 Yes please release
[  ] +0 No time to review
[  ] -1 No the code is not ready yet.

Thx,
Norman

-
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



Re: James 2.x web site

2010-10-26 Thread Eric Charles

Hi All,

- Server V2 and Server V3 sounds really good. I will also create new 
directories to contains those sites so the menu of other sites are still 
valid when going from 3M1 to 3M2 to 3beta1,... "server3" will represent 
the current v3 and other web subsites menus will point to it.


- Sure,  stable is 2.3.2: will simply invite early-adaptors to download, 
test and feeback 3M1


- So what do we do with nightly dir (it was +1, but I don't know if it 
was for option 1 or 2 ?):

1. remove links from menu and also its content so no one can download it.
2. Add it in all menus (aside the hudson and maven snapshot) and 
(re)activate the process that  automatically update the dir.
If it's easy to activate the automatic update, I would like option 2 
because to download from hudson or maven, you need to know which 
artifact to download (not easy at first sight). If users has only one 
zip in the dir, it's much easier for him.

If it's not easy to automatically feed the dir, option 1 is good also.

Tks,

Eric


On 26/10/2010 13:17, Norman Maurer wrote:

2010/10/26 Stefano Bagnara:

2010/10/26 Eric Charles:

I would like to propose a new menu
Sever 3.0
Server 2.3.2
Archive

... and move the Server 2.3.1, 2.3.0, 2.2.0 to the Archive page.

The 2.3.2 would need to get regenerated and republished.

+1, maybe "Server v3" and "Server v2" are more general for a menu name
that we have in every page, otherwise at every subrelease we have to
recreate the whole site, but take this only as an hint (you seems to
understand the implication so I'm fine your choices).

+1 to Stefano's suggestion


If ok with this, there is 3 actions:
- Republish 2.3.2: I tried to build the site, but it fails to download the
needed dependency. I will retry from another internet connection.

ok. Maybe 2.3 needs maven 2 because maven 3 deprecated/removed some
stuff we used in 2.3 (local repository in the stage module and the
legacy repository style).


- In the index pages, push users to download and try 3.0-M1 rather than the
stable 2.3.2.

I would prefer to keep pushing users to 2.3.2 for a while. 3.0-M1 is
still too new to push it to everyday users. 2.3.2 instead is proven
stable. So, let's start linking 3.0 for early adopters and testers,
but don't "push" it too much before the GA release.

+1 to Stefano's suggestion

- Automatically update the nightly dir. if needed, cause we already have two
places to download the snapshots; hudson and maven snaphot repo.

+1

+1


Stefano


Bye,
Norman

-
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



[jira] Resolved: (JAMES-1089) Exclude pdfbox from dependencies

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer resolved JAMES-1089.
--

Resolution: Fixed

done..

> Exclude pdfbox from dependencies
> 
>
> Key: JAMES-1089
> URL: https://issues.apache.org/jira/browse/JAMES-1089
> Project: JAMES Server
>  Issue Type: Task
>Affects Versions: 3.0-M1
>Reporter: Norman Maurer
>Assignee: Norman Maurer
> Fix For: 3.0-M2
>
>
> pdfbox is only needed to index pdf documents with jackrabbit. Thats not 
> needed with james so we should remove the dependecy

-- 
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



svn commit: r1027828 - /james/server/trunk/pom.xml

2010-10-26 Thread norman
Author: norman
Date: Wed Oct 27 06:32:57 2010
New Revision: 1027828

URL: http://svn.apache.org/viewvc?rev=1027828&view=rev
Log:
Exclude pdfbox from dependencies (JAMES-1089)

Modified:
james/server/trunk/pom.xml

Modified: james/server/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1027828&r1=1027827&r2=1027828&view=diff
==
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Wed Oct 27 06:32:57 2010
@@ -1032,6 +1032,12 @@
   org.apache.jackrabbit
   jackrabbit-core
   ${jackrabbit.version}
+  
+
+  org.apache.pdfbox
+  pdfbox
+
+  
 

 



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



[jira] Updated: (JAMES-1085) Upgrade to ActiveMQ 5.4.2

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-1085:
-

Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Upgrade to ActiveMQ 5.4.2 
> --
>
> Key: JAMES-1085
> URL: https://issues.apache.org/jira/browse/JAMES-1085
> Project: JAMES Server
>  Issue Type: Task
>Reporter: Norman Maurer
> Fix For: 3.0-M2
>
>
> Upgrade to ActiveMQ 5.4.2 once it was released 

-- 
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: (JAMES-711) Reformat James sources to remove bad style

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-711:


Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Reformat James sources to remove bad style
> --
>
> Key: JAMES-711
> URL: https://issues.apache.org/jira/browse/JAMES-711
> Project: JAMES Server
>  Issue Type: Task
>Affects Versions: 3.0
>Reporter: Stefano Bagnara
>Priority: Trivial
> Fix For: 3.0-M2
>
>
> We have a lot of code that does not follow the coding style we're using
> Moslty bad number of spaces and open brackets in the newline instead of the 
> end of the previous line.
> At least in the whole IMAP code and other "active" code we should run a 
> reformat to keep "style" consistent.

-- 
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: (JAMES-344) FetchMail cannot parse particular format of "Received" header

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-344:


Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> FetchMail cannot parse particular format of "Received" header
> -
>
> Key: JAMES-344
> URL: https://issues.apache.org/jira/browse/JAMES-344
> Project: JAMES Server
>  Issue Type: Bug
>  Components: FetchMail
>Affects Versions: 2.3.0
>Reporter: Jeff Keyser
>Priority: Minor
> Fix For: 3.0-M2
>
>
> The mail server I am pulling e-mail from inserts a "Received" header that 
> looks like the following:
> Received: from unknown (HELO host.domain.tld) (192.168.255.254) by ...
> BTW - The name "unknown" is always used.  I assume they are purposely saving 
> processing power by not reverse-looking up the host name.
> I have debugged this problem in the code, and it appears that because the IP 
> address is not surrounded by square brackets, computeRemoteAddress is unable 
> to find the IP address.  So the name "unknown" is always used to determine 
> the address instead, which fails.
> FYI - The e-mail I am pulling actually passes through two e-mail servers by 
> different organizations, and they both use this format.  So I assume this 
> format is common.

-- 
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: (JAMES-1057) Add JMX support for components

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-1057:
-

Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Add JMX support for components
> --
>
> Key: JAMES-1057
> URL: https://issues.apache.org/jira/browse/JAMES-1057
> Project: JAMES Server
>  Issue Type: Task
>Reporter: Norman Maurer
>Assignee: Norman Maurer
> Fix For: 3.0-M2
>
>


-- 
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: (JAMES-948) Composite pattern employed to implement And, Or, Xor and Not matcher.

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-948:


Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Composite pattern employed to implement And, Or, Xor and Not matcher.
> -
>
> Key: JAMES-948
> URL: https://issues.apache.org/jira/browse/JAMES-948
> Project: JAMES Server
>  Issue Type: New Feature
>  Components: Matchers/Mailets (bundled)
>Affects Versions: 2.3.2
> Environment: Proposal
>Reporter: Ralph B Holland
>Assignee: Norman Maurer
>Priority: Minor
> Fix For: 3.0-M2
>
> Attachments: 20100111-rbh-patch-V2.3.txt
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> Composite matchers can be added to James V2.3.3 via mofication to 
> JamesSpoolManager, Matcher and MatcherLoader interface, and 
> JamesMatcherLoader.
> Patches supplied. Some time will be needed to migrate the concept to the 
> Unreleased HEAD

-- 
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: (JAMES-1084) Remove RemoteManager

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-1084:
-

Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Remove RemoteManager
> 
>
> Key: JAMES-1084
> URL: https://issues.apache.org/jira/browse/JAMES-1084
> Project: JAMES Server
>  Issue Type: Task
>  Components: Remote Manager
>Reporter: Norman Maurer
> Fix For: 3.0-M2
>
>
> Remove RemoteManager in favor of JMX 

-- 
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: (JAMES-1067) Remove dependency on commons-oro

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-1067:
-

Fix Version/s: (was: 3.0)
   3.0-M2

Move to M2

> Remove dependency on commons-oro
> 
>
> Key: JAMES-1067
> URL: https://issues.apache.org/jira/browse/JAMES-1067
> Project: JAMES Server
>  Issue Type: Task
>Reporter: Norman Maurer
> Fix For: 3.0-M2
>
>
> We have a few classes which use commons oro. The dependency should get 
> removed because commons oro was moved to the attic.
> See:
> http://jakarta.apache.org/site/news/news-2010-q3.html#20100901.2 

-- 
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] Created: (JAMES-1089) Exclude pdfbox from dependencies

2010-10-26 Thread Norman Maurer (JIRA)
Exclude pdfbox from dependencies


 Key: JAMES-1089
 URL: https://issues.apache.org/jira/browse/JAMES-1089
 Project: JAMES Server
  Issue Type: Task
Affects Versions: 3.0-M1
Reporter: Norman Maurer
Assignee: Norman Maurer
 Fix For: 3.0-M2


pdfbox is only needed to index pdf documents with jackrabbit. Thats not needed 
with james so we should remove the dependecy

-- 
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: (JAMES-1079) Cleanup configuration files

2010-10-26 Thread Norman Maurer (JIRA)

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

Norman Maurer updated JAMES-1079:
-

Fix Version/s: (was: 3.0-M1)
   3.0-M2

> Cleanup configuration files
> ---
>
> Key: JAMES-1079
> URL: https://issues.apache.org/jira/browse/JAMES-1079
> Project: JAMES Server
>  Issue Type: Task
>Reporter: Norman Maurer
> Fix For: 3.0-M2
>
>
> At the moment the configuration files are just overloaded with commented 
> stuff. We should better cleanup the configuration files + add a new folder 
> examples which holds the old ones to show what can be done with the configs.

-- 
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: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Norman Maurer
Hi,

I will close the VOTE on Saturday 30.10.2010 09:00 CEST.

Thx,
Norman


2010/10/26 Norman Maurer :
> Hi all,
>
> I'm very happy to start a VOTE for the first milestone of the
> upcomming major version of JAMES Server (3.0). This milestone include
> tones of improvements,features and bugfixes.
>
> I think one of the most important things for "normal" users is the
> support of IMAP and the new fastfail stuff in SMTP.  To get a complete
> list see:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294
>
> Here are the artifacts for review:
> https://repository.apache.org/content/repositories/orgapachejames-001/
>
> So please cast your VOTE:
>
> [  ] +1 Yes please release
> [  ] +0 No time to review
> [  ] -1 No the code is not ready yet.
>
> Thx,
> Norman
>

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



Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Norman Maurer
I will have a look howto fix this. I think I had this problem before
in jsieve and fixed it.

Thx,
Norman


2010/10/27 Stefano Bagnara :
>> Few points/questions/hints for M2:
>
> 7) The maven release created 2 source releases.
> james-server-container-spring-3.0-M1-src.zip and
> james-server-3.0-M1-source-release.zip. They are very similar, the
> first includes some "derby.log" files in the jdbc/jpa modules, the
> second instead have maven DEPENDENCIES/LICENSE/NOTICE files. I think
> we need just one of the 2 in M2.
>
> Stefano
>
> -
> 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



Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Norman Maurer
Hi Stefano,

comments inside..

2010/10/27 Stefano Bagnara :
> 2010/10/26 Norman Maurer :
>> I'm very happy to start a VOTE for the first milestone of the
>> upcomming major version of JAMES Server (3.0). This milestone include
>> tones of improvements,features and bugfixes.
>
> That's great! :-)
>
>> I think one of the most important things for "normal" users is the
>> support of IMAP and the new fastfail stuff in SMTP.  To get a complete
>> list see:
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294
>>
>> Here are the artifacts for review:
>> https://repository.apache.org/content/repositories/orgapachejames-001/
>>
>> So please cast your VOTE:
>
> [X] +1 Yes please release
>
> Few points/questions/hints for M2:
>
> 1) running it under windows says:
> "Errore: Limitare l'accesso in lettura al file password: ../conf/jmx.password"
> (Trans: error: you have to limit read access to password file:
> ../conf/jmx.password). It's not clear what I have to do to limit this
> access and whom to limit access to.

Welcome to windows ;) When running JAMES on a unix-like platform you
don't see this error as the configuration files come with perms 0600.
Anyway its documented in the JMX docs.

See: 
http://download.oracle.com/javase/1.5.0/docs/guide/management/security-windows.html

I already talked with Eric and he will add it to the website.

>
> 2) in a future version I'd like to see some dependency removed from
> the binary release (e.g: pdfbox-1.0.0.jar is 4.6MB and I believe it's
> not really used but only transitively inherited by jackrabbit).

Makes sense, pdfbox is only needed to index pdf files in jackrabbit.
So no need to ship it with JAMES. I will open a jira for it.

>
> 3) we now have a lot of implementations for each api. Even to me (long
> time james user/developer) it's now not obvious what are the default
> or the preferred implementations and their status. Maybe we should
> provide a small table indicating defaults and pro/cons of the various
> implementations when it's not obvious.
> It's not clear what is the best setup for users that only needs a
> small mail server with no database, or what is suggested to users that
> wants to set up a cluster with no "file" state in the nodes, and
> similar "standard" things.

+1 Something for the website. Eric ? ;)

>
> 4) in the source distribution we have the STATUS file: IMHO this
> should be removed from there and from SVN. It was a failed experiment.

+1 will do.

>
> 5) MIGRATE.txt is outdated. It's better to remove it that to have it
> documenting a bad migration path.

+1 We will have to write one when the api is stable.

> 6) In James 2.3 we had a README.txt with some docs, and with the
> Crypto Notice. I guess at least Crypto Notice should be revamped.

Will have a look for M2 or whatever the next release will get called.

> Stefano
>

Bye,
Norman

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



Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Dhrubo
+1
Kind Regards... Dhrubo


On Tue, Oct 26, 2010 at 9:56 PM, Norman Maurer  wrote:

> Hi all,
>
> I'm very happy to start a VOTE for the first milestone of the
> upcomming major version of JAMES Server (3.0). This milestone include
> tones of improvements,features and bugfixes.
>
> I think one of the most important things for "normal" users is the
> support of IMAP and the new fastfail stuff in SMTP.  To get a complete
> list see:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294
>
> Here are the artifacts for review:
> https://repository.apache.org/content/repositories/orgapachejames-001/
>
> So please cast your VOTE:
>
> [  ] +1 Yes please release
> [  ] +0 No time to review
> [  ] -1 No the code is not ready yet.
>
> Thx,
> Norman
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Stefano Bagnara
> Few points/questions/hints for M2:

7) The maven release created 2 source releases.
james-server-container-spring-3.0-M1-src.zip and
james-server-3.0-M1-source-release.zip. They are very similar, the
first includes some "derby.log" files in the jdbc/jpa modules, the
second instead have maven DEPENDENCIES/LICENSE/NOTICE files. I think
we need just one of the 2 in M2.

Stefano

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



Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Stefano Bagnara
2010/10/26 Norman Maurer :
> I'm very happy to start a VOTE for the first milestone of the
> upcomming major version of JAMES Server (3.0). This milestone include
> tones of improvements,features and bugfixes.

That's great! :-)

> I think one of the most important things for "normal" users is the
> support of IMAP and the new fastfail stuff in SMTP.  To get a complete
> list see:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294
>
> Here are the artifacts for review:
> https://repository.apache.org/content/repositories/orgapachejames-001/
>
> So please cast your VOTE:

[X] +1 Yes please release

Few points/questions/hints for M2:

1) running it under windows says:
"Errore: Limitare l'accesso in lettura al file password: ../conf/jmx.password"
(Trans: error: you have to limit read access to password file:
../conf/jmx.password). It's not clear what I have to do to limit this
access and whom to limit access to.

2) in a future version I'd like to see some dependency removed from
the binary release (e.g: pdfbox-1.0.0.jar is 4.6MB and I believe it's
not really used but only transitively inherited by jackrabbit).

3) we now have a lot of implementations for each api. Even to me (long
time james user/developer) it's now not obvious what are the default
or the preferred implementations and their status. Maybe we should
provide a small table indicating defaults and pro/cons of the various
implementations when it's not obvious.
It's not clear what is the best setup for users that only needs a
small mail server with no database, or what is suggested to users that
wants to set up a cluster with no "file" state in the nodes, and
similar "standard" things.

4) in the source distribution we have the STATUS file: IMHO this
should be removed from there and from SVN. It was a failed experiment.

5) MIGRATE.txt is outdated. It's better to remove it that to have it
documenting a bad migration path.

6) In James 2.3 we had a README.txt with some docs, and with the
Crypto Notice. I guess at least Crypto Notice should be revamped.

Stefano

Stefano

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



Re: [VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Norman Maurer
[ x ] +1 Yes please release

Bye,
Norman

2010/10/26 Norman Maurer :
> Hi all,
>
> I'm very happy to start a VOTE for the first milestone of the
> upcomming major version of JAMES Server (3.0). This milestone include
> tones of improvements,features and bugfixes.
>
> I think one of the most important things for "normal" users is the
> support of IMAP and the new fastfail stuff in SMTP.  To get a complete
> list see:
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294
>
> Here are the artifacts for review:
> https://repository.apache.org/content/repositories/orgapachejames-001/
>
> So please cast your VOTE:
>
> [  ] +1 Yes please release
> [  ] +0 No time to review
> [  ] -1 No the code is not ready yet.
>
> Thx,
> Norman
>

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



[VOTE] Release JAMES Server 3.0-M1

2010-10-26 Thread Norman Maurer
Hi all,

I'm very happy to start a VOTE for the first milestone of the
upcomming major version of JAMES Server (3.0). This milestone include
tones of improvements,features and bugfixes.

I think one of the most important things for "normal" users is the
support of IMAP and the new fastfail stuff in SMTP.  To get a complete
list see:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10411&styleName=Html&version=12314294

Here are the artifacts for review:
https://repository.apache.org/content/repositories/orgapachejames-001/

So please cast your VOTE:

[  ] +1 Yes please release
[  ] +0 No time to review
[  ] -1 No the code is not ready yet.

Thx,
Norman

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



svn commit: r1027578 - in /james/server/trunk: ./ container-spring/ core-api/ core-function/ core-library/ dnsservice-api/ dnsservice-dnsjava/ domainlist-api/ domainlist-jdbc/ domainlist-jpa/ domainli

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 14:30:31 2010
New Revision: 1027578

URL: http://svn.apache.org/viewvc?rev=1027578&view=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
james/server/trunk/container-spring/pom.xml
james/server/trunk/core-api/pom.xml
james/server/trunk/core-function/pom.xml
james/server/trunk/core-library/pom.xml
james/server/trunk/dnsservice-api/pom.xml
james/server/trunk/dnsservice-dnsjava/pom.xml
james/server/trunk/domainlist-api/pom.xml
james/server/trunk/domainlist-jdbc/pom.xml
james/server/trunk/domainlist-jpa/pom.xml
james/server/trunk/domainlist-library/pom.xml
james/server/trunk/domainlist-xml/pom.xml
james/server/trunk/fetchmail/pom.xml
james/server/trunk/imapserver/pom.xml
james/server/trunk/lmtpserver/pom.xml
james/server/trunk/mail-api/pom.xml
james/server/trunk/mail-file/pom.xml
james/server/trunk/mail-jcr/pom.xml
james/server/trunk/mail-jdbc/pom.xml
james/server/trunk/mail-library/pom.xml
james/server/trunk/mailbox-adapter/pom.xml
james/server/trunk/mailetcontainer-api/pom.xml
james/server/trunk/mailetcontainer-camel/pom.xml
james/server/trunk/mailetcontainer-library/pom.xml
james/server/trunk/mailets/pom.xml
james/server/trunk/netty-socket/pom.xml
james/server/trunk/pom.xml
james/server/trunk/pop3server/pom.xml
james/server/trunk/queue-activemq/pom.xml
james/server/trunk/queue-api/pom.xml
james/server/trunk/queue-jms/pom.xml
james/server/trunk/remotemanager/pom.xml
james/server/trunk/smtpserver/pom.xml
james/server/trunk/user-api/pom.xml
james/server/trunk/user-file/pom.xml
james/server/trunk/user-jcr/pom.xml
james/server/trunk/user-jdbc/pom.xml
james/server/trunk/user-jpa/pom.xml
james/server/trunk/user-ldap/pom.xml
james/server/trunk/user-library/pom.xml
james/server/trunk/util/pom.xml

Modified: james/server/trunk/container-spring/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/container-spring/pom.xml (original)
+++ james/server/trunk/container-spring/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james/server/trunk/core-api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/core-api/pom.xml (original)
+++ james/server/trunk/core-api/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james/server/trunk/core-function/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-function/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/core-function/pom.xml (original)
+++ james/server/trunk/core-function/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james/server/trunk/core-library/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-library/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/core-library/pom.xml (original)
+++ james/server/trunk/core-library/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james/server/trunk/dnsservice-api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/dnsservice-api/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/dnsservice-api/pom.xml (original)
+++ james/server/trunk/dnsservice-api/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james/server/trunk/dnsservice-dnsjava/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/dnsservice-dnsjava/pom.xml?rev=1027578&r1=1027577&r2=1027578&view=diff
==
--- james/server/trunk/dnsservice-dnsjava/pom.xml (original)
+++ james/server/trunk/dnsservice-dnsjava/pom.xml Tue Oct 26 14:30:31 2010
@@ -21,7 +21,7 @@
   
 james-server
 org.apache.james
-3.0-M1
+3.0-M2-SNAPSHOT
   
   4.0.0
   org.apache.james

Modified: james

svn commit: r1027575 - /james/server/tags/james-server-3.0-M1/

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 14:28:33 2010
New Revision: 1027575

URL: http://svn.apache.org/viewvc?rev=1027575&view=rev
Log:
[maven-scm] copy for tag james-server-3.0-M1

Added:
james/server/tags/james-server-3.0-M1/   (props changed)
  - copied from r1027574, james/server/trunk/

Propchange: james/server/tags/james-server-3.0-M1/
--
--- svn:ignore (added)
+++ svn:ignore Tue Oct 26 14:28:33 2010
@@ -0,0 +1,8 @@
+.*
+dist
+conf
+target
+data
+bin
+log
+var

Propchange: james/server/tags/james-server-3.0-M1/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Tue Oct 26 14:28:33 2010
@@ -0,0 +1,2 @@
+/james/server/sandbox/active/mina_experiments:824613-825114
+/james/server/sandbox/active/pure_spring_deployment:893986-896410



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



svn commit: r1027573 [2/2] - in /james/server/trunk: ./ container-spring/ core-api/ core-function/ core-library/ dnsservice-api/ dnsservice-dnsjava/ domainlist-api/ domainlist-jdbc/ domainlist-jpa/ do

2010-10-26 Thread norman
Modified: james/server/trunk/user-jpa/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jpa/pom.xml?rev=1027573&r1=1027572&r2=1027573&view=diff
==
--- james/server/trunk/user-jpa/pom.xml (original)
+++ james/server/trunk/user-jpa/pom.xml Tue Oct 26 14:26:01 2010
@@ -1,176 +1,176 @@
-
-
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-  
-james-server
-org.apache.james
-3.0-SNAPSHOT
-  
-  4.0.0
-  org.apache.james
-  james-server-user-jpa
-  Apache James Server User JPA
-  
-  
-
-
-  
-org.codehaus.mojo
-openjpa-maven-plugin
-1.0
-
-  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
-  true
-  true
-  
-
-  log
-  TOOL=TRACE
-   
-
-  metaDataFactory
-  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
-   
-  
-  
-
-  
-enhancer
-process-classes
-
-  enhance
-
-  
-
-  
-
-  
-  
-  
-
-  org.apache.james
-  james-server-util
-
-
-  org.apache.james
-  james-server-core-api
-
-
-  org.apache.james
-  james-server-mail-api
-
-
-  org.apache.james
-  james-server-user-api
-
-
-  org.apache.james
-  james-server-user-library
-
-
-  org.apache.james
-  james-server-core-library
-  runtime
-
-
-  org.apache.james
-  apache-mailet
-
- 
-  commons-configuration
-  commons-configuration
-
-
-  commons-logging
-  commons-logging
-
-
-  commons-codec
-  commons-codec
-
-
-  ${javax.mail.groupId}
-  ${javax.mail.artifactId}
-
-
-  javax.annotation
-  jsr250-api
-
-
-  org.apache.geronimo.specs
-  geronimo-jpa_2.0_spec
-   
-
-
-
-  junit
-  junit
-  test
-
-
-  org.apache.james
-  james-server-user-library
-  test-jar
-  test
-
-
-  commons-dbcp
-  commons-dbcp
-  runtime
-
-
-  org.apache.derby
-  derby
-  runtime
-
-
-  com.h2database
-  h2
-  runtime
-
-
-  org.apache.openjpa
-  openjpa
-  test
-
-
-  org.slf4j
-  slf4j-log4j12
-  runtime
-
-
-  org.slf4j
-  slf4j-api
-  runtime
-
-
-  org.apache.james
-  james-server-core-library
-  test-jar
-  test
-
-
-  org.apache.james
-  james-server-mail-library
-  test-jar
-  test
-
-  
-
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  
+james-server
+org.apache.james
+3.0-M1
+  
+  4.0.0
+  org.apache.james
+  james-server-user-jpa
+  Apache James Server User JPA
+  
+  
+
+
+  
+org.codehaus.mojo
+openjpa-maven-plugin
+1.0
+
+  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
+  true
+  true
+  
+
+  log
+  TOOL=TRACE
+   
+
+  metaDataFactory
+  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
+   
+  
+  
+
+  
+enhancer
+process-classes
+
+  enhance
+
+  
+
+  
+
+  
+  
+  
+
+  org.apache.james
+  james-server-util
+
+
+  org.apache.james
+  james-server-core-api
+
+
+  org.apache.james
+  james-server-mail-api
+
+
+  org.apache.james
+  james-server-user-api
+
+
+  org.apache.james
+  james-server-user-library
+
+
+  org.apache.james
+  james-server-core-library
+  runtime
+
+
+  org.apache.james
+  apache-mailet
+
+ 
+  commons-configuration
+  commons-configuration
+
+
+  commons-logging
+  commons-logging
+
+
+  commons-codec
+  commons-codec
+
+
+  ${javax.mail.groupId}
+  ${javax.mail.artifactId}
+
+
+  javax.annotation
+  jsr250-api
+
+
+  org.apache.geronimo.specs
+  geronimo-jpa_2.0_spec
+   
+
+
+
+  junit
+  junit
+  

svn commit: r1027567 [2/2] - in /james/server/trunk: ./ container-spring/ core-api/ core-function/ core-library/ dnsservice-api/ dnsservice-dnsjava/ domainlist-api/ domainlist-jdbc/ domainlist-jpa/ do

2010-10-26 Thread norman
Modified: james/server/trunk/user-jpa/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jpa/pom.xml?rev=1027567&r1=1027566&r2=1027567&view=diff
==
--- james/server/trunk/user-jpa/pom.xml (original)
+++ james/server/trunk/user-jpa/pom.xml Tue Oct 26 14:13:31 2010
@@ -1,176 +1,176 @@
-
-
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-  
-james-server
-org.apache.james
-3.0-M1
-  
-  4.0.0
-  org.apache.james
-  james-server-user-jpa
-  Apache James Server User JPA
-  
-  
-
-
-  
-org.codehaus.mojo
-openjpa-maven-plugin
-1.0
-
-  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
-  true
-  true
-  
-
-  log
-  TOOL=TRACE
-   
-
-  metaDataFactory
-  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
-   
-  
-  
-
-  
-enhancer
-process-classes
-
-  enhance
-
-  
-
-  
-
-  
-  
-  
-
-  org.apache.james
-  james-server-util
-
-
-  org.apache.james
-  james-server-core-api
-
-
-  org.apache.james
-  james-server-mail-api
-
-
-  org.apache.james
-  james-server-user-api
-
-
-  org.apache.james
-  james-server-user-library
-
-
-  org.apache.james
-  james-server-core-library
-  runtime
-
-
-  org.apache.james
-  apache-mailet
-
- 
-  commons-configuration
-  commons-configuration
-
-
-  commons-logging
-  commons-logging
-
-
-  commons-codec
-  commons-codec
-
-
-  ${javax.mail.groupId}
-  ${javax.mail.artifactId}
-
-
-  javax.annotation
-  jsr250-api
-
-
-  org.apache.geronimo.specs
-  geronimo-jpa_2.0_spec
-   
-
-
-
-  junit
-  junit
-  test
-
-
-  org.apache.james
-  james-server-user-library
-  test-jar
-  test
-
-
-  commons-dbcp
-  commons-dbcp
-  runtime
-
-
-  org.apache.derby
-  derby
-  runtime
-
-
-  com.h2database
-  h2
-  runtime
-
-
-  org.apache.openjpa
-  openjpa
-  test
-
-
-  org.slf4j
-  slf4j-log4j12
-  runtime
-
-
-  org.slf4j
-  slf4j-api
-  runtime
-
-
-  org.apache.james
-  james-server-core-library
-  test-jar
-  test
-
-
-  org.apache.james
-  james-server-mail-library
-  test-jar
-  test
-
-  
-
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  
+james-server
+org.apache.james
+3.0-SNAPSHOT
+  
+  4.0.0
+  org.apache.james
+  james-server-user-jpa
+  Apache James Server User JPA
+  
+  
+
+
+  
+org.codehaus.mojo
+openjpa-maven-plugin
+1.0
+
+  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
+  true
+  true
+  
+
+  log
+  TOOL=TRACE
+   
+
+  metaDataFactory
+  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
+   
+  
+  
+
+  
+enhancer
+process-classes
+
+  enhance
+
+  
+
+  
+
+  
+  
+  
+
+  org.apache.james
+  james-server-util
+
+
+  org.apache.james
+  james-server-core-api
+
+
+  org.apache.james
+  james-server-mail-api
+
+
+  org.apache.james
+  james-server-user-api
+
+
+  org.apache.james
+  james-server-user-library
+
+
+  org.apache.james
+  james-server-core-library
+  runtime
+
+
+  org.apache.james
+  apache-mailet
+
+ 
+  commons-configuration
+  commons-configuration
+
+
+  commons-logging
+  commons-logging
+
+
+  commons-codec
+  commons-codec
+
+
+  ${javax.mail.groupId}
+  ${javax.mail.artifactId}
+
+
+  javax.annotation
+  jsr250-api
+
+
+  org.apache.geronimo.specs
+  geronimo-jpa_2.0_spec
+   
+
+
+
+  junit
+  junit
+  

svn commit: r1027479 [2/2] - in /james/server/trunk: ./ container-spring/ core-api/ core-function/ core-library/ dnsservice-api/ dnsservice-dnsjava/ domainlist-api/ domainlist-jdbc/ domainlist-jpa/ do

2010-10-26 Thread norman
Modified: james/server/trunk/user-jpa/pom.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jpa/pom.xml?rev=1027479&r1=1027478&r2=1027479&view=diff
==
--- james/server/trunk/user-jpa/pom.xml (original)
+++ james/server/trunk/user-jpa/pom.xml Tue Oct 26 11:33:27 2010
@@ -1,176 +1,176 @@
-
-
-http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-  
-james-server
-org.apache.james
-3.0-SNAPSHOT
-  
-  4.0.0
-  org.apache.james
-  james-server-user-jpa
-  Apache James Server User JPA
-  
-  
-
-
-  
-org.codehaus.mojo
-openjpa-maven-plugin
-1.0
-
-  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
-  true
-  true
-  
-
-  log
-  TOOL=TRACE
-   
-
-  metaDataFactory
-  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
-   
-  
-  
-
-  
-enhancer
-process-classes
-
-  enhance
-
-  
-
-  
-
-  
-  
-  
-
-  org.apache.james
-  james-server-util
-
-
-  org.apache.james
-  james-server-core-api
-
-
-  org.apache.james
-  james-server-mail-api
-
-
-  org.apache.james
-  james-server-user-api
-
-
-  org.apache.james
-  james-server-user-library
-
-
-  org.apache.james
-  james-server-core-library
-  runtime
-
-
-  org.apache.james
-  apache-mailet
-
- 
-  commons-configuration
-  commons-configuration
-
-
-  commons-logging
-  commons-logging
-
-
-  commons-codec
-  commons-codec
-
-
-  ${javax.mail.groupId}
-  ${javax.mail.artifactId}
-
-
-  javax.annotation
-  jsr250-api
-
-
-  org.apache.geronimo.specs
-  geronimo-jpa_2.0_spec
-   
-
-
-
-  junit
-  junit
-  test
-
-
-  org.apache.james
-  james-server-user-library
-  test-jar
-  test
-
-
-  commons-dbcp
-  commons-dbcp
-  runtime
-
-
-  org.apache.derby
-  derby
-  runtime
-
-
-  com.h2database
-  h2
-  runtime
-
-
-  org.apache.openjpa
-  openjpa
-  test
-
-
-  org.slf4j
-  slf4j-log4j12
-  runtime
-
-
-  org.slf4j
-  slf4j-api
-  runtime
-
-
-  org.apache.james
-  james-server-core-library
-  test-jar
-  test
-
-
-  org.apache.james
-  james-server-mail-library
-  test-jar
-  test
-
-  
-
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  
+james-server
+org.apache.james
+3.0-M1
+  
+  4.0.0
+  org.apache.james
+  james-server-user-jpa
+  Apache James Server User JPA
+  
+  
+
+
+  
+org.codehaus.mojo
+openjpa-maven-plugin
+1.0
+
+  
org/apache/james/user/jpa/model/JPAUser.class,org/apache/james/vut/jpa/model/JPAVirtualUser.class
+  true
+  true
+  
+
+  log
+  TOOL=TRACE
+   
+
+  metaDataFactory
+  
jpa(Types=org.apache.james.user.jpa.model.JPAUser;org.apache.james.vut.jpa.model.JPAVirtualUser)
+   
+  
+  
+
+  
+enhancer
+process-classes
+
+  enhance
+
+  
+
+  
+
+  
+  
+  
+
+  org.apache.james
+  james-server-util
+
+
+  org.apache.james
+  james-server-core-api
+
+
+  org.apache.james
+  james-server-mail-api
+
+
+  org.apache.james
+  james-server-user-api
+
+
+  org.apache.james
+  james-server-user-library
+
+
+  org.apache.james
+  james-server-core-library
+  runtime
+
+
+  org.apache.james
+  apache-mailet
+
+ 
+  commons-configuration
+  commons-configuration
+
+
+  commons-logging
+  commons-logging
+
+
+  commons-codec
+  commons-codec
+
+
+  ${javax.mail.groupId}
+  ${javax.mail.artifactId}
+
+
+  javax.annotation
+  jsr250-api
+
+
+  org.apache.geronimo.specs
+  geronimo-jpa_2.0_spec
+   
+
+
+
+  junit
+  junit
+  

svn commit: r1027473 - in /james/server/trunk/container-spring/src/main/config/james: jmx.access jmx.password

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 11:19:47 2010
New Revision: 1027473

URL: http://svn.apache.org/viewvc?rev=1027473&view=rev
Log:
Add license header

Modified:
james/server/trunk/container-spring/src/main/config/james/jmx.access
james/server/trunk/container-spring/src/main/config/james/jmx.password

Modified: james/server/trunk/container-spring/src/main/config/james/jmx.access
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/james/jmx.access?rev=1027473&r1=1027472&r2=1027473&view=diff
==
--- james/server/trunk/container-spring/src/main/config/james/jmx.access 
(original)
+++ james/server/trunk/container-spring/src/main/config/james/jmx.access Tue 
Oct 26 11:19:47 2010
@@ -1,2 +1,20 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#
+#
 # root user has readwrite access
 root readwrite
\ No newline at end of file

Modified: james/server/trunk/container-spring/src/main/config/james/jmx.password
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/james/jmx.password?rev=1027473&r1=1027472&r2=1027473&view=diff
==
--- james/server/trunk/container-spring/src/main/config/james/jmx.password 
(original)
+++ james/server/trunk/container-spring/src/main/config/james/jmx.password Tue 
Oct 26 11:19:47 2010
@@ -1,2 +1,20 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#
+#
 # user root with password root. This should be changed!
 root root
\ No newline at end of file



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



Re: James 2.x web site

2010-10-26 Thread Norman Maurer
2010/10/26 Stefano Bagnara :
> 2010/10/26 Eric Charles :
>> I would like to propose a new menu
>>    Sever 3.0
>>    Server 2.3.2
>>    Archive
>>
>> ... and move the Server 2.3.1, 2.3.0, 2.2.0 to the Archive page.
>>
>> The 2.3.2 would need to get regenerated and republished.
>
> +1, maybe "Server v3" and "Server v2" are more general for a menu name
> that we have in every page, otherwise at every subrelease we have to
> recreate the whole site, but take this only as an hint (you seems to
> understand the implication so I'm fine your choices).

+1 to Stefano's suggestion

>
>> If ok with this, there is 3 actions:
>> - Republish 2.3.2: I tried to build the site, but it fails to download the
>> needed dependency. I will retry from another internet connection.
>
> ok. Maybe 2.3 needs maven 2 because maven 3 deprecated/removed some
> stuff we used in 2.3 (local repository in the stage module and the
> legacy repository style).
>
>> - In the index pages, push users to download and try 3.0-M1 rather than the
>> stable 2.3.2.
>
> I would prefer to keep pushing users to 2.3.2 for a while. 3.0-M1 is
> still too new to push it to everyday users. 2.3.2 instead is proven
> stable. So, let's start linking 3.0 for early adopters and testers,
> but don't "push" it too much before the GA release.

+1 to Stefano's suggestion
>
>> - Automatically update the nightly dir. if needed, cause we already have two
>> places to download the snapshots; hudson and maven snaphot repo.
>
> +1

+1

>
> Stefano
>

Bye,
Norman

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



Re: James 2.x web site

2010-10-26 Thread Stefano Bagnara
2010/10/26 Eric Charles :
> I would like to propose a new menu
>    Sever 3.0
>    Server 2.3.2
>    Archive
>
> ... and move the Server 2.3.1, 2.3.0, 2.2.0 to the Archive page.
>
> The 2.3.2 would need to get regenerated and republished.

+1, maybe "Server v3" and "Server v2" are more general for a menu name
that we have in every page, otherwise at every subrelease we have to
recreate the whole site, but take this only as an hint (you seems to
understand the implication so I'm fine your choices).

> If ok with this, there is 3 actions:
> - Republish 2.3.2: I tried to build the site, but it fails to download the
> needed dependency. I will retry from another internet connection.

ok. Maybe 2.3 needs maven 2 because maven 3 deprecated/removed some
stuff we used in 2.3 (local repository in the stage module and the
legacy repository style).

> - In the index pages, push users to download and try 3.0-M1 rather than the
> stable 2.3.2.

I would prefer to keep pushing users to 2.3.2 for a while. 3.0-M1 is
still too new to push it to everyday users. 2.3.2 instead is proven
stable. So, let's start linking 3.0 for early adopters and testers,
but don't "push" it too much before the GA release.

> - Automatically update the nightly dir. if needed, cause we already have two
> places to download the snapshots; hudson and maven snaphot repo.

+1

Stefano

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



svn commit: r1027441 - in /james/server/trunk: core-api/src/main/java/org/apache/james/lifecycle/ core-api/src/main/java/org/apache/james/services/ mail-api/src/main/java/org/apache/james/mailreposito

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 10:04:00 2010
New Revision: 1027441

URL: http://svn.apache.org/viewvc?rev=1027441&view=rev
Log:
Only a bit cleanup

Modified:

james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/Disposable.java

james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/LifecycleUtil.java

james/server/trunk/core-api/src/main/java/org/apache/james/services/FileSystem.java

james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java

james/server/trunk/core-api/src/main/java/org/apache/james/services/MailServer.java

james/server/trunk/core-api/src/main/java/org/apache/james/services/SpoolManager.java

james/server/trunk/mail-api/src/main/java/org/apache/james/mailrepository/api/MailRepository.java

james/server/trunk/user-ldap/src/main/java/org/apache/james/user/ldap/ReadOnlyLDAPGroupRestriction.java

james/server/trunk/user-ldap/src/main/java/org/apache/james/user/ldap/ReadOnlyLDAPUser.java

james/server/trunk/user-ldap/src/main/java/org/apache/james/user/ldap/SimpleLDAPConnection.java

Modified: 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/Disposable.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/Disposable.java?rev=1027441&r1=1027440&r2=1027441&view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/Disposable.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/Disposable.java
 Tue Oct 26 10:04:00 2010
@@ -19,7 +19,16 @@
 
 package org.apache.james.lifecycle;
 
+/**
+ * Classes which implement this interface need some special handling on 
destroy.
+ * So the {...@link #dispose()} method need to get called
+ * 
+ *
+ */
 public interface Disposable {
 
+/**
+ * Dispose the object
+ */
 public void dispose();
 }

Modified: 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/LifecycleUtil.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/LifecycleUtil.java?rev=1027441&r1=1027440&r2=1027441&view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/LifecycleUtil.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/lifecycle/LifecycleUtil.java
 Tue Oct 26 10:04:00 2010
@@ -21,6 +21,11 @@ package org.apache.james.lifecycle;
 
 public class LifecycleUtil {
 
+/**
+ * Dispose the given object if its an instanceof {...@link Disposable}
+ * 
+ * @param obj
+ */
 public static void dispose(Object obj) {
 if (obj instanceof Disposable && obj != null) {
 ((Disposable) obj).dispose();

Modified: 
james/server/trunk/core-api/src/main/java/org/apache/james/services/FileSystem.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/services/FileSystem.java?rev=1027441&r1=1027440&r2=1027441&view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/services/FileSystem.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/services/FileSystem.java
 Tue Oct 26 10:04:00 2010
@@ -32,8 +32,6 @@ import java.io.IOException;
  */
 public interface FileSystem {
 
-String ROLE = "org.apache.james.services.FileSystem";
-
 
 /**
  * Prefix for loading of a filesystem based on the current directory

Modified: 
james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java?rev=1027441&r1=1027440&r2=1027441&view=diff
==
--- 
james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
 (original)
+++ 
james/server/trunk/core-api/src/main/java/org/apache/james/services/InstanceFactory.java
 Tue Oct 26 10:04:00 2010
@@ -36,6 +36,17 @@ public interface InstanceFactory {
  */
 public  T newInstance(Class clazz) throws InstanceException;
 
+
+/**
+ * Create an instance of the given class and inject the log and config 
+ * 
+ * Instances should - where appropriate - have dependencies injected.
+ * @param  
+ * @param log
+ * @param config
+ * @param type may be interface or concrete, not null
+ * @return an instance of the type
+ */
 public  T newInstance(Class clazz, Log log, 
HierarchicalConfiguration config) throws InstanceException;
 
 

Modified: 
james/server/trunk/core-api/src/main/java/org/apache/james/services/MailServer.java
URL: 
http://svn.apache.

svn commit: r1027425 - /james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 09:44:33 2010
New Revision: 1027425

URL: http://svn.apache.org/viewvc?rev=1027425&view=rev
Log:
Add @Deprecated annotation to the implementation

Modified:

james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java

Modified: 
james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java?rev=1027425&r1=1027424&r2=1027425&view=diff
==
--- 
james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java
 (original)
+++ 
james/server/trunk/domainlist-jdbc/src/main/java/org/apache/james/domainlist/jdbc/JDBCDomainList.java
 Tue Oct 26 09:44:33 2010
@@ -49,6 +49,7 @@ import org.apache.james.util.sql.SqlReso
  * 
  * @deprecated use the JPA 
  */
+...@deprecated
 public class JDBCDomainList extends AbstractDomainList implements Configurable{
 
 private DataSource dataSource;



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



svn commit: r1027422 - in /james/server/trunk: container-spring/src/main/config/james/ user-file/src/main/java/org/apache/james/user/file/ user-jdbc/src/main/java/org/apache/james/user/jdbc/

2010-10-26 Thread norman
Author: norman
Date: Tue Oct 26 09:39:46 2010
New Revision: 1027422

URL: http://svn.apache.org/viewvc?rev=1027422&view=rev
Log:
Mark "old" UsersRepository implementations as deprecated

Modified:

james/server/trunk/container-spring/src/main/config/james/usersrepository.xml

james/server/trunk/user-file/src/main/java/org/apache/james/user/file/UsersFileRepository.java

james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/AbstractJdbcUsersRepository.java

james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/DefaultUsersJdbcRepository.java

james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/JamesUsersJdbcRepository.java

james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/ListUsersJdbcRepository.java

Modified: 
james/server/trunk/container-spring/src/main/config/james/usersrepository.xml
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/config/james/usersrepository.xml?rev=1027422&r1=1027421&r2=1027422&view=diff
==
--- 
james/server/trunk/container-spring/src/main/config/james/usersrepository.xml 
(original)
+++ 
james/server/trunk/container-spring/src/main/config/james/usersrepository.xml 
Tue Oct 26 09:39:46 2010
@@ -18,28 +18,39 @@
   under the License.   
  -->
 
-
-
+
 
 
 
 
 
-
-
-
-
-
-
-
-
+
 
-
+
 
-
 
-
+
+
+
+
+
+
+
+MD5
+
+
+
+
+
+
+
 
+
 
 
 
+
+
 
-
-
-
-
-
-
-
-MD5
-
-
+
 
 
 
 
 
 
+
 
 
-
+

Modified: 
james/server/trunk/user-file/src/main/java/org/apache/james/user/file/UsersFileRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-file/src/main/java/org/apache/james/user/file/UsersFileRepository.java?rev=1027422&r1=1027421&r2=1027422&view=diff
==
--- 
james/server/trunk/user-file/src/main/java/org/apache/james/user/file/UsersFileRepository.java
 (original)
+++ 
james/server/trunk/user-file/src/main/java/org/apache/james/user/file/UsersFileRepository.java
 Tue Oct 26 09:39:46 2010
@@ -49,6 +49,7 @@ import javax.annotation.Resource;
  * @version CVS $Revision: 521427 $
  *
  */
+...@deprecated
 public class UsersFileRepository
 extends AbstractJamesUsersRepository {
  

Modified: 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/AbstractJdbcUsersRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/AbstractJdbcUsersRepository.java?rev=1027422&r1=1027421&r2=1027422&view=diff
==
--- 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/AbstractJdbcUsersRepository.java
 (original)
+++ 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/AbstractJdbcUsersRepository.java
 Tue Oct 26 09:39:46 2010
@@ -65,8 +65,10 @@ import javax.sql.DataSource;
  * Optional
  * selectByLowercaseNameSelect a user by name 
(case-insensitive lowercase).
  * 
+ * 
  *
  */
+...@deprecated
 public abstract class AbstractJdbcUsersRepository extends
 AbstractJamesUsersRepository {
 

Modified: 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/DefaultUsersJdbcRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/DefaultUsersJdbcRepository.java?rev=1027422&r1=1027421&r2=1027422&view=diff
==
--- 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/DefaultUsersJdbcRepository.java
 (original)
+++ 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/DefaultUsersJdbcRepository.java
 Tue Oct 26 09:39:46 2010
@@ -42,14 +42,10 @@ import javax.annotation.PostConstruct;
  * instead of this class. So we could also delete this implementation.
  * 
  */
+...@deprecated
 public class DefaultUsersJdbcRepository extends AbstractJdbcUsersRepository
 {
-// REMOVE ME!
-@PostConstruct
-@Override
-public void init() throws Exception {
-super.init();
-}
+
 
 /**
  * @see 
org.apache.james.user.jdbc.AbstractJdbcUsersRepository#readUserFromResultSet(java.sql.ResultSet)

Modified: 
james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/JamesUsersJdbcRepository.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/user-jdbc/src/main/java/org/apache/james/user/jdbc/JamesUsersJdbcRepository.java?rev=1027422&r1=1027421&r2=1027422&view=diff
=

Re: James 2.x web site

2010-10-26 Thread Dhrubo
+1
Kind Regards... Dhrubo

On Tue, Oct 26, 2010 at 3:01 PM, Eric Charles  wrote:

> Hi,
>
> The left menu of  http://james.apache.org/server/index.html has now:
>
>Development 3.0
>Candidate 2.3.2
>Server 2.3.1
>Server 2.3.0
>Server 2.2.0
>Archive
>
> If you click for example on "Candidate 2.3.2", you're going to
> http://james.apache.org/server/2.3.2/index.html, and you can click from
> there on the left menu (bottom) "Download > Nightly builds" that drives you
> to http://people.apache.org/builds/james/nightly/. This url is no more
> updated since 27-Apr-2010. The menus (top and left) are also from the
> previous skin, so not in line with the new one.
>
> I would like to propose a new menu
>Sever 3.0
>Server 2.3.2
>Archive
>
> ... and move the Server 2.3.1, 2.3.0, 2.2.0 to the Archive page.
>
> The 2.3.2 would need to get regenerated and republished.
>
> If ok with this, there is 3 actions:
> - Republish 2.3.2: I tried to build the site, but it fails to download the
> needed dependency. I will retry from another internet connection.
> - In the index pages, push users to download and try 3.0-M1 rather than the
> stable 2.3.2.
> - Automatically update the nightly dir. if needed, cause we already have
> two places to download the snapshots; hudson and maven snaphot repo.
>
> (We already had users trying the outdated 27-Apr 3.0 bundle).
>
> Tks,
>
> Eric
>
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


James 2.x web site

2010-10-26 Thread Eric Charles

Hi,

The left menu of  http://james.apache.org/server/index.html has now:

Development 3.0
Candidate 2.3.2
Server 2.3.1
Server 2.3.0
Server 2.2.0
Archive

If you click for example on "Candidate 2.3.2", you're going to 
http://james.apache.org/server/2.3.2/index.html, and you can click from 
there on the left menu (bottom) "Download > Nightly builds" that drives 
you to http://people.apache.org/builds/james/nightly/. This url is no 
more updated since 27-Apr-2010. The menus (top and left) are also from 
the previous skin, so not in line with the new one.


I would like to propose a new menu
Sever 3.0
Server 2.3.2
Archive

... and move the Server 2.3.1, 2.3.0, 2.2.0 to the Archive page.

The 2.3.2 would need to get regenerated and republished.

If ok with this, there is 3 actions:
- Republish 2.3.2: I tried to build the site, but it fails to download 
the needed dependency. I will retry from another internet connection.
- In the index pages, push users to download and try 3.0-M1 rather than 
the stable 2.3.2.
- Automatically update the nightly dir. if needed, cause we already have 
two places to download the snapshots; hudson and maven snaphot repo.


(We already had users trying the outdated 27-Apr 3.0 bundle).

Tks,

Eric


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



Re: Hash encoding

2010-10-26 Thread Norman

Hi Pavlos,

thx for your patch however its already "fixed" in upcomming 3.0-M1. It 
use a new UsersRepository implementation called JPAUsersRepository which 
allows to specify the algorithm to use.

At the moment it supports "MD5, SHA-256, SHA-512, NONE".
The previous used UsersRepository implementations are marked as 
@Deprecated and will get removed in the future.


See:
http://svn.apache.org/viewvc/james/server/trunk/user-jpa/src/main/java/org/apache/james/user/jpa/JPAUsersRepository.java?view=markup
http://svn.apache.org/viewvc/james/server/trunk/user-jpa/src/main/java/org/apache/james/user/jpa/model/JPAUser.java?view=markup

Thx,
Norman

Ps: And thank you again for your contribution

Am 26.10.2010 09:44, schrieb Pavlos Georgiadis:

I just made a tiny patch (attached) that solves the issue described in
jira JAMES-334. The problem is just that james encodes the hash in
base64, while mysql and almost all other applications I know use hex
encoding.

This change would be fine for me, but it would be bad for existing
installations, as all existing hashes for all users in the user
repository would be unusable.

In order to avoid this I have thought of two different solutions:
1. To add an option in the userstore, where an administrator can specify
if he wants james to use bsae64 or hex encoding for hashes.
2. Create a script that can change all existing hashes from base64 to
hex encoding and forget base64 completely.

What would you choose? #1 is non intrusive as the default installation
option can be set to base64. #2 drops base64 completely and results in a
simpler auth mechanism.



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



Re: JAMES Server 3.0-M1 almost ready

2010-10-26 Thread Dhrubo
It can be done very well.
But I am a new bee and not a committer in this project.

Kind Regards... Dhrubo



On Tue, Oct 26, 2010 at 1:26 PM, Bernd Fondermann <
bernd.fonderm...@googlemail.com> wrote:

> (I might have missed some prior discussion, I apologize in this case)
> any non-technical reasons why this effort is not done here at Apache
> in the first place?
>
>  Bernd
>
> On Tue, Oct 26, 2010 at 07:44, Dhrubo  wrote:
> > Planning to name this as JAMESConsole - any other suggestion and feedback
> > welcome.
> > Kind Regards... Dhrubo
> >
> >
> >
> > On Tue, Oct 26, 2010 at 11:11 AM, Dhrubo  wrote:
> >
> >> Wonderful James. Your response is highly appreciated.
> >> I am forking your code and moving it to SF.net as I am more comfortable
> out
> >> there.
> >> As discussed by the veteran pros, I will be focusing on using JMX to
> >> connect and manage things. I guess using JMX abstraction will shield
> from db
> >> schema changes etc. This will soley be focused to James 3 and higher.
> >> I will try to reuse your code as far as possible.
> >>
> >> Kind Regards... Dhrubo
> >>
> >>
> >>
> >>
> >> On Tue, Oct 26, 2010 at 11:05 AM, Eric MacAdie 
> wrote:
> >>
> >>>  My web app project uses JSF and Hibernate to manage a James instance
> via
> >>> the database. It can add users, delete users, get stats on how many
> messages
> >>> are waiting to be read, and delete messages in the deadletter table. It
> uses
> >>> the current James schema. I don't know if the schema will change in
> James 3.
> >>> It is intended to be pretty small and usable by the "retail" user; I am
> >>> running James on a VPS account. I really don't have access to large
> >>> enterprise servers.
> >>>
> >>> If people want to modify it to use the James 3 schema or JMX, that is
> fine
> >>> with me.
> >>>
> >>> http://github.com/emacadie/James-Admin-Web-App
> >>>
> >>> Regards,
> >>> Eric MacAdie
> >>>
> >>>
> >>> On 10/26/2010 12:01 AM, Dhrubo wrote:
> >>>
>  Just as an update. I am still waiting for Eric who runs the admin
> project
>  on
>  github to respond.
>  I have set a deadline of this month to see if he gets time to respond.
>  Else
>  will start a new one (on source forge and may be added to apache in
>  future
>  if all agrees)
> 
> 
>  Kind Regards... Dhrubo
> 
> 
> 
>  On Tue, Oct 26, 2010 at 10:29 AM, Norman  wrote:
> 
>   Yes you are right.. it use spring as container..
> >
> > Bye,
> > Norman
> >
> > Am 26.10.2010 04:56, schrieb Dhrubo:
> >
> >  If I am not wrong, this new version is Spring and not Avalon?
> >
> >> Kind Regards... Dhrubo
> >>
> >>
> >>
> >> On Mon, Oct 25, 2010 at 11:14 PM, Norman Maurer
> >>  wrote:
> >>
> >>  Hi there,
> >>
> >>> just to keep you updated. Eric and me have now deployed current
> trunk
> >>> into production. If no problems popup within the next day I will
> cut a
> >>> VOTE on current trunk for M1.
> >>>
> >>> So stay tuned.
> >>>
> >>> Thx,
> >>> Norman
> >>>
> >>>
> -
> >>> 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
> >>>
> >>>
> >>
> >
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


Re: JAMES Server 3.0-M1 almost ready

2010-10-26 Thread Bernd Fondermann
(I might have missed some prior discussion, I apologize in this case)
any non-technical reasons why this effort is not done here at Apache
in the first place?

  Bernd

On Tue, Oct 26, 2010 at 07:44, Dhrubo  wrote:
> Planning to name this as JAMESConsole - any other suggestion and feedback
> welcome.
> Kind Regards... Dhrubo
>
>
>
> On Tue, Oct 26, 2010 at 11:11 AM, Dhrubo  wrote:
>
>> Wonderful James. Your response is highly appreciated.
>> I am forking your code and moving it to SF.net as I am more comfortable out
>> there.
>> As discussed by the veteran pros, I will be focusing on using JMX to
>> connect and manage things. I guess using JMX abstraction will shield from db
>> schema changes etc. This will soley be focused to James 3 and higher.
>> I will try to reuse your code as far as possible.
>>
>> Kind Regards... Dhrubo
>>
>>
>>
>>
>> On Tue, Oct 26, 2010 at 11:05 AM, Eric MacAdie  wrote:
>>
>>>  My web app project uses JSF and Hibernate to manage a James instance via
>>> the database. It can add users, delete users, get stats on how many messages
>>> are waiting to be read, and delete messages in the deadletter table. It uses
>>> the current James schema. I don't know if the schema will change in James 3.
>>> It is intended to be pretty small and usable by the "retail" user; I am
>>> running James on a VPS account. I really don't have access to large
>>> enterprise servers.
>>>
>>> If people want to modify it to use the James 3 schema or JMX, that is fine
>>> with me.
>>>
>>> http://github.com/emacadie/James-Admin-Web-App
>>>
>>> Regards,
>>> Eric MacAdie
>>>
>>>
>>> On 10/26/2010 12:01 AM, Dhrubo wrote:
>>>
 Just as an update. I am still waiting for Eric who runs the admin project
 on
 github to respond.
 I have set a deadline of this month to see if he gets time to respond.
 Else
 will start a new one (on source forge and may be added to apache in
 future
 if all agrees)


 Kind Regards... Dhrubo



 On Tue, Oct 26, 2010 at 10:29 AM, Norman  wrote:

  Yes you are right.. it use spring as container..
>
> Bye,
> Norman
>
> Am 26.10.2010 04:56, schrieb Dhrubo:
>
>  If I am not wrong, this new version is Spring and not Avalon?
>
>> Kind Regards... Dhrubo
>>
>>
>>
>> On Mon, Oct 25, 2010 at 11:14 PM, Norman Maurer
>>  wrote:
>>
>>  Hi there,
>>
>>> just to keep you updated. Eric and me have now deployed current trunk
>>> into production. If no problems popup within the next day I will cut a
>>> VOTE on current trunk for M1.
>>>
>>> So stay tuned.
>>>
>>> Thx,
>>> Norman
>>>
>>> -
>>> 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
>>>
>>>
>>
>

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



Hash encoding

2010-10-26 Thread Pavlos Georgiadis
Hello all,

I just made a tiny patch (attached) that solves the issue described in
jira JAMES-334. The problem is just that james encodes the hash in
base64, while mysql and almost all other applications I know use hex
encoding.

This change would be fine for me, but it would be bad for existing
installations, as all existing hashes for all users in the user
repository would be unusable.

In order to avoid this I have thought of two different solutions:
1. To add an option in the userstore, where an administrator can specify
if he wants james to use bsae64 or hex encoding for hashes.
2. Create a script that can change all existing hashes from base64 to
hex encoding and forget base64 completely.

What would you choose? #1 is non intrusive as the default installation
option can be set to base64. #2 drops base64 completely and results in a
simpler auth mechanism.


--
Pavlos

Index: user-library/pom.xml
===
--- user-library/pom.xml(revision 1026865)
+++ user-library/pom.xml(working copy)
@@ -73,5 +73,12 @@
   test
 
 
+
+   commons-codec
+   commons-codec
+   20041127.091804
+   jar
+   compile
+
   
 
Index: user-library/src/main/java/org/apache/james/user/lib/util/DigestUtil.java
===
--- user-library/src/main/java/org/apache/james/user/lib/util/DigestUtil.java   
(revision 1026865)
+++ user-library/src/main/java/org/apache/james/user/lib/util/DigestUtil.java   
(working copy)
@@ -21,10 +21,10 @@
 
 package org.apache.james.user.lib.util;
 
-import javax.mail.MessagingException;
 import javax.mail.internet.MimeUtility;
 
-import java.io.ByteArrayOutputStream;
+import org.apache.commons.codec.binary.Hex;
+
 import java.io.FileInputStream;
 import java.io.FileOutputStream;
 import java.io.IOException;
@@ -151,19 +151,13 @@
 throws NoSuchAlgorithmException  {
 
 MessageDigest md;
-ByteArrayOutputStream bos;
 
 try {
 md = MessageDigest.getInstance(algorithm);
 byte[] digest = md.digest(pass.getBytes("iso-8859-1"));
-bos = new ByteArrayOutputStream();
-OutputStream encodedStream = MimeUtility.encode(bos, "base64");
-encodedStream.write(digest);
-return bos.toString("iso-8859-1");
+return new String(Hex.encodeHex(digest));
 } catch (IOException ioe) {
 throw new RuntimeException("Fatal error: " + ioe);
-} catch (MessagingException me) {
-throw new RuntimeException("Fatal error: " + me);
 }
 }
 


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