Re: Call for vote: MIME4J 0.8.3

2019-03-22 Thread Eric Charles

+1

On 3/16/19 8:55 AM, Antoine Duprat wrote:

+1

Le jeu. 14 mars 2019 à 13:12, Garry Hurley  a
écrit :


I think you meant Thursday March 14 and Thursday March 21, but my vote is
+1

Sent from my iPhone


On Mar 14, 2019, at 5:55 AM, Benoit Tellier 

wrote:


+1


On 14/03/2019 16:44, Benoit Tellier wrote:
Hi,

I would like to propose the 0.8.3 release of the Apache MIME4J library.

You can see changes proposed to the website at the occasion
of that release, as well as communication on this GitHub pull request:
https://github.com/linagora/james-project/pull/2243

- The maven release staged in http://repository.apache.org/ as the
artifact #1043
- 0.8.3 sources and binaries are uploaded on Apache dist
https://dist.apache.org/repos/dist/release/james/mime4j/0.8.3/

Changes includes in this release:

- MIME4J-270: Using "alternative" as default subtype
- MIME4J-263: decoding encoded words with empty encoded-text
- MIME4J-279: Fixed JavaDoc errors to comply with Java8
- MIME4J-280: Improve exception handling
- MIME4J-283: DecoderUtil performance fix

Voting rules:
- This is a majority approval: this release may not be vetoed.
- A quorum of 3 binding votes is required
- The vote starts at Tuesday 14th of March 2019, 5pm UTC
- The vote ends at Tuesday 21th of March 2019, 5pm UTC

You can answer to it just with +1 and -1. Down-votes may be motivated.

Cheers,

Benoit Tellier

-
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: Call for vote: Apache James 3.2.0

2018-11-09 Thread Eric Charles

+1

downloaded tar from 
https://repository.apache.org/content/repositories/orgapachejames-1041/org/apache/james/james-server-app/3.2.0 
an ran a few basic operations (send, receive mails)


thx to all for this.

On 11/6/18 4:25 PM, Benoit Tellier wrote:

Hi,

I would like to propose the 3.2.0 release of the Apache James server.

You can see changes proposed to the website at the occasion
of that release, as well as communication on this GitHub pull request:
https://github.com/linagora/james-project/pull/1869

You can find:

  - The maven release staged in http://repository.apache.org/ as the
artifact #1041
  - 3.2.0 sources and binaries are uploaded on Apache dist. Please note
that we included JPA Guice and JPA SMTP guice.
  - The changelog for 3.2.0:
https://github.com/chibenwa/james-project/blob/3.2.0-release-doc/CHANGELOG.md
  - The compatibility instructions/upgrade recommendation:
https://github.com/chibenwa/james-project/blob/3.2.0-release-doc/upgrade-instructions.md

Voting rules:
  - This is a majority approval: this release may not be vetoed.
  - A quorum of 3 binding votes is required
  - The vote starts at Tuesday 6th of November 2018, 3pm30 UTC
  - The vote ends at Tuesday 13th of November 2018, 3pm30 UTC

You can answer to it just with +1 and -1. Down-votes may be motivated.

Cheers,

Benoit Tellier

-
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: Call for vote: Apache James 3.1.0

2018-08-02 Thread Eric Charles

fyi

Artifacts are under 
https://repository.apache.org/content/repositories/orgapachejames-1036/


Mail server packages (tar.gz / zip) are under 
https://repository.apache.org/content/repositories/orgapachejames-1036/org/apache/james/james-server-app/3.1.0/



On 08/01/2018 04:18 AM, Benoit Tellier wrote:

Hi,

I would like to propose the 3.1.0 release of the Apache James server.

Furthermore, you can see changes proposed to the website at the occasion
of that release, as well as communication on this GitHub pull request:
https://github.com/apache/james-project/pull/134

You can find:

  - The maven release staged in http://repository.apache.org/ as artifact
#1036
  - 3.1.0 sources and binaries are uploaded on Apache dist. Please note
that we included JPA Guice and JPA SMTP guice.

Voting rules:
  - This is a majority approval: this release may not be vetoed.
  - A quorum of 3 binding votes is required
  - The votes starts at Wednesday 1st of August, 2am UTC
  - The votes ends at Wednesday 8th of August, 2am UTC

You can answer to it just with +1 and -1. Down-votes may be motivated.

Cheers,

Benoit Tellier

-
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



Next Steps for James

2018-05-06 Thread Eric Charles

Hi James Community,

We have just discussed on the private list actions to further gain users 
and developers on the Apache James mail server.


The discussion started as we are slow to convert new contributors to 
committers and we have a slow release schedule.


I will summarize key points we have discussed. This is just a base to 
start the discussions and we really would love and need to hear your 
voice on this.


1. DOCS and TUTORIALS

- We have a new website but no easy tutorials.
- Which platform to use (readthedocs...?)
- Migrate/Close Wiki.

2. NOT ENOUGH HANDS? DROP NOT ENOUGH USED COMPONENTS

- We may have to do some choice: Drop some Mailbox implementations (JCR, 
HBase), some data backends (JCR, HBase, JDBC)


3. FULLY DISTRIBUTED

- Today James features (multiple mailbox implementations, configurable 
mailets, jmap access...) may not be enough to make the diff.
- It sounds like a fully distributed solution (potentially running on 
Kubernetes) could be a better differentiator. There is still work to 
achieve this (especially on the queuing level).


4. GSOC

- GSOC is an great way for new contributors,
- Any other options to attract newbies?

5. COMMUNICATION

- We don't use enough the available communication channels: Twitter, 
Apache Blog...
- We also don't communicate between us about the plans, pipeline... This 
is an action to fix this. Do we need to put a kanboard in place?


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



Re: Call for vote: MIME4J 0.8.2

2018-04-30 Thread Eric Charles

+1

Nexus artifacts are well published, source build fine and tests are 
successful.


Is there any change in the API/usage which would require an update of 
the docs ? (http://james.apache.org/mime4j/usage.html)



On 04/27/2018 10:59 AM, Benoit Tellier wrote:

Hi,

I would like to propose the 0.8.2 release of the MIME4J library.

This release solves the following bugs:

 - MIME4J-267 MIME4J DOM parsing errors on specific formats
 - MIME4J-273 Correcting encoder splitting point

The following feature were added:

 - MIME4J-269 Introduce a safe to use, PERMISSIVE configuration
 - MIME4J-268 DefaultMessageWriter: expose a convenient *asBytes* method
 - MIME4J-271 Make possible to define a Content-Type parameter
 - MIME4J-272 Implicit DOM builder call

Here are the link to the released artifacts (I will proceed to website
downloads once released):

 - https://repository.apache.org/#stagingRepositories Item #1025
 - Corresponding libraries available for download will be uploaded on
Apache mirrors once released.

Voting rules:
 - This is a majority approval: this release may not be vetoed.
 - A quorum of 3 binding votes is required
 - The votes starts at 9 am UTC on Friday 27 of April 2018
 - The votes ends at 9 am UTC on Friday 4 of May 2018

You can answer to it just with +1 and -1. Down-votes may be motivated.

Cheers,

Benoit Tellier

-
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: Call for vote: James skin 1.9

2018-01-30 Thread Eric Charles

Hi Benoit, Where is the link to the skin artifact?

On 01/16/2018 09:58 AM, Benoit Tellier wrote:

Hello every one.

I would like to call a vote for the 1.9 release of the Apache James
Website Skin.

# Rationals

Version 1.8 was released without the SVN binary property set on the logo
pictures. It resulted in 0 bytes images. The generation of the website
went through several additional steps, including to recompile the skin.

See: https://issues.apache.org/jira/browse/JAMES-2307

This release do not contain additional changes.

# Voting rules

Time period:
 - From Tuesday 16th January 2018 9am UTC
 - To Tuesday 23rd January 9am UTC

This is a majority approval vote:
 - This release can not be vetoed
 - Only PMC votes are binding but indicative non-binding votes are
encouraged
 - Answer this mail by +1 to approve the release or -1 to reject it.

Cheers,

Best regards,

-
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: Call to contributors

2018-01-30 Thread Eric Charles

Sounds good to me.

On 01/29/2018 10:26 AM, Benoit Tellier wrote:

Re: Call to contributors

As we lack specific contributions, we will deprecate MBoxMailRepository
and JCRMailRepository that do not match our standards. Their removal
will be planned for James 3.2.0 future release.

Contributions on these class are still welcome. Thus we still get a
chance to save them...

See also :
 - https://issues.apache.org/jira/browse/JAMES-827 `More fault resistent
version of MBoxMailRepository`
 - https://issues.apache.org/jira/browse/JAMES-2200 `Potential undefined
behavior in org.apache.james.mailrepository.file.MBoxMailRepository`

I will create a Jira task for the deprecation/rescue/remove process.

Cheers, and best regards,

Benoit

Le 17/01/2018 à 15:59, Matthieu Baechler a écrit :

Hi there,

With Antoine, Benoit and Raphael we are currently working on writing
MailRepository and MailQueue Cassandra implementations.

As we usually do, we started by covering these interfaces with some
contract testsuites : basically, we port all existing tests already
present and add some more to be sure we understand what the APIs
exactly do.

As an implementation detail, we switched to junit5 that allows us to
write Contrat test by using interfaces and default methods.

You can find our work for MailRepository here : https://github.com/lina
gora/james-project/pull/1237

File and JDBC implementations are not so bad, they pass most of the
testsuite and we opened tickets for problems we found.

Sadly, MBoxMailRepository and JCRMailRepository are far from working.

So, here is the call : we would like to find people willing to maintain
  MBoxMailRepository and JCRMailRepository in order to avoid their
removal from the codebase. Maybe FileMailRepository and
JDBCMailRepository would also benefits from some love too, even if
their state is good enough to keep these classes in the codebase for
now.

So please tell us by mail or on gitter if it's something you would like
to do.

In case nobody steps up, we'll probably plan a removal of
MBoxMailRepository and JCRMailRepository in a week or so.

Thank you for reading and enjoy free software, as usual !



-
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: Call for vote: Java 8 switch

2017-08-05 Thread Eric Charles

+1

Eric

On 08/04/2017 09:23 AM, Tellier Benoit wrote:

Hi everyone,

Today I would like to submit the following vote:

"Do you support a Java6 -> Java8 on all core James projects?"

Core projects includes:

 - Apache James mailbox
 - Apache James protocols
 - Apache James MPT
 - Apache James Mailet
 - Apache James Server

Note that they are already merged in the same Git repository:
https://github.com/apache/james-project

You can have a read of the underlying PR to get a better view of what
you will be voting for: https://github.com/linagora/james-project/pull/918

-

This vote follows the voting process for code changes as described in
https://www.apache.org/foundation/voting.html

Here is a quick summary:
  - You may react with "+1" "0" or "-1" to this email
  - Only PMC votes are considered as binding. Developers and committers
votes will be considered informative.
  - To be valid, "-1" needs to followed by technical explanations
  - "-1" are vetoes

Votes are open from 4th August 2017 11am45 UTC+7 until 11th August
11am45 UTC+7

Cheers,

Benoit Tellier


-
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: Migrating to java 8 for James 3.1.0

2017-07-28 Thread Eric Charles

Sure thing, I am in favor to require java-8 for james 3.1

On 26/07/17 11:48, Benoit Tellier wrote:

Hi,

I would like to re-launch the debate over Java 8 adoption by the James
project.

My proposal is to migrate james-project to java-8.

I would not mind keeping james-mime4J james-jsieve james-jspf and
james-jdkim either java-7 or java-6 (as they are externally used libraires)


Here are the rationals:

 - We maintain a java-6 and a java-8 build in parallel, which takes time
and energy (QA, boiler plate plugin in poms)

 - Java-6 don't allow advanced language features like Stream, lambdas,
futures and the like that both promise performance and code style
enhancements

 - Java-6 is forbidding us to upgrade many critical part of the James
architecture, namely Camel, ActiveMQ, OpenJPA (but much others). Not
upgrading these components both expose us to a security risk, and avoid
easy performance gain with upgrade. See JAMES-1957 for instance.

 - Nowadays, some pseudo functional code is written with Guava
(Collections, optionals, etc...). Guava versions clash for instance
cripple HBase implementation. By switching to Java-8, we can replace
much of the Guava's related code by java-8 code, thus decreasing chances
of conflicts.

 - As James is also shipped with docker, users relying on docker can
switch without further changes. They just need to used the newer shipped
image.


Working daily for years on the James project, this would be a huge
improvement in my daily developer's life.

Could we discuss this proposal, so that we can soon schedule a vote?

Mrs Quynh and I also plan to make some proposal, and start migrating the
code during the month of August.

Best regards,

Benoit Tellier

-
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: Apache James 3.0.0

2017-07-28 Thread Eric Charles

It has been a lng road.

Thanks to all developers, users and contributors, the ones of years ago 
and those of today.


Eric


On 25/07/17 14:49, aduprat wrote:

The Apache James project is happy to announce the release of version
3.0.0 of its modular mail server.

After a long work, the team is really proud to announce the new release,
James 3.0.
This new version of the Apache James Server introduces many new
features, like the IMAP protocol, experimental Sieve support,
experimental JMAP support, and new email storage back-ends.

Feel free to test this release and contact us on the mailing list or on
gitter (https://gitter.im/apache/james-project)


Cheers,
Antoine


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-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: Release james-server into 3.0.0 (second vote)

2017-07-11 Thread Eric Charles

+1

src build and tests are OK
distribution works fine with default configuration

Eric


On 07/07/17 13:25, Tellier Benoit wrote:

Hello every one,

I'm very very very happy to announce the second vote for the upcoming
3.0.0 version of our beloved James server.

You can access sources on GitHub:

https://github.com/apache/james-project/releases

Nexus artifact to be released can be found here :
https://repository.apache.org/#stagingRepositories

It is number #1017

Moreover I uploaded compiled zip, along with md5 and sha1 sums, all signed.

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip
http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sig
http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.md5
http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.md5.sig
http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sha1
http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sha1.sig

These artifact include corrections on the READMEs and are shipped with a
default configuration, that works out of the box.

According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters
 - This release can't be vetoed

Followhttp://www.apache.org/dev/release.html  for more details.

To vote, you can reply to this email with

+1

If you accept the release

-1

If you reject the release

Votes will close on Friday 14th July 2017, 6pm CEST.

Regards,

Antoine Duprat

-
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: Release james-server into 3.0.0

2017-07-04 Thread Eric Charles

Tests and readme are OK to me.

The conf folder is only populated with -template.xml - IMHO we should 
provide upon the template a full set of default configuration xml files 
so that the server starts out-of-the-box.


On 04/07/17 14:03, Benoit Tellier wrote:

Hi Eric,

My answers inlined.

Cheers,

Benoit

Le 04/07/2017 à 17:41, Eric Charles a écrit :

I have successfully built with skipTests

With tests enabled, it failed two times (one at es module, the other
at the web integration module) to finally succeed after relaunch. This
can be considered and flaky tests and is good to me.

We got a green build: https://james.open-paas.org/


However, when I launch the binary distribution without any change, I
get and exception [1], which is a blocker to me.

You are missing a configuration file:

Caused by: org.apache.commons.configuration.ConfigurationException:
Unable to load configuration for component indexer

Please have a look to the docker sample configuration :
https://github.com/apache/james-project/tree/master/dockerfiles/run/spring/destination/conf

Moreover, these files are included in sample configuration:
https://github.com/apache/james-project/tree/master/server/app/src/main/resources

So it is in my opinion not a blocker. Thus it do not require any fix.



Can we fix this, I will try again, and then relaunch a vote?

Also, there are 3 README is the top folder of the distribution tarball:
README
README.crypto
README.txt

README.crypto is fine, but content of the 2 other don't help a
new-comer to start (no information on how to start the server, read
the logs...) - Ideally we should just have a README.md.

The base repository exposed on the website does only have one readme:
https://github.com/apache/james-project/

Concerning the READMEs you points (which needs code navigation from
james-project), they are clearly oudated. I would advocate deleting them.

https://github.com/apache/james-project/blob/master/server/Overview.md
Is a duplicate from website content.
https://github.com/apache/james-project/blob/master/server/README.txt Also
https://github.com/apache/james-project/blob/master/server/NOTICE is a
duplicate for LICENSE
https://github.com/apache/james-project/blob/master/server/BUILD.txt do
not seem useful. It is less detailed than
https://github.com/apache/james-project/blob/master/README.adoc

However, should we really delay the release for issues not related to
the issue? (and thus not bundled with it?) This can be fixed on the
master branch, which is the first one seen when reaching github, even if
handled after 3.0.

See the related JIRA https://issues.apache.org/jira/browse/JAMES-2088 .



Thx, Eric


INFO  12:35:07,284 |
org.apache.james.container.spring.context.JamesServerApplicationContext
| Refreshing
org.apache.james.container.spring.context.JamesServerApplicationContext@60c5aa8d:
startup date [Tue Jul 04 12:35:07 CEST 2017]; root of context hierarchy
WARN  12:35:08,626 |
org.apache.james.container.spring.context.JamesServerApplicationContext
| Exception encountered during context initialization - cancelling
refresh attempt
org.springframework.beans.FatalBeanException: Unable to config the
indexer; nested exception is
org.apache.commons.configuration.ConfigurationException: Unable to
load configuration for component indexer
at
org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:70)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
at
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
at
org.apache.james.container.spring.context.JamesServerApplicationContext.(JamesServerApplicationContext.java:40)
at
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
at
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.configuration.ConfigurationException:
Unable to load configuration for component indexer

Re: Release james-server into 3.0.0

2017-07-04 Thread Eric Charles

I have successfully built with skipTests

With tests enabled, it failed two times (one at es module, the other at 
the web integration module) to finally succeed after relaunch. This can 
be considered and flaky tests and is good to me.


However, when I launch the binary distribution without any change, I get 
and exception [1], which is a blocker to me.


Can we fix this, I will try again, and then relaunch a vote?

Also, there are 3 README is the top folder of the distribution tarball:
README
README.crypto
README.txt

README.crypto is fine, but content of the 2 other don't help a new-comer 
to start (no information on how to start the server, read the logs...) - 
Ideally we should just have a README.md.


Thx, Eric


INFO  12:35:07,284 | 
org.apache.james.container.spring.context.JamesServerApplicationContext 
| Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@60c5aa8d: 
startup date [Tue Jul 04 12:35:07 CEST 2017]; root of context hierarchy
WARN  12:35:08,626 | 
org.apache.james.container.spring.context.JamesServerApplicationContext 
| Exception encountered during context initialization - cancelling 
refresh attempt
org.springframework.beans.FatalBeanException: Unable to config the 
indexer; nested exception is 
org.apache.commons.configuration.ConfigurationException: Unable to load 
configuration for component indexer
	at 
org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:70)
	at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
	at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
	at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
	at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
	at 
org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
	at 
org.apache.james.container.spring.context.JamesServerApplicationContext.(JamesServerApplicationContext.java:40)
	at 
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
	at 
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)
	at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)

at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.configuration.ConfigurationException: 
Unable to load configuration for component indexer
	at 
org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
	at 
org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:47)

... 14 more

On 30/06/17 09:22, aduprat wrote:

Hello every one,

I'm very very very happy to announce the vote for the upcoming 3.0.0
version
of our beloved james server.

You can access sources on github

https://github.com/apache/james-project/releases

Nexus artifact to be released can be found here :
https://repository.apache.org/#stagingRepositories

It is number #1017

Moreover I uploaded compiled zip, along with md5 and sha1 sums, all signed.

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sig

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.md5

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.md5.sig

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sha1

http://www.apache.org/dist/james/server/3.0.0/james-server-app-3.0.0-app.zip.sha1.sig


According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters
 - This release can't be vetoed

Followhttp://www.apache.org/dev/release.html  for more details.

To vote, you can reply to this email with

+1

If you accept the release

-1

If you reject the release

Votes will close on Monday 7th July 2017, 9am CET.

Regards,

Antoine Duprat




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



[jira] [Closed] (MAILBOX-45) [gsoc2011] Design and Implement Mailbox with NoSQL Storage

2017-06-27 Thread Eric Charles (JIRA)

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

Eric Charles closed MAILBOX-45.
---
Resolution: Fixed

> [gsoc2011] Design and Implement Mailbox with NoSQL Storage
> --
>
> Key: MAILBOX-45
> URL: https://issues.apache.org/jira/browse/MAILBOX-45
> Project: James Mailbox
>  Issue Type: New Feature
>    Reporter: Eric Charles
>Assignee: Norman Maurer
>  Labels: gsoc2011
>
> Context: The mailbox subproject (http://james.apache.org/mailbox/) supports 
> maildir, SQL database (via JPA) and Java Content Repository (JCR) as 
> technology for mail storage. This flexibility is achieved thanks to a API 
> design that abstracts mail storage from the mail protocols.
> Task: NoSQL storage (for example CouchDB or Cassandra) has great potential 
> for mail storage. Design and develop an suitable RESTful integration API and 
> implementations for as many NoSQL targets as possible in the time.
> Mentor: rdonkin at apache dot org
> Complexity: easy 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



Re: Call for vote: JSIEVE version 0.7

2017-06-22 Thread Eric Charles

+1

Eric

On 16/06/17 10:07, aduprat wrote:

Hello,

I would like to call a vote for JSieve release.

This release includes:

 - Some header sanitizing (unwrap + decode)
 - An added action for Discarding a mail. This allow easier use of
JSieve library as this handling is no more implicit.

This release is a requirement for James 3.0 upcoming release (we should
not depend on SNAPSHOT dependencies).

This is a majority approval, as described in
http://www.apache.org/foundation/glossary.html#MajorityApproval? As a
reminder:

 - 3 binding +1 required (PMC)
 - Majority of +1
 - This can not be vetoed

You can check the maven release artifact:
 - https://repository.apache.org/#stagingRepositories #1015

Answer this email with:
 +1 to promote the release
 -1 to reject the release

The starts from 10 am 30 16th June 2017 UTC+2 and will be closed on 10
am 30 23th June 2017 UTC+2 (one week)

Best regards,

Antoine Duprat

-
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: Call for vote: mime4J version 0.8.1

2017-06-13 Thread Eric Charles

+1

Thank you Benoit,

Eric

On 09/06/17 05:09, Benoit Tellier wrote:

Hello,

I would like to call a vote for a mime4J release.

This release includes:

 - Work on the MIME4J DOM date:
   - provide a way to know the header Date is absent
   - correction of header parsing when century is absent

This release is a requirement for James 3.0 upcoming release (we should
not depend on SNAPSHOT dependencies).

This is a majority approval, as described in
http://www.apache.org/foundation/glossary.html#MajorityApproval. As a
reminder:
 - 3 binding +1 required (PMCs)
 - Majority of +1
 - This can not be vetoed

You can check the maven release artifact:
 - https://repository.apache.org/#stagingRepositories #1013

Answer this email with:
 +1 to promote the release
 -1 to reject the release

The starts from 10 am 9th June 2017 UTC+7 and will be closed on 10 am
16th June 2017 UTC+7 (one week)

Best regards,

Tellier Benoit

-
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: Release james-server into 3.0.0-RC1

2017-05-22 Thread Eric Charles

+1

On 10/05/17 20:25, aduprat wrote:

Hello every one,

I'm very happy to announce the vote for the upcoming 3.0.0-RC1 version
of our beloved james server.

You can access sources on github

https://github.com/apache/james-project/releases

Nexus artifact to be released can be found here :
https://repository.apache.org/#stagingRepositories

It is number #1012

Moreover I uploaded compiled zip, along with md5 and sha1 sums, all signed.

http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip
http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip.asc

http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip.md5

http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip.md5.asc

http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip.sha1

http://www.apache.org/dist/james/server/james-server-app-3.0.0-RC1-app.zip.sha1.asc


According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters
 - This release can't be vetoed

Followhttp://www.apache.org/dev/release.html  for more details.

To vote, you can reply to this email with

+1

If you accept the release

-1

If you reject the release

Votes will close on Monday 15th May 2017, 8am CET.

Regards,

Antoine Duprat




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



Re: Call for vote: new website

2017-04-25 Thread Eric Charles

+1

On 21/04/17 13:07, Tellier Benoit wrote:

Hello,

After a one week feedback period, as discussed in a previous email, I would 
like to trigger a one week voting period for release of the new version of the 
website.

The changes includes:

 - A new responsive, modern and appealing homepage for the James project
 - We keep the main website the same but:
   - We improve side menu navigation with a single side menu, all across
the website
   - Make top menu consistent
   - We revisited some critical pages, and tried to make it more consistent
   - Remove most stable
   - We re-wrote pages about performance, migration support, etc...
   - Landing page of old website have been made more user friendly.
 - News have been moved to homepage

The improvement of the website is an important milestone towards James
3.0 release.

You can view the result online: http://62.210.100.33

React with +1 if you support this claim.

React with -1 if you reject it.

This is a Majority Approval Vote. PMC members are invited to participate to it.

We will conclude it on the 28th of April 2017, 1pm UTC.

Cheers,

Benoit Tellier


-
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] [Commented] (JAMES-1932) Mailet pipeline ui edition tool

2017-04-05 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15956669#comment-15956669
 ] 

Eric Charles commented on JAMES-1932:
-

[~shravan97] I'd love to see react.js as javascript framework for you gsoc. Is 
this something possible to consider? 
(https://cdn.rawgit.com/shravan97/web_game/c90b1d74/mailet.html does not seem 
to have this)

> Mailet pipeline ui edition tool
> ---
>
> Key: JAMES-1932
> URL: https://issues.apache.org/jira/browse/JAMES-1932
> Project: James Server
>  Issue Type: Task
>Reporter: Matthieu Baechler
>  Labels: backend, frontend, gsoc2017, java, js, json, rest, sse
>
> James has to concept of mailet pipeline : for any incoming email, the email 
> is passing through the pipeline the is made of matchers and mailets. These 
> components allow to implement business rules based on some xml configuration 
> and some java component.
> That's a great strength of James and a lot of people use it for this 
> capability.
> Nevertheless, editing the pipeline and making tests is painful right now, you 
> are left finding solutions like "edit xml, launch server, send an email, read 
> logs".
> To ease adoption, we would like to make that process easy and fun by :
> * providing a web ui frontend to design the pipeline
> * given a set of emails, make it possible to visualise each email flow into 
> the mailet pipeline to test it
> * define a way to express the expected results to make sure people can save 
> their work into automated tests
> To implement that, the student must know enough about web frontend dev to 
> implement a pipeline designer and debugger.
> She or he will need to know some java to implement server side logic for :
> * make james accept to reconfigure its pipeline at runtime to take 
> modifications into account
> * design a protocol to stream debug data from a pipeline to the web ui and 
> implement it server-side in java
> * implement a junit runner to be able to run some special mailet tests based 
> on the work done in the web designer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (PROTOCOLS-73) Move imap code into protocols

2017-03-14 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTOCOLS-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15924412#comment-15924412
 ] 

Eric Charles commented on PROTOCOLS-73:
---

imap code is merged into protocols, so 
https://svn.apache.org/repos/asf/james/imap/  can be removed

> Move imap code into protocols
> -
>
> Key: PROTOCOLS-73
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-73
> Project: James Protocols
>  Issue Type: New Feature
>  Components: imap
>Affects Versions: 1.6.0-RC1
>Reporter: Norman Maurer
>Assignee: Norman Maurer
> Fix For: 2.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



Re: Fwd: Release org.apache.james:apache-mime4j-project into 0.8.0

2016-10-15 Thread Eric Charles
+1 for 
https://repository.apache.org/content/repositories/orgapachejames-1008/


On 12/10/16 13:15, Tellier Benoit wrote:


Hello every one,

As you may know, we want to release James 3.0.0-beta5. This release
demands us to remove every SNAPSHOT dependency, including the one to MIME4J.

You can access sources on github.

Nexus artifact to be released can be found here :
https://repository.apache.org/#stagingRepositories

It is number #1008

According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters
 - This release can't be vetoed

Follow http://www.apache.org/dev/release.html for more details.

To vote, you can reply to this email with

+1

If you accept the release

-1

If you reject the release

Votes will close on Saturtay 15th October 2016, 2pm CEST.

Regards,

Benoit Tellier

Developer at Linagora


-
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: Release org.apache.james:apache-jspf-project into 1.0.1

2016-10-15 Thread Eric Charles
+1 for 
https://repository.apache.org/content/repositories/orgapachejames-1006/



On 11/10/16 16:04, Benoit Tellier wrote:


Hello every one,

As you may know, we want to release James 3.0.0-beta5. This release
demands us to remove every SNAPSHOT dependency, including the one to JSPF.

You can access sources on github.

Nexus artifact to be released can be found here :
https://repository.apache.org/#stagingRepositories

It is number #1006

According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters
 - This release can't be vetoed

Follow http://www.apache.org/dev/release.html for more details.

To vote, you can reply to this email with

+1

If you accept the release

-1

If you reject the release

Votes will close on friday 14th October 2016, 4pm CEST.

Regards,

Benoit Tellier

Developer at Linagora


-
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: Release org.apache.james:james-skin into 1.8

2016-10-15 Thread Eric Charles
I see the 1006, 1007 and 1008 repos but they don't contain the 
james-skin artifact.


On 10/10/16 16:03, Benoit Tellier wrote:

Hello every one,

As you may know, I worked recently in order to change logo for James
website. Changing logos required James-skin project (which defines
theme, and header top images).

To be used by other parts of the project, it needs to be released. Hence
this proposal as release candidate.

You can access sources using :
  - svn checkout https://svn.apache.org/repos/asf/james/skin skin_https

  - Nexus artifact to be released :
https://repository.apache.org/#stagingRepositories

According to Release policy, we need a majority vote :
 - At least 3 PMC
 - A majority of voters

 - This release can't be vetoed

Follow http://www.apache.org/dev/release.html for more details.

To vote, you can reply to this eMail with

+1

If you accept the release

-1

If you reject the release

Regards,

Benoit Tellier

Developper at Linagora


-
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 logo – the Vote is Open

2016-09-27 Thread Eric Charles

+1 for logo 10.

Thx to all contributors.


On 26/09/16 16:04, Laura Royet wrote:

Hi everyone,

This emails opens the *single vote ballot* for *James log**o*.
Below are the detailed explanation.

**Who ca**n vote :* all the recipients of this email.
Deadline :Monday, 3 October 2016 at 18:00 UTC*.

*How to vo**te :
**You have two options : **choosing**one of the **proposals between the
10 submitted *on : http://james.apache.org/#tabs-4 or *give a blank vote*.

*So please complete the appropriate field below **:*
* VOTE FOR LOGO NUMBER:
* AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :



The proposal collecting the most votes will become James new logo!

Thank you in advance for participating.

Regards,

Laura




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



Re: JAMES Acronym

2016-09-26 Thread Eric Charles
The case should be reflected in the logo.
So voting for logo implies voting for a case.

On Mon, Sep 26, 2016 at 10:52 AM, Laura Royet <lro...@linagora.com> wrote:

> Hi Eric,
>
> Thank you for your answer.
> Could you tell me if you learn more about this?
>
> Thanks
>
> Regards,
>
> Laura
>
>
> Le 24/09/2016 à 10:38, Eric Charles a écrit :
>
>> Yep, you got it.
>>
>> We also considered some time ago moving from upper-case "JAMES" to
>> "James".
>>
>> No sure if we concluded with a consensus for this...
>>
>> On 22/09/16 16:47, Laura Royet wrote:
>>
>>> Hi everyone,
>>>
>>> I have finally found the answer in James website
>>> (http://james.apache.org/server/archive/document_archive.html).
>>> *JAMES* is the acronym for *Java Apache Mail Enterprise Server*.
>>>
>>> Regards,
>>>
>>> Laura
>>>
>>>
>>> Le 19/09/2016 à 17:14, Laura Royet a écrit :
>>>
>>>> Hi everybody,
>>>>
>>>> As I am currently working on the project of a marketing website for
>>>> James,
>>>> I am wondering if the name "*JAMES*" is an acronym for *JA*va *M*ail
>>>> *E*nterprise *S*erver ?
>>>>
>>>> Thanks in advance for your help.
>>>>
>>>> Regards,
>>>>
>>>> laura
>>>>
>>>>
>>>>
>>>
>>>
>> -
>> 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 for James Logo

2016-09-26 Thread Eric Charles
Sure, Laura can start the vote.


On Sun, Sep 25, 2016 at 8:31 PM, Matthieu Baechler <mbaech...@linagora.com>
wrote:

> Hi Eric,
>
> Good to read you on the list !
>
> Laura proposed a vote that include all valid proposals. Would you agree to
> launch this vote now ?
>
> Cheers,
>
> --
> Matthieu Baechler
>
> Le 24/09/2016 à 10:42, Eric Charles a écrit :
>
>> To clarify, are you considering to launch a vote to choose between one of
>> the 10 listed logos on the home page, or just getting approval on the last
>> one?
>>
>> To respect all our contributors, I would select all logos for which we
>> have SVG source files as previously asked, and propose a vote to choose one
>> of these.
>>
>> On 16/09/16 13:48, Ioan Eugen Stan wrote:
>>
>>> Great, It looks nice.
>>>
>>> I agree, we should make a decision and close the issue.
>>>
>>> Thanks,
>>>
>>>
>>> On 16.09.2016 11:57, Laura Royet wrote:
>>>
>>>> Hi everybody,
>>>>
>>>> I have just proposed a new logo for the logo contest. It is up to date
>>>> with new Apache visual identity. I don’t know if anybody want to submit
>>>> another logo, the process is pending for some time now.
>>>> Could we just launch the vote now ?
>>>> Maybe we could include a « None of the above » choice to the vote to
>>>> make sure we don’t close this subject too fast and people that are not
>>>> satisfied by the situation could express their voice by this way ?
>>>>
>>>> Thank youvery much for your involvement.
>>>>
>>>> Regards,
>>>> Laura Royet
>>>>
>>>>
>>>>
>>>> -
>>>> 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
>
>


Website on GIT with gitpubsub

2016-09-24 Thread Eric Charles

Web site is now in GIT (trying to get it published with gitpubsub)

You can follow the progress on

https://issues.apache.org/jira/browse/INFRA-12204



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



Re: Vote for James Logo

2016-09-24 Thread Eric Charles
To clarify, are you considering to launch a vote to choose between one 
of the 10 listed logos on the home page, or just getting approval on the 
last one?


To respect all our contributors, I would select all logos for which we 
have SVG source files as previously asked, and propose a vote to choose 
one of these.


On 16/09/16 13:48, Ioan Eugen Stan wrote:

Great, It looks nice.

I agree, we should make a decision and close the issue.

Thanks,


On 16.09.2016 11:57, Laura Royet wrote:

Hi everybody,

I have just proposed a new logo for the logo contest. It is up to date
with new Apache visual identity. I don’t know if anybody want to submit
another logo, the process is pending for some time now.
Could we just launch the vote now ?
Maybe we could include a « None of the above » choice to the vote to
make sure we don’t close this subject too fast and people that are not
satisfied by the situation could express their voice by this way ?

Thank youvery much for your involvement.

Regards,
Laura Royet



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

2016-09-24 Thread Eric Charles

Yep, you got it.

We also considered some time ago moving from upper-case "JAMES" to "James".

No sure if we concluded with a consensus for this...

On 22/09/16 16:47, Laura Royet wrote:

Hi everyone,

I have finally found the answer in James website
(http://james.apache.org/server/archive/document_archive.html).
*JAMES* is the acronym for *Java Apache Mail Enterprise Server*.

Regards,

Laura


Le 19/09/2016 à 17:14, Laura Royet a écrit :

Hi everybody,

As I am currently working on the project of a marketing website for
James,
I am wondering if the name "*JAMES*" is an acronym for *JA*va *M*ail
*E*nterprise *S*erver ?

Thanks in advance for your help.

Regards,

laura







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



Re: Rename README.txt to README.md?

2016-09-24 Thread Eric Charles

Renaming is a good quick win.

Shall we write new documentation in markdown?

On 23/09/16 11:52, Matthieu Baechler wrote:

Thanks for the suggestion, it's some asciidoc actually, see
https://github.com/linagora/james-project/pull/416 .

The rendering is way better !


Regards,



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



james-project git commit: Ensure last logo-10 proposal is displayed on web site when clicked

2016-09-24 Thread eric
Repository: james-project
Updated Branches:
  refs/heads/master 3c8c176a0 -> 2bfe6ce59


Ensure last logo-10 proposal is displayed on web site when clicked


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/2bfe6ce5
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/2bfe6ce5
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/2bfe6ce5

Branch: refs/heads/master
Commit: 2bfe6ce593dbe4b6d0dee0d1c376405cd7f00a26
Parents: 3c8c176
Author: Eric Charles <e...@datalayer.io>
Authored: Sat Sep 24 10:23:40 2016 +0200
Committer: Eric Charles <e...@datalayer.io>
Committed: Sat Sep 24 10:23:40 2016 +0200

--
 src/site/resources/js/james/index.js | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/2bfe6ce5/src/site/resources/js/james/index.js
--
diff --git a/src/site/resources/js/james/index.js 
b/src/site/resources/js/james/index.js
index 4727e20..da302a7 100644
--- a/src/site/resources/js/james/index.js
+++ b/src/site/resources/js/james/index.js
@@ -75,6 +75,10 @@ function initIndexPage() {
 switchLogo('logo-call/james-logo-9.png');
 });
 
+$('#james-logo-10-preview').click(function() {
+switchLogo('logo-call/james-logo-10.png');
+});
+
 if (window.location.hash == '#logo') {
selectLogoTab();
 }


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



Re: Git Repos

2016-07-03 Thread Eric Charles

What about http://james.apache.org/contribute.html where we could also
introduce the different repositories and explain the overall
architecture of the James project and how we accept pull requests from
github.

Any thoughts?


The website needs a lot of love. Thank you for taking your time to go
through all these tasks that need to be done.



This can be followed on JAMES-1789 (consolidate documentation) and 
INFRA-12204 (Migrate James website from svnpubsub to the git workflow)


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



[jira] [Created] (JAMES-1789) Consolidate Documentation

2016-07-03 Thread Eric Charles (JIRA)
Eric Charles created JAMES-1789:
---

 Summary: Consolidate Documentation
 Key: JAMES-1789
 URL: https://issues.apache.org/jira/browse/JAMES-1789
 Project: James Server
  Issue Type: Sub-task
  Components: Documentation
Reporter: Eric Charles
Assignee: Eric Charles


We have a few places with mixed valid, depreacated and invalid content

http://james.apache.org/server/3/dev-build.html which is well updated.

However http://james.apache.org/mime4j/start/build.html still refers to
the svn tree.

What about http://james.apache.org/contribute.html where we could also
introduce the different repositories and explain the overall
architecture of the James project and how we accept pull requests from
github.

This task tracks initiative to migrate content to the website.

I have also create INFRA-12204 to migrate the site from svn to git.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: Git Repos

2016-07-03 Thread Eric Charles

I have opened INFRA-12203 to remove the unused repos from github.

@manolo can you confirm james-hupa should migrate to git (and github)?

On 07/06/16 10:17, Echo wrote:

I guess Hupa can also be migrated to git. Need manolo's confirm.

On Tue, Jun 7, 2016 at 1:36 AM, Eric Charles <e...@apache.org> wrote:


Will open a few INFRA JIRA for this and begin migrating wiki to website.

For Hupa, there is still some recent activity. Manolo, Echo, Emma, dongxu,
what are your plans for Hupa?


On 06/06/16 16:57, Ioan Eugen Stan wrote:


Hello Eric,

On 29.05.2016 10:39, Eric Charles wrote:


Looking at the git repos:


https://git-wip-us.apache.org/repos/asf?a=project_list=james=Search
+ james-jdkim.git
+ james-jsieve.git
+ james-jspf.git
+ james-mime4j.git
+ james-postage.git
+ james-project.git

https://github.com/apache/?utf8=%E2%9C%93=james
+ james-project
+ james-mime4j
+ james-jsieve
+ james-jdkim
+ james-postage
+ james-jspf
+ james (*)
+ james-mpt (*)
+ james-mailbox (*)
+ james-protocols (*)
+ james-mailet (*)
+ james-hupa (**)
+ james-app (*)
+ james-imap (*)

(*) I propose to ask infra to remove the ones listed with a (*)



I agree with cleaning things up. If users can contribute to those
projects via another path (and I saw a lot of projects are merged in the
james-project), please go for it.

Keep it simple :).

A special case the james-hupa - Should we migrate it also to git?
Seems kind of dead. I would migrate it out of principle or ignore it
alltogether. If there are no users, we could reitre it. WDYT?



About the doc, I see for example
http://james.apache.org/server/3/dev-build.html which is well updated.

However http://james.apache.org/mime4j/start/build.html still refers to
the svn tree.

What about http://james.apache.org/contribute.html where we could also
introduce the different repositories and explain the overall
architecture of the James project and how we accept pull requests from
github.

Any thoughts?


The website needs a lot of love. Thank you for taking your time to go
through all these tasks that need to be done.

Regards,



-
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



[jira] [Commented] (JAMES-1091) Call for new logo

2016-07-03 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15360473#comment-15360473
 ] 

Eric Charles commented on JAMES-1091:
-

Can you add the source (SVG if possible) of the logo proposals?
What about adding the other proposals listed on the home page (for these, we 
don't have the src)?

> Call for new logo
> -
>
> Key: JAMES-1091
> URL: https://issues.apache.org/jira/browse/JAMES-1091
> Project: James Server
>  Issue Type: Sub-task
>Affects Versions: 3.0.0
>Reporter: Eric Charles
>Assignee: Ioan Eugen Stan
> Fix For: 3.0.0
>
>
> We already have some great contribution for a new james logo on 
> http://propositum.biz/james.html
> We should express a bit more the requirements (apache mention, different 
> types of logo,...).
> If we really have many contributions and different preferences from the 
> community, we also may propose a vote for the final choice.
> Up-to your imagination and favorite drawing tool !!!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: Git Repos

2016-06-06 Thread Eric Charles

Will open a few INFRA JIRA for this and begin migrating wiki to website.

For Hupa, there is still some recent activity. Manolo, Echo, Emma, 
dongxu, what are your plans for Hupa?


On 06/06/16 16:57, Ioan Eugen Stan wrote:

Hello Eric,

On 29.05.2016 10:39, Eric Charles wrote:

Looking at the git repos:

https://git-wip-us.apache.org/repos/asf?a=project_list=james=Search
+ james-jdkim.git
+ james-jsieve.git
+ james-jspf.git
+ james-mime4j.git
+ james-postage.git
+ james-project.git

https://github.com/apache/?utf8=%E2%9C%93=james
+ james-project
+ james-mime4j
+ james-jsieve
+ james-jdkim
+ james-postage
+ james-jspf
+ james (*)
+ james-mpt (*)
+ james-mailbox (*)
+ james-protocols (*)
+ james-mailet (*)
+ james-hupa (**)
+ james-app (*)
+ james-imap (*)

(*) I propose to ask infra to remove the ones listed with a (*)



I agree with cleaning things up. If users can contribute to those
projects via another path (and I saw a lot of projects are merged in the
james-project), please go for it.

Keep it simple :).


A special case the james-hupa - Should we migrate it also to git?


Seems kind of dead. I would migrate it out of principle or ignore it
alltogether. If there are no users, we could reitre it. WDYT?



About the doc, I see for example
http://james.apache.org/server/3/dev-build.html which is well updated.

However http://james.apache.org/mime4j/start/build.html still refers to
the svn tree.

What about http://james.apache.org/contribute.html where we could also
introduce the different repositories and explain the overall
architecture of the James project and how we accept pull requests from
github.

Any thoughts?


The website needs a lot of love. Thank you for taking your time to go
through all these tasks that need to be done.

Regards,



-
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: Actions for V3 release

2016-06-04 Thread Eric Charles

Impressive work Benoit.

https://github.com/chibenwa/james-project/blob/v3.0_roadmap/v3.0_mailet_inventory.adoc

- What does "Tested" mean for you (unit test, user test...)?
- Matchers /mailet/standard has some formatting issues
- IsInWhiteList: SQL specific stuff: does it mean it does not work at 
all - The SQL may be inline with the JPA entities.


https://github.com/chibenwa/james-project/blob/v3.0_roadmap/v3.0_roadmap.adoc

- Do we need a new logo and website to release (I agree we need to do 
something, but it should not block v3).
- Maildir is flagged unsupported (Known issue on MailboxPath handling). 
Does it mean it is not usable in current state?


How can we further work on the docs in a collaborative way? We have for 
now a web site, a wiki (http://wiki.apache.org/james/) and now pages on 
github. Any visitor will be confused with this.


If we can define the recipe for doc (the default one being the current 
svn site where you can write markdown), I can help migrating content to it.



On 03/06/16 12:01, Benoit Tellier wrote:

Hi Eric,

We took a few day to debate internally about what should be done, and we
opened a Pull Request with our proposals :

https://github.com/apache/james-project/pull/42

Every one is welcome to debate on this pull request about what should be
the scope of this release. Then we will be able to create the related
JIRA tickets.

Regards,

Benoit

Le 29/05/2016 à 14:42, Eric Charles a écrit :

What would be our plan for V3 release?
Any volunteer to act as release manager?

On my side, I prefer acting on some specific jiras rather than as
release manager.

-
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



Actions for V3 release

2016-05-29 Thread Eric Charles

What would be our plan for V3 release?
Any volunteer to act as release manager?

On my side, I prefer acting on some specific jiras rather than as 
release manager.


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



Git Repos

2016-05-29 Thread Eric Charles

Looking at the git repos:

https://git-wip-us.apache.org/repos/asf?a=project_list=james=Search
+ james-jdkim.git
+ james-jsieve.git
+ james-jspf.git
+ james-mime4j.git  
+ james-postage.git
+ james-project.git

https://github.com/apache/?utf8=%E2%9C%93=james
+ james-project
+ james-mime4j
+ james-jsieve
+ james-jdkim
+ james-postage
+ james-jspf
+ james (*)
+ james-mpt (*)
+ james-mailbox (*)
+ james-protocols (*)
+ james-mailet (*)
+ james-hupa (**)
+ james-app (*)
+ james-imap (*)

(*) I propose to ask infra to remove the ones listed with a (*)

A special case the james-hupa - Should we migrate it also to git?

About the doc, I see for example
http://james.apache.org/server/3/dev-build.html which is well updated.

However http://james.apache.org/mime4j/start/build.html still refers to
the svn tree.

What about http://james.apache.org/contribute.html where we could also
introduce the different repositories and explain the overall
architecture of the James project and how we accept pull requests from 
github.


Any thoughts?

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



[jira] [Commented] (JDKIM-36) DKIMVerifier returns only valid signatures if a message is signed multiple times and some signature does not pass

2016-05-24 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JDKIM-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298168#comment-15298168
 ] 

Eric Charles commented on JDKIM-36:
---

Sure, please open a PR on https://github.com/apache/james-jdkim/commits/master.
We will review it.

> DKIMVerifier returns only valid signatures if a message is signed multiple 
> times and some signature does not pass
> -
>
> Key: JDKIM-36
> URL: https://issues.apache.org/jira/browse/JDKIM-36
> Project: James jDKIM
>  Issue Type: Bug
>Affects Versions: 0.2
>Reporter: Enrico Olivelli
>Priority: Blocker
>
> If a message contains a DKIM-Signature header which passes and one which does 
> not pass the verify method will return no error and return the list of valid 
> signatures.
> Please provide an alternative method which gives the full result of the 
> validation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JAMES-1738) Onami have reached end of life

2016-05-24 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298162#comment-15298162
 ] 

Eric Charles commented on JAMES-1738:
-

I tried to prolonge onami life with luck... (active PMC was too small).
Now we have to find an alternative to onami goodies.
Would https://github.com/Netflix/governator do the job?


> Onami have reached end of life
> --
>
> Key: JAMES-1738
> URL: https://issues.apache.org/jira/browse/JAMES-1738
> Project: James Server
>  Issue Type: Bug
>  Components: guice
>Affects Versions: Trunk
>Reporter: Tellier Benoit
> Fix For: Trunk
>
>
> As stated in https://onami.apache.org/lifecycle/
> 2016/02/07 - Apache Onami has been retired.  
> Thus the jar can not be found in the Apache snapshot repositories.
> We are using Onami for Guice and MPT. For @PostConstruct and @PreDestroy. MPT 
> tests also relies heavily on MPT as it is used to run tests against specific 
> Guice modules. Getting a rid of Onami will require also rethiking genericity 
> of MPT tests.
> We should see alternate libraries to achieve these functionnalities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JSIEVE-96) How to deploy Sieve scripts

2016-03-09 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JSIEVE-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15188614#comment-15188614
 ] 

Eric Charles commented on JSIEVE-96:


status is closed

> How to deploy Sieve scripts
> ---
>
> Key: JSIEVE-96
> URL: https://issues.apache.org/jira/browse/JSIEVE-96
> Project: James jSieve
>  Issue Type: Wish
>  Components: JSieve (Main)
>Reporter: Dan
>Priority: Trivial
>
> I looked for two days and could not find an exhaustive documentation of how 
> to use Sieve scripts with James.
> There are bits and pieces all over the place but there is no single 
> authoritative source that would explain steps necessary to successfully 
> deploy scripts on James.
> Note: I am currently working with version 2.2, but even documentation for 
> latest version can not be found.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Closed] (JSIEVE-67) Improve Documentation

2016-03-09 Thread Eric Charles (JIRA)

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

Eric Charles closed JSIEVE-67.
--

> Improve Documentation
> -
>
> Key: JSIEVE-67
> URL: https://issues.apache.org/jira/browse/JSIEVE-67
> Project: James jSieve
>  Issue Type: Improvement
>Affects Versions: 0.2, 0.3, 0.4
>Reporter: Robert Burrell Donkin
>Assignee: Robert Burrell Donkin
> Fix For: 0.5
>
>
> Improve JavaDocs and website 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Closed] (JSIEVE-73) Ensure Body Extension Functions As Per Specification

2016-03-09 Thread Eric Charles (JIRA)

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

Eric Charles closed JSIEVE-73.
--

> Ensure Body Extension Functions As Per Specification
> 
>
> Key: JSIEVE-73
> URL: https://issues.apache.org/jira/browse/JSIEVE-73
> Project: James jSieve
>  Issue Type: Improvement
>Affects Versions: 0.2, 0.3, 0.4
>Reporter: Robert Burrell Donkin
>Assignee: Robert Burrell Donkin
> Fix For: 0.6
>
>
> The Body Extension is now a standard. The implementation needs to be checked 
> against the specification, and any differences corrected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: Closing / resolving issues on JIRA

2016-03-09 Thread Eric Charles

Hi Benoit, Sorry for this, permissions were not applied...
Can you try again? You should normally be able to administer JIRA projects.


On 09/03/16 10:20, Benoit Tellier wrote:

Sorry for being insistent, but I got no responses for the past week.

In my opinion, having tasks in JIRA reflecting the current state of the
project is important, and we should be able to work on tasks that
already exists.

By the way I also found :

https://issues.apache.org/jira/browse/IMAP-167
https://issues.apache.org/jira/browse/IMAP-370

That is 13 tickets to resolve / close...

Thank you,

Benoit

Le 02/03/2016 17:11, Benoit Tellier a écrit :

Hi,

As part of my work on JSIEVE first at Télécom Sudparis, and then at
Linagora, I solved several issues.

Unfortunately, I lack rights on the JIRA to be able to close the issues
my self.

And I have troubles finding people to close it for me.

Here is the list of issues :

https://issues.apache.org/jira/browse/JSIEVE-79
https://issues.apache.org/jira/browse/JSIEVE-86
https://issues.apache.org/jira/browse/JSIEVE-96
https://issues.apache.org/jira/browse/JSIEVE-67
https://issues.apache.org/jira/browse/JSIEVE-77
https://issues.apache.org/jira/browse/JSIEVE-83
https://issues.apache.org/jira/browse/JSIEVE-73
https://issues.apache.org/jira/browse/JAMES-1192
https://issues.apache.org/jira/browse/JAMES-1482
https://issues.apache.org/jira/browse/JAMES-511
https://issues.apache.org/jira/browse/JAMES-650

I then have other questions :

  - Is that normal that, as a PMC member, I can't close / resolve other
people JIRA ?
  - If it is not, how do I get this right ?
  - If it is, how do I proceed ?

Thanks,

And best regards,

Benoit

-
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



[ANNOUNCE] (was) Re: Migrating to git

2016-02-11 Thread Eric Charles

Seems like we are on git

https://git-wip-us.apache.org/repos/asf?a=project_list=james=Search

with mirrors on github
https://github.com/apache/?utf8=%E2%9C%93=james

Any remaining action to have this operational?

I guess the site remains in svn to 
benhttp://svn.apache.org/repos/asf/james/site/trunk/


On 28/01/16 10:43, Matthieu Baechler wrote:

If you want to review Infra Issues :

https://issues.apache.org/jira/browse/INFRA-11138
https://issues.apache.org/jira/browse/INFRA-11139
https://issues.apache.org/jira/browse/INFRA-11140
https://issues.apache.org/jira/browse/INFRA-11141
https://issues.apache.org/jira/browse/INFRA-11142
https://issues.apache.org/jira/browse/INFRA-11143




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



Re: james-project git commit: Port commit from svn : "Time to go Emeritus" by felixk

2016-02-11 Thread Eric Charles

Does that mean that the SVN tree is still open for commit?

On 08/02/16 14:47, matth...@apache.org wrote:

Repository: james-project
Updated Branches:
   refs/heads/master 0a5403293 -> 7411eb07d


Port commit from svn : "Time to go Emeritus" by felixk


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/7411eb07
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/7411eb07
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/7411eb07

Branch: refs/heads/master
Commit: 7411eb07d531e6a2748bf80973697250836f9305
Parents: 0a54032
Author: Matthieu Baechler 
Authored: Mon Feb 8 14:45:51 2016 +0100
Committer: Matthieu Baechler 
Committed: Mon Feb 8 14:45:55 2016 +0100

--
  pom.xml | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/james-project/blob/7411eb07/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 96bfa52..ffc921e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -261,8 +261,7 @@
  fel...@apache.org
  1
  
-Developer
-PMC Member
+Emeritus
  
  
  


-
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] [Closed] (JAMES-1593) James Spooler performance issue

2016-02-11 Thread Eric Charles (JIRA)

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

Eric Charles closed JAMES-1593.
---
Resolution: Fixed

> James Spooler performance issue
> ---
>
> Key: JAMES-1593
> URL: https://issues.apache.org/jira/browse/JAMES-1593
> Project: James Server
>  Issue Type: Bug
>  Components: SMTPServer
>Affects Versions: 3.0-beta4
> Environment: Linux , CentOS release 6.6 (Final), 
>Reporter: Mehdi Salarkia
>  Labels: newbie, performance
> Attachments: 0001-JAMES-1593-unit-test-to-show-geronimo-bug.patch, 
> problem_1.eml
>
>
> We have a mail system based on Apache james and we are experiencing some 
> performance issues .
> The current implementation of Apache james has a dependency on Apache 
> Geronimo for mime and mail processing and it seems there is an issue at-least 
>  in the version "geronimo-javamail_1.4_mail"  package .
> It seems like the "javax.mail.internet.MimeMessage.getEncoding()" method 
> never finishes and when I look at the cpu and I profiled the application it 
> shows this method has a high cpu consumtion, here is a jstack of what was 
> happening at the time:
> "spooler-1" daemon prio=10 tid=0x2b3ee9a5 nid=0x57b4 runnable 
> [0x2b3e8388d000]
>java.lang.Thread.State: RUNNABLE
>   at javax.mail.internet.MimeMessage.getEncoding(MimeMessage.java:751)
>   at 
> org.apache.james.core.MimeMessageUtil.writeMessageBodyTo(MimeMessageUtil.java:135)
>   at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:338)
>   - locked <0x00060ceef588> (a 
> org.apache.james.core.MimeMessageWrapper)
>   at 
> org.apache.james.mailrepository.file.FileMailRepository.internalStore(FileMailRepository.java:203)
>   at 
> org.apache.james.mailrepository.lib.AbstractMailRepository.store(AbstractMailRepository.java:98)
>   at 
> org.apache.james.transport.mailets.ToRepository.service(ToRepository.java:91)
>   at 
> org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
>   at 
> org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
>   at 
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>   at 
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>

[jira] [Commented] (JAMES-1631) Can't start James 2.3.2.1 on Windows

2015-11-20 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15018290#comment-15018290
 ] 

Eric Charles commented on JAMES-1631:
-

@Mani Can you edit the config.xml file with the value you want (I remember the 
snapshot I produced has something like E:... which is probably not correct for 
your env).

> Can't start James 2.3.2.1 on Windows
> 
>
> Key: JAMES-1631
> URL: https://issues.apache.org/jira/browse/JAMES-1631
> Project: James Server
>  Issue Type: Bug
>  Components: James Core
>Affects Versions: 2.3.2.1
>Reporter: Vincent Kirsch
>Priority: Blocker
>
> Hi,
> I get the issue on 2 separate Windows machines: Windows 7 64-bit and Windows 
> 2012.
> In each case, the Java version is the latest update of JDK 7 (jdk7u80). It 
> happens with both 32-bit and 64-bit versions of the JDK.
> Procedre:
> - Unzip James files on the disk
> - Launch cmd.exe as Administrator
> - Go in James' bin directory, and launch run.bat
> James doesn't start, and the phoenix.log file contains this:
> ERROR   2015-10-27 12:50:14.903 [Phoenix.] (): There was an error running 
> phase "startup" for Block named "users-store". (Reason: Component named 
> "users-store" failed to pass through the Starting stage. (Reason: 
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).).
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: 
> Component named "users-store" failed to pass through the Starting stage. 
> (Reason: org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
> at 
> org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
> rethrown from
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> rethrown from
> java.io.IOException: The filename, directory name, or volume label syntax is 
> incorrect
> at java.io.WinNTFileSystem.canonicalize0(Native Method)
> at 
> java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
> at java.io.File.getCanonicalPath(File.java:618)
> at java.io.File.getCanonicalFile(File.java:643)
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> Upon exit, there's an additional warning because files in the work directory 
> cannot be deleted:
> WARN2015-10-27 12:50:15.028 [Phoenix.] (): Error deleting Work Directory 
> "D:\James\work\james-1445946613419". (Reason: File 
> D:\James\work\james-1445946613419\SAR-INF\lib\mailet-api-2.3.jar unable to be 
> deleted.)
> java.io.IOException: File 
> D:\James\wor

[jira] [Commented] (JAMES-1631) Can't start James 2.3.2.1 on Windows

2015-11-14 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15005329#comment-15005329
 ] 

Eric Charles commented on JAMES-1631:
-

Finally, I think this is a simple syntax problem. Can you try using the correct 
windows folder separator?


If this does not work, I have a slightly update version to deal with the 
syntax, but normally the 2.3.2.1 should be fine
https://people.apache.org/~eric/james-2.3.2.2-SNAPSHOT/james-binary-2.3.2.2-SNAPSHOT.tar.gz


> Can't start James 2.3.2.1 on Windows
> 
>
> Key: JAMES-1631
> URL: https://issues.apache.org/jira/browse/JAMES-1631
> Project: James Server
>  Issue Type: Bug
>  Components: James Core
>Affects Versions: 2.3.2.1
>Reporter: Vincent Kirsch
>Priority: Blocker
>
> Hi,
> I get the issue on 2 separate Windows machines: Windows 7 64-bit and Windows 
> 2012.
> In each case, the Java version is the latest update of JDK 7 (jdk7u80). It 
> happens with both 32-bit and 64-bit versions of the JDK.
> Procedre:
> - Unzip James files on the disk
> - Launch cmd.exe as Administrator
> - Go in James' bin directory, and launch run.bat
> James doesn't start, and the phoenix.log file contains this:
> ERROR   2015-10-27 12:50:14.903 [Phoenix.] (): There was an error running 
> phase "startup" for Block named "users-store". (Reason: Component named 
> "users-store" failed to pass through the Starting stage. (Reason: 
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).).
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: 
> Component named "users-store" failed to pass through the Starting stage. 
> (Reason: org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
> at 
> org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
> rethrown from
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> rethrown from
> java.io.IOException: The filename, directory name, or volume label syntax is 
> incorrect
> at java.io.WinNTFileSystem.canonicalize0(Native Method)
> at 
> java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
> at java.io.File.getCanonicalPath(File.java:618)
> at java.io.File.getCanonicalFile(File.java:643)
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> Upon exit, there's an additional warning because files in the work directory 
> cannot be deleted:
> WARN2015-10-27 12:50:15.028 [Phoenix.] (): Error deleting Work Directory 
> "D:\James\work\james-1445946613419". (Rea

[jira] [Commented] (JAMES-1631) Can't start James 2.3.2.1 on Windows

2015-11-10 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998458#comment-14998458
 ] 

Eric Charles commented on JAMES-1631:
-

I can repoduce and will come with a patch in the coming days.

> Can't start James 2.3.2.1 on Windows
> 
>
> Key: JAMES-1631
> URL: https://issues.apache.org/jira/browse/JAMES-1631
> Project: James Server
>  Issue Type: Bug
>  Components: James Core
>Affects Versions: 2.3.2.1
>Reporter: Vincent Kirsch
>Priority: Blocker
>
> Hi,
> I get the issue on 2 separate Windows machines: Windows 7 64-bit and Windows 
> 2012.
> In each case, the Java version is the latest update of JDK 7 (jdk7u80). It 
> happens with both 32-bit and 64-bit versions of the JDK.
> Procedre:
> - Unzip James files on the disk
> - Launch cmd.exe as Administrator
> - Go in James' bin directory, and launch run.bat
> James doesn't start, and the phoenix.log file contains this:
> ERROR   2015-10-27 12:50:14.903 [Phoenix.] (): There was an error running 
> phase "startup" for Block named "users-store". (Reason: Component named 
> "users-store" failed to pass through the Starting stage. (Reason: 
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).).
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: 
> Component named "users-store" failed to pass through the Starting stage. 
> (Reason: org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL).
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180)
> at 
> org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
> rethrown from
> org.apache.avalon.framework.configuration.ConfigurationException: 
> destination>>URL
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> at 
> org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
> at 
> org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530)
> at 
> org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478)
> rethrown from
> java.io.IOException: The filename, directory name, or volume label syntax is 
> incorrect
> at java.io.WinNTFileSystem.canonicalize0(Native Method)
> at 
> java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
> at java.io.File.getCanonicalPath(File.java:618)
> at java.io.File.getCanonicalFile(File.java:643)
> at 
> org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
> at 
> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
> at 
> org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
> Upon exit, there's an additional warning because files in the work directory 
> cannot be deleted:
> WARN2015-10-27 12:50:15.028 [Phoenix.] (): Error deleting Work Directory 
> "D:\James\work\james-1445946613419". (Reason: File 
> D:\James\work\james-1445946613419\SAR-INF\lib\mailet-api-2.3.jar unable to be 
> deleted.)
> java.io.IOException: File 
> D:\James\work\james-1445946613419\SAR-INF\lib\mailet-api-2.3.jar unable to be 
> deleted.
>   at 
> or

Re: Generating the site

2015-11-10 Thread Eric Charles
I have run `mvn site -Dmaven.javadoc.skip=true` from the server folder 
and site has been generated under target/site.



On 2015-10-23 16:33, Matthieu Baechler wrote:

Hi,

I tried for some hours to generate the website instructions from
README.txt in james-project.

I finally managed to generate a site, but not everything is generated.
For example, I don't have the "server" part of the site.

Is there something else to do ?

Cheers,



--
Eric Charles http://datalayer.io

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



Re: Fwd: A distributed James server and SelectedMailboxImpl statefulness

2015-11-10 Thread Eric Charles
e a causal order.
We also have the certitude to see only one ADDED event per UID.
If we reject EXPUNGE commands if the specified uid is absent from the
SelecteMailboxImpl uid set.

We might have concurrent problems, but with this we have an eventual
consistent MESSAGE SEQUENCE NUMBERS <=> UID correspondance across
servers. Of course with this solution the difficulty is to have causal
ordering. Which means vector clocks...



It means creating the set for every selected mailbox : it looks like a
performance killer, don't you think ?



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



--
Eric Charles http://datalayer.io

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



svn commit: r1705513 - in /james/project/trunk/src/site/xdoc: download.xml index.xml newsarchive.xml

2015-09-27 Thread eric
Author: eric
Date: Sun Sep 27 08:15:42 2015
New Revision: 1705513

URL: http://svn.apache.org/viewvc?rev=1705513=rev
Log:
Update home, download and news pages for the james server 2.3.2.1 release

Modified:
james/project/trunk/src/site/xdoc/download.xml
james/project/trunk/src/site/xdoc/index.xml
james/project/trunk/src/site/xdoc/newsarchive.xml

Modified: james/project/trunk/src/site/xdoc/download.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/src/site/xdoc/download.xml?rev=1705513=1705512=1705513=diff
==
--- james/project/trunk/src/site/xdoc/download.xml (original)
+++ james/project/trunk/src/site/xdoc/download.xml Sun Sep 27 08:15:42 2015
@@ -208,13 +208,13 @@ Do not promote snapshots, See JAMES-1558
 
 
 
-
+
 
   This release has many enhancements and bug fixes over the previous
   release.  See the http://james.apache.org/server/2/release-notes.html;>Release 
Notes
   for a detailed list of changes.  Some of the earlier defects could
-  turn a James mail server into an Open Relay.  All users of James Server 
are urged to upgrade to version v2.3.1 as soon as
+  turn a James mail server into an Open Relay and allow files to be 
written on disk.  All users of James Server are urged to upgrade to version 
v2.3.2.1 as soon as
   possible.
 
   
@@ -235,20 +235,20 @@ Do not promote snapshots, See JAMES-1558
   
   
 Binary (Unix TAR): james-binary-2.3.2.tar.gz
 [http://www.apache.org/dist/james/server/apache-james-2.3.2.tar.gz.asc;>PGP]
+
href="[preferred]/james/server/james-binary-2.3.2.1.tar.gz">james-binary-2.3.2.1.tar.gz
 [http://www.apache.org/dist/james/server/james-binary-2.3.2.1.tar.gz.asc;>PGP]
   
 Binary (ZIP Format): james-binary-2.3.2.zip
 [http://www.apache.org/dist/james/server/apache-james-2.3.2.zip.asc;>PGP]
+
href="[preferred]/james/server/james-binary-2.3.2.1.zip">james-binary-2.3.2.1.zip
 [http://www.apache.org/dist/james/server/james-binary-2.3.2.1.zip.asc;>PGP]
   
 Source (Unix TAR): james-2.3.2-src.tar.gz
 [http://www.apache.org/dist/james/server/apache-james-2.3.2-src.tar.gz.asc;>PGP]
+
href="[preferred]/james/server/james-2.3.2.1-src.tar.gz">james-2.3.2.1-src.tar.gz
 [http://www.apache.org/dist/james/server/james-2.3.2.1-src.tar.gz.asc;>PGP]
   
   Source (ZIP Format): james-2.3.2-src.zip
 [http://www.apache.org/dist/james/server/apache-james-2.3.2-src.zip.asc;>PGP]
+  
href="[preferred]/james/server/james-2.3.2.1-src.zip">james-2.3.2.1-src.zip 
[http://www.apache.org/dist/james/server/james-2.3.2.1-src.zip.asc;>PGP]
   
   
 

Modified: james/project/trunk/src/site/xdoc/index.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/src/site/xdoc/index.xml?rev=1705513=1705512=1705513=diff
==
--- james/project/trunk/src/site/xdoc/index.xml (original)
+++ james/project/trunk/src/site/xdoc/index.xml Sun Sep 27 08:15:42 2015
@@ -389,6 +389,12 @@
 
   
 
+  Sep/2015 - 
+  Apache James Server 
2.3.2.1 fixes a security issue - Please upgrade!!!
+  
+  
+  April/2012 - 
+
   Jun/2012 - 
   Apache James Hupa 
0.0.2 released
   

Modified: james/project/trunk/src/site/xdoc/newsarchive.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/src/site/xdoc/newsarchive.xml?rev=1705513=1705512=1705513=diff
==
--- james/project/trunk/src/site/xdoc/newsarchive.xml (original)
+++ james/project/trunk/src/site/xdoc/newsarchive.xml Sun Sep 27 08:15:42 2015
@@ -34,7 +34,14 @@
 
   
 
-
+   
+
+ Sep 2015 - Apache James Server 2.3.2.1 
released
+ This release fixes a security vulnerability - Users are invited to 
upgrade (read https://blogs.apache.org/james/entry/apache_james_server_2_3;>annouce on 
the Apache James blog).
+
+   
+
+   
 
   Jun 2012 - Apache Hupa 0.0.2 released
 The Java Apache Mail Enterprise Server Project is happy to announce 



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



svn commit: r10660 - /release/james/server/

2015-09-26 Thread eric
Author: eric
Date: Sat Sep 26 08:01:41 2015
New Revision: 10660

Log:
Add James Server 2.3.2.1

Added:
release/james/server/james-2.3.2.1-src.tar.gz   (with props)
release/james/server/james-2.3.2.1-src.tar.gz.asc   (with props)
release/james/server/james-2.3.2.1-src.tar.gz.asc.md5
release/james/server/james-2.3.2.1-src.tar.gz.asc.sha1
release/james/server/james-2.3.2.1-src.tar.gz.md5
release/james/server/james-2.3.2.1-src.tar.gz.sha1
release/james/server/james-2.3.2.1-src.zip   (with props)
release/james/server/james-2.3.2.1-src.zip.asc   (with props)
release/james/server/james-2.3.2.1-src.zip.asc.md5
release/james/server/james-2.3.2.1-src.zip.asc.sha1
release/james/server/james-2.3.2.1-src.zip.md5
release/james/server/james-2.3.2.1-src.zip.sha1
release/james/server/james-binary-2.3.2.1.tar.gz   (with props)
release/james/server/james-binary-2.3.2.1.tar.gz.asc   (with props)
release/james/server/james-binary-2.3.2.1.tar.gz.asc.md5
release/james/server/james-binary-2.3.2.1.tar.gz.asc.sha1
release/james/server/james-binary-2.3.2.1.tar.gz.md5
release/james/server/james-binary-2.3.2.1.tar.gz.sha1
release/james/server/james-binary-2.3.2.1.zip   (with props)
release/james/server/james-binary-2.3.2.1.zip.asc   (with props)
release/james/server/james-binary-2.3.2.1.zip.asc.md5
release/james/server/james-binary-2.3.2.1.zip.asc.sha1
release/james/server/james-binary-2.3.2.1.zip.md5
release/james/server/james-binary-2.3.2.1.zip.sha1
release/james/server/james.sar   (with props)
release/james/server/james.sar.asc   (with props)
release/james/server/james.sar.asc.md5
release/james/server/james.sar.asc.sha1
release/james/server/james.sar.md5
release/james/server/james.sar.sha1

Added: release/james/server/james-2.3.2.1-src.tar.gz
==
Binary file - no diff available.

Propchange: release/james/server/james-2.3.2.1-src.tar.gz
--
svn:mime-type = application/x-gzip

Added: release/james/server/james-2.3.2.1-src.tar.gz.asc
==
Binary file - no diff available.

Propchange: release/james/server/james-2.3.2.1-src.tar.gz.asc
--
svn:mime-type = application/pgp-signature

Added: release/james/server/james-2.3.2.1-src.tar.gz.asc.md5
==
--- release/james/server/james-2.3.2.1-src.tar.gz.asc.md5 (added)
+++ release/james/server/james-2.3.2.1-src.tar.gz.asc.md5 Sat Sep 26 08:01:41 
2015
@@ -0,0 +1,2 @@
+/d/james-2.3.2.1/src//james-2.3.2.1-src.tar.gz.asc: 
+29 F7 7D 3A 43 AF 07 04  A8 21 44 5D AE A0 D3 6F

Added: release/james/server/james-2.3.2.1-src.tar.gz.asc.sha1
==
--- release/james/server/james-2.3.2.1-src.tar.gz.asc.sha1 (added)
+++ release/james/server/james-2.3.2.1-src.tar.gz.asc.sha1 Sat Sep 26 08:01:41 
2015
@@ -0,0 +1,2 @@
+/d/james-2.3.2.1/src//james-2.3.2.1-src.tar.gz.asc: 
+B506 2CBD D1FA C80F E651  A962 DB30 37A6 E7CA 7746

Added: release/james/server/james-2.3.2.1-src.tar.gz.md5
==
--- release/james/server/james-2.3.2.1-src.tar.gz.md5 (added)
+++ release/james/server/james-2.3.2.1-src.tar.gz.md5 Sat Sep 26 08:01:41 2015
@@ -0,0 +1,2 @@
+/d/james-2.3.2.1/src//james-2.3.2.1-src.tar.gz: 
+04 14 A6 76 E7 B3 BB 0C  99 19 FD EA 65 D2 13 F9

Added: release/james/server/james-2.3.2.1-src.tar.gz.sha1
==
--- release/james/server/james-2.3.2.1-src.tar.gz.sha1 (added)
+++ release/james/server/james-2.3.2.1-src.tar.gz.sha1 Sat Sep 26 08:01:41 2015
@@ -0,0 +1,2 @@
+/d/james-2.3.2.1/src//james-2.3.2.1-src.tar.gz: 
+B6C5 94B9 1EAA 1451 499F  681F 23C6 DE87 1AD5 EA46

Added: release/james/server/james-2.3.2.1-src.zip
==
Binary file - no diff available.

Propchange: release/james/server/james-2.3.2.1-src.zip
--
svn:mime-type = application/zip

Added: release/james/server/james-2.3.2.1-src.zip.asc
==
Binary file - no diff available.

Propchange: release/james/server/james-2.3.2.1-src.zip.asc
--
svn:mime-type = application/pgp-signature

Added: release/james/server/james-2.3.2.1-src.zip.asc.md5
==
--- release/james/server/james-2.3.2.1

[jira] [Commented] (JAMES-1593) James Spooler performance issue

2015-09-25 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14908066#comment-14908066
 ] 

Eric Charles commented on JAMES-1593:
-

Geronimo has shown issues along the way, so switching back to oracle javamail 
makes more sense to me.

> James Spooler performance issue
> ---
>
> Key: JAMES-1593
> URL: https://issues.apache.org/jira/browse/JAMES-1593
> Project: James Server
>  Issue Type: Bug
>  Components: SMTPServer
>Affects Versions: 3.0-beta4
> Environment: Linux , CentOS release 6.6 (Final), 
>Reporter: Mehdi Salarkia
>  Labels: newbie, performance
> Attachments: 0001-JAMES-1593-unit-test-to-show-geronimo-bug.patch, 
> problem_1.eml
>
>
> We have a mail system based on Apache james and we are experiencing some 
> performance issues .
> The current implementation of Apache james has a dependency on Apache 
> Geronimo for mime and mail processing and it seems there is an issue at-least 
>  in the version "geronimo-javamail_1.4_mail"  package .
> It seems like the "javax.mail.internet.MimeMessage.getEncoding()" method 
> never finishes and when I look at the cpu and I profiled the application it 
> shows this method has a high cpu consumtion, here is a jstack of what was 
> happening at the time:
> "spooler-1" daemon prio=10 tid=0x2b3ee9a5 nid=0x57b4 runnable 
> [0x2b3e8388d000]
>java.lang.Thread.State: RUNNABLE
>   at javax.mail.internet.MimeMessage.getEncoding(MimeMessage.java:751)
>   at 
> org.apache.james.core.MimeMessageUtil.writeMessageBodyTo(MimeMessageUtil.java:135)
>   at 
> org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:338)
>   - locked <0x00060ceef588> (a 
> org.apache.james.core.MimeMessageWrapper)
>   at 
> org.apache.james.mailrepository.file.FileMailRepository.internalStore(FileMailRepository.java:203)
>   at 
> org.apache.james.mailrepository.lib.AbstractMailRepository.store(AbstractMailRepository.java:98)
>   at 
> org.apache.james.transport.mailets.ToRepository.service(ToRepository.java:91)
>   at 
> org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:65)
>   at 
> org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:334)
>   at 
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
>   at 
> org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
>   at 
> org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
>   at 
> org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:81)
>   at 
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
>   at 
> or

[jira] [Commented] (JAMES-1612) dev-build documentation is not consistent wrt beta4

2015-09-25 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14908068#comment-14908068
 ] 

Eric Charles commented on JAMES-1612:
-

Not sure to understand, are you talking about the documentation or the way we 
structure svn?
Thx, Eric

> dev-build documentation is not consistent wrt beta4
> ---
>
> Key: JAMES-1612
> URL: https://issues.apache.org/jira/browse/JAMES-1612
> Project: James Server
>  Issue Type: Bug
>  Components: Documentation
>Affects Versions: Trunk
>Reporter: Matthieu Baechler
>
> dev-build defines three different things for  JAMES_SRC_HOME :
> 1.  source distribution : it's an almost empty shell that just downloads 
> everything from maven central
> 2.  http://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta4/ 
> checks out the server sources
> 3. http://svn.apache.org/repos/asf/james/current checks out every james 
> modules
> I suggest to change this to http://svn.apache.org/repos/asf/james/current 
> content for the 3 ways and to tag 
> http://svn.apache.org/repos/asf/james/current on releases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: My Telecom-SudParis end of school project on SIEVE and Manage SIEVE

2015-09-25 Thread Eric Charles

Thank you also Benoit for all the great work.
Have fun at school and see you soon here.
Eric


On 2015-09-20 12:03, Benoit Tellier wrote:

Thank you very much !

I just created tickets in the JIRA :

   JAMES-1614 -> JAMES-1620
   MPT-23
   JSIEVE-99 and JSIEVE-100

If anyone have comments, just tell me.

Benoit Tellier

Le 16/09/2015 21:38, Stephen Brewin a écrit :

Thanks Benoit

It would be good to record your goals in JIRA so we can monitor their
progress.
Enabling the storage of Sieve scripts to a chosen repository is a great
way to go.

Cheers
--Steve

On 14/09/2015 20:06, Benoit Tellier wrote:

Hi every one !

My internship at Linagora ended last Friday. I will soon go back to
school at Telecom-SudParis.

I will manage myself to try to find some time to continue to work on
James.

I proposed a end of studies' project on James. It is a four month
project for two peoples ( ~200 hours of code ), me, and Erwan
Guyomarc'h. The aim is to better integrate Sieve. It has the following
goals :

### Sieve integration

 - Make LocalDelivery mailet use SIEVE repositories instead of local
files
 - Move SieveRepositories and the like to data-* projects
 - Write generic unit tests for SieveRepositories
 - Implement a Cassandra based SIEVE repository
 - Write integration tests for implemented SIEVE features

### Manage Sieve

 - Write a netty based implementation ( using today's mailet based
parser )
 - Use MPT to write integration tests for Manage Sieve protocol.

### Additional SIEVE features

 - For now it is only plan to implement RFC 5230 : Vacation Extension



If you have any comment, remarks and the like, don't hesitate !

Cheers,

Benoit



-
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



--
Eric Charles http://datalayer.io

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



Re: Experiments with repositories merging

2015-09-08 Thread Eric Charles


On 2015-09-07 14:53, Matthieu Baechler wrote:

Hi,

Following my proposal about James modules merge, I'm looking at how
exactly this merge can be done.

I didn't find a good way to merge things using svn tools (in theory, it
can be done with svnadmin dump / svnadmin load but these tools are not
made for remote experiments).

I managed to get the expected layout with this workflow :

1/ git svn clone james-project
2/ git subtree add --prefix=james https://github.com/apache/james.git trunk
3/ [git subtree add all modules]
4/ git svn dcommit

The big downside is that it loses the merged modules history.

If we omit the "git svn dcommit" step, the history is kept because git
history doesn't need to be linear (it keeps both histories with the "git
subtree add" being the "merge" commit).

So there's three questions :

x Do we need to keep history of merged branches in trunk ? (my opinion
is "yes, we need that")



yes


x Does anybody know how the history could be kept while keeping svn ?



As stefano said, 'svn cp' or 'svn mv' keep the history.


x If previous answer is "Nobody", could we delay this merge and launch
the "migrate to git" debate on the mailing list ?



Let's merge in svn before moving to git.
The discussion thread to move to git can already be launched.


Cheers,




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



Re: AW: [VOTE] Release Apache James Server 2.3.2.1

2015-09-08 Thread Eric Charles

Hi,

The VOTE for Apache James Server 2.3.2.1 passed. Here is the result:

+1 Eric (*), Steve (*), Manolo (*), Felix (*), Vincenzo (*), Bernd, Emma
+0
-1

(*) Binding vote

I will push the release to the mirrors and send the announce.

Thx to all,

Eric


On 2015-09-03 14:56, Emma Sesmero wrote:

[X] +1 Please release

Thanks for your work.

El jue., 3 sept. 2015 a las 10:05, Eric Charles (<e...@apache.org>)
escribió:


Let's still wait 3 more days to collect any more votes.


On 2015-08-31 10:19, Bernd Waibel wrote:

+1 Please release

Not relevant for us, but I vote to release as it is important to

implement it as defined in RFC.


   - Bernd

-Ursprüngliche Nachricht-
Von: Eric Charles [mailto:e...@apache.org]
Gesendet: Samstag, 29. August 2015 09:39
An: James Developers List <server-dev@james.apache.org>
Betreff: [VOTE] Release Apache James Server 2.3.2.1

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on

http://people.apache.org/~eric/james-2.3.2.1/


Please review and cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

Thx, Eric

-
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






--
Eric Charles http://datalayer.io

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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-03 15:13, Matthieu Baechler wrote:


On 03/09/2015 11:48, Eric Charles wrote:



On 2015-09-03 11:04, Matthieu Baechler wrote:

Hi Eric,

On 03/09/2015 10:16, Eric Charles wrote:

I like Matthieu proposal (merge without mime4...), but this will open
the door to more refactoring that would maybe go against the initial
requirement of being able to embed some mailbox without the full
server.


Of course, as the mailbox API will probably change more often, it will
break potential mailbox-api direct users. It leads to two questions :
  - is there such users ?
  - do we expect alpha/beta software to be API stable ?

I really like the idea of merging things until 3.0 release happens then
decide if we split back or not.



If we merge, we should be sure this is the right thing to do before and
after 3.0.

Why would we split again after 3.0?


Because maybe when you have a 3.0 release, the project goal can change
from "releasing a great mail server" to "trying to grow a contributor
community" or anything else.

Stefano first talk about this idea:

"And maybe they could be merged until we get to a more stable solution,
and then splitted again once they are stable enough."

I don't see anything wrong in using the right process for a given goal.




Thx for the clarification.


Maybe we should write to guidelines we can refer when working in that
single repository, otherwise we will have endless discussions that
don't
occur for now simply because code live in separate projects.


I think maven dependencies capture the intent of module responsibility
very well. What would you want the guidelines to contain ? API stability
rules ? Anything else ?




Classes, Packages, Maven submodules and repositories all serve IMHO
segregation of responsibility and API.

For now, we have hard barrier that prevent someone to break this.


I don't see anything we would loose once the repositories are merged.
What prevent any commiter to add spring into data-api today ? Or to
introduce a cyclic dependency ?

Maybe I don't understand what you mean by "hard barrier", do you have
some examples ?



I will be (a bit) easier to refactor in a wrong way when everything will 
be in the same repository. But it is true that it is already possible to 
take a wrong road with the current structure.



I was thinking more about a documented diagram such as the one I started
on http://james.apache.org/server/3/dev.html to show the modules
interactions and boundaries.

A common understanding of such a representation will ease later
discussion.


Actually, I don't see how the merge impact this diagram. We can
definitively improve it, if it's what you mean, but is it really related
to the merge ?



It does not and the documentation should not be a requirement to merge.

+1 on the principle of your merge proposal.

On the details, I would rename 'james' by 'server', and 'backend' with 
something else ('persistence', 'common', 'util'...?, it depends what you 
anticipate to come into)



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



Re: AW: [VOTE] Release Apache James Server 2.3.2.1

2015-09-03 Thread Eric Charles

Let's still wait 3 more days to collect any more votes.


On 2015-08-31 10:19, Bernd Waibel wrote:

+1 Please release

Not relevant for us, but I vote to release as it is important to implement it 
as defined in RFC.

  - Bernd

-Ursprüngliche Nachricht-
Von: Eric Charles [mailto:e...@apache.org]
Gesendet: Samstag, 29. August 2015 09:39
An: James Developers List <server-dev@james.apache.org>
Betreff: [VOTE] Release Apache James Server 2.3.2.1

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on 
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

Thx, Eric

-
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: Proposal about James modules merge

2015-09-03 Thread Eric Charles


On 2015-08-28 20:40, Stephen Brewin wrote:

Hi Vincenzo and Ioan

While Mattiheu's proposal does mention switching to GIT and I agree that
GIT is superior to SVN and I support this, the most important part is
the restructuring of our projects.



James structure should be independent of any versioning system (git, 
svn...).


But yes, git has more features than svn, typical git project are managed 
in a single repository.



As I have explained in an earlier post the proposed change abandons the
façade that components, such as mailbox and protocols, are independent
of James server. My view is that the restructuring of our projects would
be beneficial. What are yours?

The proposed restructuring should not be confabulated with a switch to
GIT as it is achievable with SVN. A switch to GIT should be dealt with
as a separate issue.



Any migration to git is orthogonal to the restructure.
The restructure may ease the migration.


Cheers
--Steve

On 28/08/2015 09:08, Vincenzo Gianferrari Pini wrote:

Hi all,

sorry for not having been active at all in the last period.

Anyway, I agree with Ioan that using GIT is *much* more productive than
using SVN, so I cast here my +1.

Regards,
Vincenzo

Il giorno lun 24 ago 2015 alle ore 21:51 Ioan Eugen Stan <
stan.ieu...@gmail.com> ha scritto:


Hi,

Yes, the work flow is not the best with SVN. There is an option to
migrate James to git hosting and personally I think it will be a good
thing.

In order to make this a reality we have to raise a vote and raise a JIRA
issue to Apache Infra. The vote has to run for 72h.

You have my +1.

p.s. One thing to have in mind is that we need to we need to take care
of the site publishing also. But it's doable.

Regards,

--

*Ing. Vincenzo Gianferrari Pini*
Chairman & CTO - GoCloud
Sede legale: Via Larga 15, 20122 Milano (MI)
Sede op. ed amm.: Via Stefanardo da Vimercate 28, 20128 Milano (MI)
Cel. +39-3939837493
tel: +39-02-87250672 (dir.)
tel: +39-02-25514300 (cent.)
fax: +39-02-25514302

https://google.com/+VincenzoGianferrariPiniGoCloud
https://www.linkedin.com/in/vgianferrari
http://www.gocloud.eu
​http://www.mapadore.com​






-
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: Proposal about James modules merge

2015-09-03 Thread Eric Charles
...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



--
Eric Charles http://datalayer.io

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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles

On 2015-08-27 11:11, Stephen Brewin wrote:

Hi

As I recall, the intent of having separate projects for many of the
components developed under the James umbrella was to satisfy the
requirement that they should be independent of James Server. While this
remains a requirement, separate repositories are needed for each project
to allow separate release versions and schedules. It also influences our
maven module layout and how dependencies might be better managed.



I can not talk about the drivers for separate projects, but I understand 
those projects as a way to be able to use them without the full james 
server. It is also a way to force developers to think in terms of API 
contracts between those projects.



Before proceeding with a discussion of how to simplify the development
workflow, we need to decide if the original requirement still holds.
Prospective solutions will be quite different depending on this answer.

Cheers
--Steve

-
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: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-01 14:29, Benoit Tellier wrote:

(snip...)


  - Finally, there is the issue that started this thread. There might be
duplication between mailbox code and james-server-data-* one. In the
Cassandra example, we developed tools for creating tables, index, custom
types... That we want to use in both the cassandra-mailbox and
james-server-data-cassandra. We don't want to duplicate it, we don't
want dependencies between both projects. The only solution with
separated projects is to introduce an other separated project
introducing these tools ( what we started to develop ). This is not a
separated case : We can have uses of messages queue in several places :
mailqueue, mailbox event system, ... .



The mailbox-* serve the "Mailbox" persistence.
The james-server-data-* serve the "Mail Repository Store" persistence.

This is (not enough) explained on 
http://james.apache.org/server/3/feature-persistence.html


One idea for later (which we discussed some time ago) would be to 
migrate the james-server-data-* used for mails to the mailbox. The 
remaining persistence used for users/rrt/domains/... still need their 
own persistence.


To allow James 2.x migration to James 3.0, we need to keep those 
james-server-data-* as such.


Later, some kind of common infrastructure (persistence, queue,...) can 
come to life and serve other modules.





Merging modules together (mailbox, james, protocols and mpt for me )
solves all these issue elegantly and makes it easier to contribute to
James.

Le 01/09/2015 11:29, Stephen Brewin a écrit :

On 01/09/2015 08:18, Matthieu Baechler wrote:

Thank you for your answer Stephen. It looks like we agree one this
proposal.

Can I take your answer for a +1 ?

+1 for restructuring

We should discuss transitioning to GIT separately

--Steve

-
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



--
Eric Charles http://datalayer.io

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



Re: Proposal about James modules merge

2015-09-03 Thread Eric Charles



On 2015-09-03 11:04, Matthieu Baechler wrote:

Hi Eric,

On 03/09/2015 10:16, Eric Charles wrote:

I like Matthieu proposal (merge without mime4...), but this will open
the door to more refactoring that would maybe go against the initial
requirement of being able to embed some mailbox without the full server.


Of course, as the mailbox API will probably change more often, it will
break potential mailbox-api direct users. It leads to two questions :
  - is there such users ?
  - do we expect alpha/beta software to be API stable ?

I really like the idea of merging things until 3.0 release happens then
decide if we split back or not.



If we merge, we should be sure this is the right thing to do before and 
after 3.0.


Why would we split again after 3.0?


Maybe we should write to guidelines we can refer when working in that
single repository, otherwise we will have endless discussions that don't
occur for now simply because code live in separate projects.


I think maven dependencies capture the intent of module responsibility
very well. What would you want the guidelines to contain ? API stability
rules ? Anything else ?




Classes, Packages, Maven submodules and repositories all serve IMHO 
segregation of responsibility and API.


For now, we have hard barrier that prevent someone to break this.

I was thinking more about a documented diagram such as the one I started 
on http://james.apache.org/server/3/dev.html to show the modules 
interactions and boundaries.


A common understanding of such a representation will ease later discussion.

API stability is another concern to be addressed once we have the 
architecture documented.


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



Re: [VOTE] Release Apache James Server 2.3.2.1

2015-08-30 Thread Eric Charles

[X] +1 Please release

On 2015-08-29 09:38, Eric Charles wrote:

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

Thx, Eric

-
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



[VOTE] Release Apache James Server 2.3.2.1

2015-08-29 Thread Eric Charles

Hi there,

We have a security fix implemented in JAMES-1602 thanks to Steve Brewin.

I have uploaded a signed version of the artifacts on
http://people.apache.org/~eric/james-2.3.2.1/

Please review and cast your VOTE:

[ ] +1 Please release
[ ] +0 No time to review
[ ] -1 Something is wrong

Thx, Eric

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



Re: Rewrite table specification

2015-08-14 Thread Eric Charles

What is the impact on the existing rewrite implementations?

On 2015-08-05 11:10, Antoine DUPRAT wrote:

Hi all,

As explained in the issue JAMES-1594
https://issues.apache.org/jira/browse/JAMES-1594, we would like to
write the specification on rewrite table.
The existing implementations are not all equivalent, and so we introduce
issues related:

  * JAMES-1595 https://issues.apache.org/jira/browse/JAMES-1595
  * JAMES-1596 https://issues.apache.org/jira/browse/JAMES-1596
  * JAMES-1597 https://issues.apache.org/jira/browse/JAMES-1597
  * JAMES-1598 https://issues.apache.org/jira/browse/JAMES-1598
  * JAMES-1599 https://issues.apache.org/jira/browse/JAMES-1599

We are currently implementing the Cassandra backend related to this
feature,
and so we would like to improve the behaviour of it.


Before sending the pull request with full implementation of the
specification,
we would like to have some feedback from the community.

Attached to this mail, the specification written in Gherkin, full code
available at
https://github.com/aduprat/james/tree/Issue-9
commits list:

  * 3230ac2e836c28673dd22646a0da8f4af60a9c41 - Antoine Duprat Issue-9
add tests on recursive mappings
  * 742e8bbe6aa21a3925310ab7847c8750707a5487 - Antoine Duprat Issue-9
add tests on alias mappings
  * c4c52758f6b7f7ea756b52b1936c92efaf39a236 - Antoine Duprat Issue-9
add tests on wildcard address mappings
  * 2cadf4503573264752957481567a59d2a8669e39 - Antoine Duprat Issue-9
add tests on error mappings
  * a47e9e64cd15c348df7559b1f7e88aa8e4e25108 - Antoine Duprat Issue-9
add tests on address mappings
  * cd99601bf29279441976b75b3d58f80ffbd029af - Antoine Duprat Issue-9
add tests on regexp mappings
  * 1e4fb25027030b7234d914708de6b18cfdb5e6dc - Antoine Duprat Issue-9
First test on empty mapping
  * 9c98e06a95ceffd1ae4d282ca164e49cff698005 - Antoine Duprat Issue-9
Introduce Cucumber tests on rewrite tables on each backend

Thanks and regards,

--
Antoine Duprat
Développeur LGS/OBM/RD

--

GROUPE LINAGORA
74-80 rue Roque de Fillol
92800 Puteaux

+33 (0)8 10 25 12 51
+33 (0)6 45 63 27 17
adup...@linagora.com

--

La présente transmission contient des informations confidentielles
appartenant à Linagora, exclusivement destinées au(x) destinataire(s)
identifié(s) ci-dessus. Si vous n'en faites pas partie, toute
reproduction, distribution ou divulgation de tout ou partie des
informations de cette transmission, ou toute action effectuée sur la
base de celles-ci vous sont formellement interdites.
Si vous avez reçu cette transmission par erreur, nous vous remercions de
nous en avertir et de la détruire de votre système d'information.

The present transmission contains privileged and confidential
information belonging to Linagora, exclusively intended for the
recipient(s) thereabove identified. If you are not one of these
aforementioned recipients, any reproduction, distribution, disclosure of
said information in whole or in part, as well as any action undertaken
on the basis of said information are strictly prohbited. If you received
the present transmission by mistake, please inform us and destroy it
from your messenging and information systems.




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



--
Eric Charles http://datalayer.io

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



[jira] [Commented] (JAMES-1567) doesnt work on ubuntu14.04 althougth my classpath is set

2015-08-14 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14696557#comment-14696557
 ] 

Eric Charles commented on JAMES-1567:
-

A patch for this will be very useful. It is a matter of chaning some properties 
in pom.xml. Thx.

 doesnt work on ubuntu14.04 althougth my classpath is set
 

 Key: JAMES-1567
 URL: https://issues.apache.org/jira/browse/JAMES-1567
 Project: James Server
  Issue Type: Bug
  Components: James Core
Affects Versions: 3.0-beta4
 Environment: ubuntu 14.04 with java 7 installed
Reporter: jjbrunias
Priority: Blocker
  Labels: java, ubuntu

 dear sir
  im a student trying to get James Apache to get working on Ubuntu 14.04 but 
 unfortunately I cant have it installed. Would you mind help me? I have ubuntu 
 14.04 and java 7 oracle installed
 Below is a description if my architecture and problems encountered:
 I have ubuntu 14.04
 java is in /ust/lib/jvm/java-7-oracle/bin
 path is set and exported
 when I do ./james start, it says Starting Apache Server... and then 
 crashes down.
 Below is the output of my wrapper.log file:
 STATUS | wrapper  | 2015/02/18 10:49:38 | -- Wrapper Started as Daemon
 STATUS | wrapper  | 2015/02/18 10:49:39 | Launching a JVM...
 INFO   | jvm 1| 2015/02/18 10:49:41 | Wrapper (Version 3.2.3) 
 http://wrapper.tanukisoftware.org
 INFO   | jvm 1| 2015/02/18 10:49:41 |   Copyright 1999-2006 Tanuki 
 Software, Inc.  All Rights Reserved.
 INFO   | jvm 1| 2015/02/18 10:49:41 |
 INFO   | jvm 1| 2015/02/18 10:49:41 | Java HotSpot(TM) Server VM 
 warning: You have loaded library 
 /home/tomski/Downloads/apache-james-3.0-beta4/lib/libwrapper-linux-x86-32.so 
 which might have disabled stack guard. The VM will try to fix the stack guard 
 now.
 INFO   | jvm 1| 2015/02/18 10:49:41 | It's highly recommended that 
 you fix the library with 'execstack -c libfile', or link it with '-z 
 noexecstack'.
 INFO   | jvm 1| 2015/02/18 10:49:41 | INFO  10:49:41,769 | 
 org.apache.james.container.spring.context.JamesServerApplicationContext | 
 Refreshing 
 org.apache.james.container.spring.context.JamesServerApplicationContext@1cccddf:
  startup date [Wed Feb 18 10:49:41 CET 2015]; root of context hierarchy
 INFO   | jvm 1| 2015/02/18 10:49:44 |
 INFO   | jvm 1| 2015/02/18 10:49:44 | WrapperSimpleApp: Encountered 
 an error running main: 
 org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
 create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
 Provider com.sun.xml.internal.bind.v2.ContextFactory could not be 
 instantiated: 
 com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
 IllegalAnnotationExceptions
 INFO   | jvm 1| 2015/02/18 10:49:44 | Class has two properties of the 
 same name outputs
 INFO   | jvm 1| 2015/02/18 10:49:44 | this problem is related to 
 the following location:
 INFO   | jvm 1| 2015/02/18 10:49:44 | at public 
 java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
 INFO   | jvm 1| 2015/02/18 10:49:44 | at 
 org.apache.camel.model.ResequenceDefinition
 INFO   | jvm 1| 2015/02/18 10:49:44 | this problem is related to 
 the following location:
 INFO   | jvm 1| 2015/02/18 10:49:44 | at private 
 java.util.List org.apache.camel.model.ResequenceDefinition.outputs
 INFO   | jvm 1| 2015/02/18 10:49:44 | at 
 org.apache.camel.model.ResequenceDefinition
 INFO   | jvm 1| 2015/02/18 10:49:44 |
 INFO   | jvm 1| 2015/02/18 10:49:44 |  - with linked exception:
 INFO   | jvm 1| 2015/02/18 10:49:44 | 
 [com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts 
 of IllegalAnnotationExceptions
 INFO   | jvm 1| 2015/02/18 10:49:44 | Class has two properties of the 
 same name outputs
 INFO   | jvm 1| 2015/02/18 10:49:44 | this problem is related to 
 the following location:
 INFO   | jvm 1| 2015/02/18 10:49:44 | at public 
 java.util.List org.apache.camel.model.ResequenceDefinition.getOutputs()
 INFO   | jvm 1| 2015/02/18 10:49:44 | at 
 org.apache.camel.model.ResequenceDefinition
 INFO   | jvm 1| 2015/02/18 10:49:44 | this problem is related to 
 the following location:
 INFO   | jvm 1| 2015/02/18 10:49:44 | at private 
 java.util.List org.apache.camel.model.ResequenceDefinition.outputs
 INFO   | jvm 1| 2015/02/18 10:49:44 | at 
 org.apache.camel.model.ResequenceDefinition
 INFO   | jvm 1| 2015/02/18 10:49:44 | ]
 INFO   | jvm 1| 2015/02/18 10:49:44

[jira] [Commented] (JAMES-1588) Create a project to centralize Cassandra tools

2015-08-04 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14653309#comment-14653309
 ] 

Eric Charles commented on JAMES-1588:
-

Can you start the discussion on the mailing list. A few of the pmc are on 
holiday, so we should wait until begin September to collect all opinions and 
then submit a vote as this would be quite a breaking approach. Don't forget the 
web site structure in the discussion - for now, the site reflects the modules.



 Create a project to centralize Cassandra tools
 --

 Key: JAMES-1588
 URL: https://issues.apache.org/jira/browse/JAMES-1588
 Project: James Server
  Issue Type: Improvement
Reporter: Tellier Benoit

 As we are starting to develop data tools based on Cassandra, we realized we 
 would use tools we defined for the Cassandra mailbox. But :
  - We don't want a dependency to the cassandra mailbox in our data-cassandra 
 module
  - We do not want to duplicate information.
 Hence we prefer introducing a new module, that centralize tools needed by 
 modules relying on Cassandra ( for now the Cassandra mailbox, and the 
 data-cassandra module, Cassandra MPT module ).
 As we think this can be a common need to several backend implementation, we 
 want to create a dedicated project for centralizing back-end tools, that will 
 be calles james-backends. Each back-end ( eg : cassandra, jpa, hbase, etc ... 
 ) will create its submodule in it and will use it in other places (MPT, 
 Mailbox, james (server) ).
 Let us now if you have any feedback on this proposal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JAMES-1586) Write a compliant Cassandra User Repository

2015-08-03 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14652811#comment-14652811
 ] 

Eric Charles commented on JAMES-1586:
-

Thx Matthieu. you pullrequest for cassandra looks good to me. Did you benchmark 
the performance so far?
I will answer on JAMES-1588.

 Write a compliant Cassandra User Repository
 ---

 Key: JAMES-1586
 URL: https://issues.apache.org/jira/browse/JAMES-1586
 Project: James Server
  Issue Type: New Feature
Reporter: Matthieu Baechler

 To complete the Cassandra backend, we should write a User Repository on top 
 of Cassandra.
 There's already some code there : 
 https://github.com/mbaechler/james/commits/cassandra but it can't be 
 integrated as is, it needs some refactoring to use mailbox Cassandra 
 infrastructure.
 Once done, we should update the spring configuration to deploy this 
 repository and make sure integration tests on a deployed james still works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JAMES-1588) Create a project to centralize Cassandra tools

2015-08-03 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14652816#comment-14652816
 ] 

Eric Charles commented on JAMES-1588:
-

Are you thinking to put this backends module at the same level as server, 
mailbox...?
I proposed the same kind of module some time ago, but we decided to not follow 
that way. Looking back , it sound like this would not have been the best thing 
to do (release management...).
The other way would be to merge all james modules in one structure to make a 
single release. This may be worth to start a discussion on the maliling list.


 Create a project to centralize Cassandra tools
 --

 Key: JAMES-1588
 URL: https://issues.apache.org/jira/browse/JAMES-1588
 Project: James Server
  Issue Type: Improvement
Reporter: Tellier Benoit

 As we are starting to develop data tools based on Cassandra, we realized we 
 would use tools we defined for the Cassandra mailbox. But :
  - We don't want a dependency to the cassandra mailbox in our data-cassandra 
 module
  - We do not want to duplicate information.
 Hence we prefer introducing a new module, that centralize tools needed by 
 modules relying on Cassandra ( for now the Cassandra mailbox, and the 
 data-cassandra module, Cassandra MPT module ).
 As we think this can be a common need to several backend implementation, we 
 want to create a dedicated project for centralizing back-end tools, that will 
 be calles james-backends. Each back-end ( eg : cassandra, jpa, hbase, etc ... 
 ) will create its submodule in it and will use it in other places (MPT, 
 Mailbox, james (server) ).
 Let us now if you have any feedback on this proposal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JAMES-1586) Write a compliant Cassandra User Repository

2015-08-03 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14651493#comment-14651493
 ] 

Eric Charles commented on JAMES-1586:
-

In which way do you think reusing the mailbox cassandra infrastructure? For 
now, user repo and mailbox are separate and don't rely on each other.

You  https://github.com/mbaechler/james/commits/cassandra is mainly related to 
guice, which you could make a separate jira/pr for this.

 Write a compliant Cassandra User Repository
 ---

 Key: JAMES-1586
 URL: https://issues.apache.org/jira/browse/JAMES-1586
 Project: James Server
  Issue Type: New Feature
Reporter: Matthieu Baechler

 To complete the Cassandra backend, we should write a User Repository on top 
 of Cassandra.
 There's already some code there : 
 https://github.com/mbaechler/james/commits/cassandra but it can't be 
 integrated as is, it needs some refactoring to use mailbox Cassandra 
 infrastructure.
 Once done, we should update the spring configuration to deploy this 
 repository and make sure integration tests on a deployed james still works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Time for a Mailbox release?

2015-08-03 Thread Eric Charles

Hi there, How does the mailbox project stand?

Is it ready/stable enough to cut a release?

--
Eric Charles http://datalayer.io

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



[jira] [Commented] (JAMES-1588) Create a project to centralize Cassandra tools

2015-08-03 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14651489#comment-14651489
 ] 

Eric Charles commented on JAMES-1588:
-

What do you mean with tool?

 Create a project to centralize Cassandra tools
 --

 Key: JAMES-1588
 URL: https://issues.apache.org/jira/browse/JAMES-1588
 Project: James Server
  Issue Type: Improvement
Reporter: Tellier Benoit

 As we are starting to develop data tools based on Cassandra, we realized we 
 would use tools we defined for the Cassandra mailbox. But :
  - We don't want a dependency to the cassandra mailbox in our data-cassandra 
 module
  - We do not want to duplicate information.
 Hence we prefer introducing a new module, that centralize tools needed by 
 modules relying on Cassandra ( for now the Cassandra mailbox, and the 
 data-cassandra module, Cassandra MPT module ).
 As we think this can be a common need to several backend implementation, we 
 want to create a dedicated project for centralizing back-end tools, that will 
 be calles james-backends. Each back-end ( eg : cassandra, jpa, hbase, etc ... 
 ) will create its submodule in it and will use it in other places (MPT, 
 Mailbox, james (server) ).
 Let us now if you have any feedback on this proposal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Closed] (JAMES-1585) Update Doap file with latest release dates

2015-07-13 Thread Eric Charles (JIRA)

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

Eric Charles closed JAMES-1585.
---
Resolution: Fixed

 Update Doap file with latest release dates
 --

 Key: JAMES-1585
 URL: https://issues.apache.org/jira/browse/JAMES-1585
 Project: James Server
  Issue Type: Improvement
Reporter: Eric Charles
Assignee: Eric Charles





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Created] (JAMES-1585) Update Doap file with latest release dates

2015-07-13 Thread Eric Charles (JIRA)
Eric Charles created JAMES-1585:
---

 Summary: Update Doap file with latest release dates
 Key: JAMES-1585
 URL: https://issues.apache.org/jira/browse/JAMES-1585
 Project: James Server
  Issue Type: Improvement
Reporter: Eric Charles
Assignee: Eric Charles






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Closed] (JAMES-1576) Syntax error in DOAP file release section

2015-07-13 Thread Eric Charles (JIRA)

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

Eric Charles closed JAMES-1576.
---
   Resolution: Fixed
 Assignee: Eric Charles
Fix Version/s: 3.0.0-beta5

Fixed with 
http://svn.apache.org/viewvc/james/site/trunk/doap_JAMES.rdf?rev=1690571r1=1690570r2=1690571view=diff

 Syntax error in DOAP file release section
 -

 Key: JAMES-1576
 URL: https://issues.apache.org/jira/browse/JAMES-1576
 Project: James Server
  Issue Type: Bug
 Environment: 
 http://svn.apache.org/repos/asf/james/site/trunk/doap_JAMES.rdf
Reporter: Sebb
Assignee: Eric Charles
 Fix For: 3.0.0-beta5


 DOAP files can contain details of multiple release Versions, however each 
 must be listed in a separate release section, for example:
 release
   Version
 nameApache XYZ/name
 created2015-02-16/created
 revision1.6.2/revision
   /Version
 /release
 release
   Version
 nameApache XYZ/name
 created2014-09-24/created
 revision1.6.1/revision
   /Version
 /release
 Please can the project DOAP be corrected accordingly?
 Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: Missing git repositories

2015-07-10 Thread Eric Charles

Thx for the work Matthieu and team.

To get the repo, you should open a INFRA ticket on 
https://issues.apache.org/jira/browse/INFRA


On 2015-07-09 17:52, Matthieu Baechler wrote:

Hi,

Now that Benoit Tellier is Commiter on James, we (Antoine, Benoit and 
me) managed to merge most of our work back into apache repositories.


We are working toward using github for our developments to add 
transparency to our process and have others people join our code reviews.


We are doing the switch right now but we discovered that there's two 
repositories missing from git.apache.org : james-mpt and james-project.


It bothers us as we have to manually push our modification into 
svn.apache.org _and_ our github repositories.


Is someone able to create those repositories on git.apache.org ?

Thanks for your help.



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



[jira] [Resolved] (MAILBOX-155) Add elasticsearch based search index

2015-06-29 Thread Eric Charles (JIRA)

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

Eric Charles resolved MAILBOX-155.
--
   Resolution: Fixed
Fix Version/s: 0.6

 Add elasticsearch based search index
 

 Key: MAILBOX-155
 URL: https://issues.apache.org/jira/browse/MAILBOX-155
 Project: James Mailbox
  Issue Type: New Feature
Reporter: Norman Maurer
Assignee: Norman Maurer
 Fix For: 0.6

 Attachments: MAILBOX-155.patch






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: The patches for your review

2015-06-28 Thread Eric Charles

Can you create JIRA and uplooad your patches there?

https://issues.apache.org/jira/browse/JAMES

On 2015-06-29 07:15, Alina Sun wrote:

Hi all,

We are using an old version of direct james and we fixed some bugs. I
attach the diff files for your review in case you may find some useful
fixes.

Thanks and regards,



https://www.orionhealth.com/
*Alina Sun*
Senior Developer

*e* alinas  @   orionhealth.com

mailto:ali...@orionhealth.com

https://www.facebook.com/orionhealth
https://www.twitter.com/orionhealth
https://www.linkedin.com/company/orion-health

www.orionhealth.com https://www.orionhealth.com/​





-
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: r1683566 - in /james/mailbox/trunk: memory/src/test/java/org/apache/james/mailbox/inmemory/ memory/src/test/java/org/apache/james/mailbox/inmemory/mail/ store/src/test/java/org/apache/jame

2015-06-04 Thread eric
Author: eric
Date: Thu Jun  4 14:55:23 2015
New Revision: 1683566

URL: http://svn.apache.org/r1683566
Log:
Fix eric mess (MAILBOX-11)

Added:

james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxMapperTest.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManagerTest.java
Removed:

james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/mail/

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java

Added: 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxMapperTest.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxMapperTest.java?rev=1683566view=auto
==
--- 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxMapperTest.java
 (added)
+++ 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxMapperTest.java
 Thu Jun  4 14:55:23 2015
@@ -0,0 +1,86 @@
+/
+ * 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.   *
+ /
+
+package org.apache.james.mailbox.inmemory;
+
+import org.apache.james.mailbox.exception.MailboxException;
+import org.apache.james.mailbox.mock.MockMailboxSession;
+import org.apache.james.mailbox.model.MailboxPath;
+import org.apache.james.mailbox.store.mail.MailboxMapper;
+import org.apache.james.mailbox.store.mail.model.Mailbox;
+import org.apache.james.mailbox.store.mail.model.impl.SimpleMailbox;
+import org.junit.Before;
+import org.junit.Test;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+public class InMemoryMailboxMapperTest {
+
+public static final int UID_VALIDITY = 10;
+
+private MailboxPath user1InboxPath;
+private MailboxPath user1SubMailbox1Path;
+private MailboxPath user1SubMailbox2Path;
+private MailboxPath user2OtherBoxPath;
+private MailboxPath user1OtherNamespacePath;
+
+private MailboxLong user1Inbox;
+private MailboxLong user1SubMailbox1;
+private MailboxLong user1SubMailbox2;
+
+private MailboxMapperLong mapper;
+
+@Before
+public void setUp() throws MailboxException {
+user1InboxPath = new MailboxPath(#private, user1, INBOX);
+user1SubMailbox1Path = new MailboxPath(#private, user1, 
INBOX.sub1);
+user1SubMailbox2Path = new MailboxPath(#private, user1, 
INBOX.sub2);
+user2OtherBoxPath = new MailboxPath(#private, user2, other.user);
+user1OtherNamespacePath = new MailboxPath(#namspace, user1, 
other.namespace);
+user1Inbox = new SimpleMailboxLong(user1InboxPath, UID_VALIDITY);
+user1SubMailbox1 = new SimpleMailboxLong(user1SubMailbox1Path, 
UID_VALIDITY);
+user1SubMailbox2 = new SimpleMailboxLong(user1SubMailbox2Path, 
UID_VALIDITY);
+mapper = new 
InMemoryMailboxSessionMapperFactory().createMailboxMapper(new 
MockMailboxSession(user));
+mapper.save(user1Inbox);
+mapper.save(user1SubMailbox1);
+mapper.save(user1SubMailbox2);
+mapper.save(new SimpleMailboxLong(user2OtherBoxPath, UID_VALIDITY));
+mapper.save(new SimpleMailboxLong(user1OtherNamespacePath, 
UID_VALIDITY));
+}
+
+@Test
+public void 
findMailboxWithPatchLikeOnAllMaillboxesShouldReturnMailboxesBelongingToThisNamespaceAndUser()
 throws MailboxException{
+assertThat(mapper.findMailboxWithPathLike(new MailboxPath(#private, 
user1, %)))
+.containsOnly(user1Inbox, user1SubMailbox1, user1SubMailbox2);
+}
+
+@Test
+public void findMailboxWithPatchLikeBasedOnInboxShouldReturnItsChildren() 
throws MailboxException{
+assertThat(mapper.findMailboxWithPathLike(new

[jira] [Commented] (MAILBOX-11) MailboxQuery ignore namespace

2015-06-04 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14572920#comment-14572920
 ] 

Eric Charles commented on MAILBOX-11:
-

Sorry for the mess. Should be ok now.

 MailboxQuery ignore namespace
 -

 Key: MAILBOX-11
 URL: https://issues.apache.org/jira/browse/MAILBOX-11
 Project: James Mailbox
  Issue Type: Bug
 Environment: Linux, JDK 1.6
Reporter: François-Denis Gonthier
Assignee: Eric Charles
 Fix For: 0.6

 Attachments: 
 0001-MAILBOX-11-Add-filters-on-namespace-and-user-for-sea.patch


 MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
 based on. For example, Mozilla Thunderbird might to mailbox search with 
 expressions like #private.%. That expression is passed directly to the 
 isExpressionMatch method of the MailboxQuery class. This has obviously 
 incorrect results.
 Arguments to the isExpressionMatch method should be parsed to separate the 
 namespace from the mailbox name or isExpressionMatch should do the parsing 
 itself. In that case the argument name should be renamed to something like 
 'searchExpression' instead of 'name' which doesn't convey the right meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



svn commit: r1683057 - in /james/mailbox/trunk: api/src/test/java/org/apache/james/mailbox/ memory/ memory/src/main/java/org/apache/james/mailbox/inmemory/mail/ memory/src/test/java/org/apache/james/m

2015-06-02 Thread eric
Author: eric
Date: Tue Jun  2 08:11:56 2015
New Revision: 1683057

URL: http://svn.apache.org/r1683057
Log:
MailboxQuery ignore namespace, patch contributed by Benoit Tellier (MAILBOX-11)

Modified:

james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
james/mailbox/trunk/memory/pom.xml

james/mailbox/trunk/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/InMemoryMailboxMapper.java

james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManagerTest.java

james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMailboxManager.java

Modified: 
james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java?rev=1683057r1=1683056r2=1683057view=diff
==
--- 
james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
 (original)
+++ 
james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
 Tue Jun  2 08:11:56 2015
@@ -45,8 +45,8 @@ import org.slf4j.LoggerFactory;
  */
 public abstract class AbstractMailboxManagerTest {
 
-private final static String USER_1 = USER_1;
-private final static String USER_2 = USER_2;
+public final static String USER_1 = USER_1;
+public final static String USER_2 = USER_2;
 
 /**
  * The mailboxManager that needs to get instanciated

Modified: james/mailbox/trunk/memory/pom.xml
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/memory/pom.xml?rev=1683057r1=1683056r2=1683057view=diff
==
--- james/mailbox/trunk/memory/pom.xml (original)
+++ james/mailbox/trunk/memory/pom.xml Tue Jun  2 08:11:56 2015
@@ -70,5 +70,10 @@
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 /dependency
+dependency
+groupIdorg.assertj/groupId
+artifactIdassertj-core/artifactId
+scopetest/scope
+/dependency
 /dependencies
 /project

Modified: 
james/mailbox/trunk/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/InMemoryMailboxMapper.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/InMemoryMailboxMapper.java?rev=1683057r1=1683056r2=1683057view=diff
==
--- 
james/mailbox/trunk/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/InMemoryMailboxMapper.java
 (original)
+++ 
james/mailbox/trunk/memory/src/main/java/org/apache/james/mailbox/inmemory/mail/InMemoryMailboxMapper.java
 Tue Jun  2 08:11:56 2015
@@ -79,13 +79,19 @@ public class InMemoryMailboxMapper imple
 final String regex = path.getName().replace(%, .*);
 ListMailboxLong results = new ArrayListMailboxLong();
 for (final MailboxLong mailbox:mailboxesById.values()) {
-if (mailbox.getName().matches(regex)) {
+if (mailboxMatchesRegex(mailbox, path, regex)) {
 results.add(mailbox);
 }
 }
 return results;
 }
 
+private boolean mailboxMatchesRegex(MailboxLong mailbox, MailboxPath 
path, String regex) {
+return mailbox.getNamespace().equals(path.getNamespace())
+ mailbox.getUser().equals(path.getUser())
+ mailbox.getName().matches(regex);
+}
+
 /**
  * @see 
org.apache.james.mailbox.store.mail.MailboxMapper#save(org.apache.james.mailbox.store.mail.model.Mailbox)
  */

Modified: 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManagerTest.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManagerTest.java?rev=1683057r1=1683056r2=1683057view=diff
==
--- 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManagerTest.java
 (original)
+++ 
james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/InMemoryMailboxManagerTest.java
 Tue Jun  2 08:11:56 2015
@@ -18,6 +18,8 @@
  /
 package org.apache.james.mailbox.inmemory;
 
+import static org.assertj.core.api.Assertions.assertThat;
+
 import org.apache.james.mailbox.AbstractMailboxManagerTest;
 import org.apache.james.mailbox.MailboxSession;
 import org.apache.james.mailbox.acl.GroupMembershipResolver;
@@ -26,17 +28,25 @@ import org.apache.james.mailbox.acl.Simp
 import org.apache.james.mailbox.acl.UnionMailboxACLResolver;
 import

[jira] [Closed] (MAILBOX-11) MailboxQuery ignore namespace

2015-06-02 Thread Eric Charles (JIRA)

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

Eric Charles closed MAILBOX-11.
---
Resolution: Fixed
  Assignee: Eric Charles  (was: Norman Maurer)

Committed, Thx Benoit.

 MailboxQuery ignore namespace
 -

 Key: MAILBOX-11
 URL: https://issues.apache.org/jira/browse/MAILBOX-11
 Project: James Mailbox
  Issue Type: Bug
 Environment: Linux, JDK 1.6
Reporter: François-Denis Gonthier
Assignee: Eric Charles
 Fix For: 0.6

 Attachments: 
 0001-MAILBOX-11-Add-filters-on-namespace-and-user-for-sea.patch


 MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
 based on. For example, Mozilla Thunderbird might to mailbox search with 
 expressions like #private.%. That expression is passed directly to the 
 isExpressionMatch method of the MailboxQuery class. This has obviously 
 incorrect results.
 Arguments to the isExpressionMatch method should be parsed to separate the 
 namespace from the mailbox name or isExpressionMatch should do the parsing 
 itself. In that case the argument name should be renamed to something like 
 'searchExpression' instead of 'name' which doesn't convey the right meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



svn commit: r1683157 - in /james/mailbox/trunk: memory/src/test/java/org/apache/james/mailbox/inmemory/mail/ store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java

2015-06-02 Thread eric
Author: eric
Date: Tue Jun  2 18:42:12 2015
New Revision: 1683157

URL: http://svn.apache.org/r1683157
Log:
Add back the 2 test classes remove in MAILBOX-11

Added:

james/mailbox/trunk/memory/src/test/java/org/apache/james/mailbox/inmemory/mail/

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java

Added: 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java?rev=1683157view=auto
==
--- 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java
 (added)
+++ 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/StoreMailboxManager.java
 Tue Jun  2 18:42:12 2015
@@ -0,0 +1,648 @@
+/
+ * 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.   *
+ /
+
+package org.apache.james.mailbox.store;
+
+import org.apache.james.mailbox.MailboxListener;
+import org.apache.james.mailbox.MailboxManager;
+import org.apache.james.mailbox.MailboxPathLocker;
+import org.apache.james.mailbox.MailboxPathLocker.LockAwareExecution;
+import org.apache.james.mailbox.MailboxSession;
+import org.apache.james.mailbox.MailboxSession.SessionType;
+import org.apache.james.mailbox.MailboxSessionIdGenerator;
+import org.apache.james.mailbox.RequestAware;
+import org.apache.james.mailbox.StandardMailboxMetaDataComparator;
+import org.apache.james.mailbox.acl.GroupMembershipResolver;
+import org.apache.james.mailbox.acl.MailboxACLResolver;
+import org.apache.james.mailbox.exception.BadCredentialsException;
+import org.apache.james.mailbox.exception.MailboxException;
+import org.apache.james.mailbox.exception.MailboxExistsException;
+import org.apache.james.mailbox.exception.MailboxNotFoundException;
+import org.apache.james.mailbox.model.MailboxACL;
+import org.apache.james.mailbox.model.MailboxConstants;
+import org.apache.james.mailbox.model.MailboxMetaData;
+import org.apache.james.mailbox.model.MailboxMetaData.Selectability;
+import org.apache.james.mailbox.model.MailboxPath;
+import org.apache.james.mailbox.model.MailboxQuery;
+import org.apache.james.mailbox.model.MessageRange;
+import org.apache.james.mailbox.model.SimpleMailboxACL;
+import org.apache.james.mailbox.store.mail.MailboxMapper;
+import org.apache.james.mailbox.store.mail.model.Mailbox;
+import org.apache.james.mailbox.store.mail.model.impl.SimpleMailbox;
+import org.apache.james.mailbox.store.search.ListeningMessageSearchIndex;
+import org.apache.james.mailbox.store.search.MessageSearchIndex;
+import org.apache.james.mailbox.store.search.SimpleMessageSearchIndex;
+import org.apache.james.mailbox.store.transaction.Mapper;
+import org.apache.james.mailbox.store.transaction.TransactionalMapper;
+import org.slf4j.Logger;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Locale;
+import java.util.Random;
+
+/**
+ * This base class of an {@link MailboxManager} implementation provides a 
high-level api for writing your own
+ * {@link MailboxManager} implementation. If you plan to write your own {@link 
MailboxManager} its most times so easiest
+ * to extend just this class or use it directly.
+ * p/
+ * If you need a more low-level api just implement {@link MailboxManager} 
directly
+ *
+ * @param Id
+ */
+public class StoreMailboxManagerId implements MailboxManager {
+
+public static final char SQL_WILDCARD_CHAR = '%';
+public static final int DEFAULT_FETCH_BATCH_SIZE = 200;
+
+private MailboxEventDispatcherId dispatcher;
+private AbstractDelegatingMailboxListener delegatingListener = null;
+private final

[jira] [Commented] (MAILBOX-11) MailboxQuery ignore namespace

2015-06-02 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14569549#comment-14569549
 ] 

Eric Charles commented on MAILBOX-11:
-

I have added them back.

 MailboxQuery ignore namespace
 -

 Key: MAILBOX-11
 URL: https://issues.apache.org/jira/browse/MAILBOX-11
 Project: James Mailbox
  Issue Type: Bug
 Environment: Linux, JDK 1.6
Reporter: François-Denis Gonthier
Assignee: Eric Charles
 Fix For: 0.6

 Attachments: 
 0001-MAILBOX-11-Add-filters-on-namespace-and-user-for-sea.patch


 MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
 based on. For example, Mozilla Thunderbird might to mailbox search with 
 expressions like #private.%. That expression is passed directly to the 
 isExpressionMatch method of the MailboxQuery class. This has obviously 
 incorrect results.
 Arguments to the isExpressionMatch method should be parsed to separate the 
 namespace from the mailbox name or isExpressionMatch should do the parsing 
 itself. In that case the argument name should be renamed to something like 
 'searchExpression' instead of 'name' which doesn't convey the right meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: Our pending reviews - Updated

2015-06-02 Thread Eric Charles

Thx Benoit.

I have committed MAILBOX -11
MAILBOX-73 was already done
Can you comment on JAMES-1579? I am not sure what you mean.


On 2015-05-29 18:35, Benoit Tellier wrote:

Hi,

Thank you so much Eric for taking the time to have a look at our patchs.

Just a little note : the reporter on the JIRA ticket is not always the
one that wrote the patch. In such case, the patch writer is mentioned in
the comments.

Finally, here are our pending reviews :

MAILBOX-11

 We added filter on namespace and user at the store level and
corrected the memory implementation.
 We run tests on MPT and validate that we solved the problem

MAILBOX-73

 We added generic tests on mappers and run it on Cassandra back end

JAMES-1579

 Part of a patch from JAMES-1578 that was not applied. We still need
jar on which SieveManagerMailet relies to be imported.

MAILBOX-219

 Warning !!! Two patchs here. ( A bug can hide another )
 We are writing failing test on current ACL system and then corrected it.

MAILBOX-232
MAILET-95
MIM4J-245
JAMES-1310

 Check the return value of file operations. ( We did it in other
James sub projects )

Regards,

Benoit Tellier




-
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] [Commented] (MAILBOX-11) MailboxQuery ignore namespace

2015-06-01 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/MAILBOX-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14568568#comment-14568568
 ] 

Eric Charles commented on MAILBOX-11:
-

Hi Benoit,

git apply --check 
0001-MAILBOX-11-Add-filters-on-namespace-and-user-for-sea.patch
error: patch failed: store/pom.xml:86
error: store/pom.xml: patch does not apply

Can you rebase? Thx.

 MailboxQuery ignore namespace
 -

 Key: MAILBOX-11
 URL: https://issues.apache.org/jira/browse/MAILBOX-11
 Project: James Mailbox
  Issue Type: Bug
 Environment: Linux, JDK 1.6
Reporter: François-Denis Gonthier
Assignee: Norman Maurer
 Fix For: 0.6

 Attachments: 
 0001-MAILBOX-11-Add-filters-on-namespace-and-user-for-sea.patch


 MailboxQuery doesn't pay any attention to namespace of the mailbox it is 
 based on. For example, Mozilla Thunderbird might to mailbox search with 
 expressions like #private.%. That expression is passed directly to the 
 isExpressionMatch method of the MailboxQuery class. This has obviously 
 incorrect results.
 Arguments to the isExpressionMatch method should be parsed to separate the 
 namespace from the mailbox name or isExpressionMatch should do the parsing 
 itself. In that case the argument name should be renamed to something like 
 'searchExpression' instead of 'name' which doesn't convey the right meaning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



svn commit: r1682388 [2/2] - in /james/mailbox/trunk: api/src/main/java/org/apache/james/mailbox/ api/src/main/java/org/apache/james/mailbox/model/ cassandra/ cassandra/src/test/java/org/apache/james/

2015-05-29 Thread eric
Added: 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssert.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssert.java?rev=1682388view=auto
==
--- 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssert.java
 (added)
+++ 
james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssert.java
 Fri May 29 07:56:38 2015
@@ -0,0 +1,108 @@
+/
+ * 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.   *
+ /
+
+package org.apache.james.mailbox.store.mail.model;
+
+import org.apache.commons.io.IOUtils;
+import org.apache.james.mailbox.store.mail.MessageMapper;
+import org.assertj.core.api.AbstractAssert;
+
+import javax.mail.Flags;
+import java.io.IOException;
+
+public class MessageAssert extends AbstractAssertMessageAssert, Message? {
+
+public MessageAssert(Message? actual) {
+super(actual, MessageAssert.class);
+}
+
+public static MessageAssert assertThat(Message? actual) {
+return new MessageAssert(actual);
+}
+
+public MessageAssert isEqualTo(Message? expected, 
MessageMapper.FetchType usedFetchType) throws IOException {
+isNotNull();
+if (!equals(actual.getMailboxId(), expected.getMailboxId())) {
+failWithMessage(Expected Mailbox ID to be %s but was %s, 
expected.getMailboxId().toString(), actual.getMailboxId().toString());
+}
+if (!equals(actual.getUid(), expected.getUid())) {
+failWithMessage(Expected UID to be %s but was %s, 
expected.getUid(), actual.getUid());
+}
+if (!equals(actual.getInternalDate(), expected.getInternalDate())) {
+failWithMessage(Expected Internal Date to be %s but was %s, 
expected.getInternalDate(), actual.getInternalDate());
+}
+if (!equals(actual.getBodyOctets(), expected.getBodyOctets())) {
+failWithMessage(Expected Body octet to be %s but was %s, 
expected.getBodyOctets(), actual.getBodyOctets());
+}
+if (!equals(actual.getMediaType(), expected.getMediaType())) {
+failWithMessage(Expected Media type to be %s but was %s, 
expected.getBodyOctets(), actual.getBodyOctets());
+}
+if (!equals(actual.getSubType(), expected.getSubType())) {
+failWithMessage(Expected Sub type to be %s but was %s, 
expected.getBodyOctets(), actual.getBodyOctets());
+}
+if (usedFetchType == MessageMapper.FetchType.Full) {
+if (!equals(actual.getFullContentOctets(), 
expected.getFullContentOctets())) {
+failWithMessage(Expected Message size to be %s but was 
%s, expected.getFullContentOctets(), actual.getFullContentOctets());
+}
+if (!equals(IOUtils.toString(actual.getFullContent()), 
IOUtils.toString(expected.getFullContent( {
+failWithMessage(Expected Full content to be %s but was 
%s, IOUtils.toString(actual.getFullContent()), 
IOUtils.toString(expected.getFullContent()));
+}
+}
+if (usedFetchType == MessageMapper.FetchType.Full || usedFetchType == 
MessageMapper.FetchType.Headers) {
+if (!equals(IOUtils.toString(actual.getHeaderContent()), 
IOUtils.toString(expected.getHeaderContent( {
+failWithMessage(Expected Header content to be %s but was 
%s, IOUtils.toString(actual.getHeaderContent()), 
IOUtils.toString(expected.getHeaderContent()));
+}
+}
+if (usedFetchType == MessageMapper.FetchType.Full || usedFetchType == 
MessageMapper.FetchType.Body) {
+if (!equals(IOUtils.toString(actual.getBodyContent()), 

svn commit: r1682388 [1/2] - in /james/mailbox/trunk: api/src/main/java/org/apache/james/mailbox/ api/src/main/java/org/apache/james/mailbox/model/ cassandra/ cassandra/src/test/java/org/apache/james/

2015-05-29 Thread eric
Author: eric
Date: Fri May 29 07:56:38 2015
New Revision: 1682388

URL: http://svn.apache.org/r1682388
Log:
Add more tests in mailbox implementations, contributed by Benoit Tellier 
(MAILBOX-73)

Added:

james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/FlagsBuilder.java

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/CassandraSubscriptionManagerTest.java

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/AbstractMailboxMapperTest.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/AbstractMessageMapperTest.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MailboxAssert.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MailboxAssertTests.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MapperProvider.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssert.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageAssertTest.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MetadataMapAssert.java

james/mailbox/trunk/store/src/test/java/org/apache/james/mailbox/store/mail/model/MetadataMapAssertTest.java
Modified:

james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/model/UpdatedFlags.java
james/mailbox/trunk/cassandra/pom.xml

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java

james/mailbox/trunk/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMessageMapperTest.java
james/mailbox/trunk/store/pom.xml

Added: 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/FlagsBuilder.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/FlagsBuilder.java?rev=1682388view=auto
==
--- 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/FlagsBuilder.java
 (added)
+++ 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/FlagsBuilder.java
 Fri May 29 07:56:38 2015
@@ -0,0 +1,54 @@
+/
+ * 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.   *
+ /
+
+package org.apache.james.mailbox;
+
+import javax.mail.Flags;
+
+public class FlagsBuilder {
+
+private Flags internalFlags;
+
+public FlagsBuilder() {
+internalFlags = new Flags();
+}
+
+public FlagsBuilder add(Flags.Flag... flags) {
+for(Flags.Flag flag : flags) {
+internalFlags.add(flag);
+}
+return this;
+}
+
+public FlagsBuilder add(String... flags) {
+for(String userFlag : flags) {
+internalFlags.add(userFlag);
+}
+return this;
+}
+
+public FlagsBuilder add(Flags flags) {
+internalFlags.add(flags);
+return this;
+}
+
+public Flags build() {
+return new Flags(internalFlags);
+}
+}

Modified: 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/model/UpdatedFlags.java
URL: 
http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/model/UpdatedFlags.java?rev=1682388r1=1682387r2=1682388view=diff
==
--- 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/model/UpdatedFlags.java
 (original)
+++ 
james/mailbox/trunk/api/src/main/java/org/apache/james/mailbox/model/UpdatedFlags.java
 Fri May 29 07:56:38 2015

[jira] [Closed] (MAILBOX-73) More tests in mailbox implementations

2015-05-29 Thread Eric Charles (JIRA)

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

Eric Charles closed MAILBOX-73.
---
   Resolution: Fixed
Fix Version/s: 0.6
 Assignee: Eric Charles  (was: Ioan Eugen Stan)

Patch committed, thx Benoit.

 More tests in mailbox implementations
 -

 Key: MAILBOX-73
 URL: https://issues.apache.org/jira/browse/MAILBOX-73
 Project: James Mailbox
  Issue Type: Improvement
Reporter: Eric Charles
Assignee: Eric Charles
 Fix For: 0.6

 Attachments: 
 0001-MAILBOX-73-Provide-better-tests-for-mappers-and-run-.patch


 We need more base tests in api module that each implementation benefit from.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



svn commit: r1682405 - in /james/mpt/trunk: app/ impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/ impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/im

2015-05-29 Thread eric
Author: eric
Date: Fri May 29 09:43:59 2015
New Revision: 1682405

URL: http://svn.apache.org/r1682405
Log:
Provide end to end testing for Mailbox-11, contributed by Benoit Tellier 
(MPT-13)

Added:
james/mpt/trunk/app/dependency-reduced-pom.xml

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/MailboxCreationDelegate.java
Modified:

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/CassandraMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/cassandra/src/test/java/org/apache/james/mpt/imapmailbox/cassandra/host/CassandraHostSystem.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/host/ImapHostSystem.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java

james/mpt/trunk/impl/imap-mailbox/hbase/src/test/java/org/apache/james/mpt/imapmailbox/hbase/HBaseMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/hbase/src/test/java/org/apache/james/mpt/imapmailbox/hbase/host/HBaseHostSystem.java

james/mpt/trunk/impl/imap-mailbox/inmemory/src/test/java/org/apache/james/mpt/imapmailbox/inmemory/InMemoryMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/inmemory/src/test/java/org/apache/james/mpt/imapmailbox/inmemory/host/InMemoryHostSystem.java

james/mpt/trunk/impl/imap-mailbox/jcr/src/test/java/org/apache/james/mpt/imapmailbox/jcr/JcrMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/jcr/src/test/java/org/apache/james/mpt/imapmailbox/jcr/host/JCRHostSystem.java

james/mpt/trunk/impl/imap-mailbox/jpa/src/test/java/org/apache/james/mpt/imapmailbox/jpa/JpaMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/jpa/src/test/java/org/apache/james/mpt/imapmailbox/jpa/host/JPAHostSystem.java

james/mpt/trunk/impl/imap-mailbox/maildir/src/test/java/org/apache/james/mpt/imapmailbox/maildir/MaildirMailboxTestModule.java

james/mpt/trunk/impl/imap-mailbox/maildir/src/test/java/org/apache/james/mpt/imapmailbox/maildir/host/MaildirHostSystem.java

Added: james/mpt/trunk/app/dependency-reduced-pom.xml
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/app/dependency-reduced-pom.xml?rev=1682405view=auto
==
--- james/mpt/trunk/app/dependency-reduced-pom.xml (added)
+++ james/mpt/trunk/app/dependency-reduced-pom.xml Fri May 29 09:43:59 2015
@@ -0,0 +1,95 @@
+?xml version=1.0 encoding=UTF-8?
+project xmlns=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;
+  parent
+artifactIdapache-james-mpt/artifactId
+groupIdorg.apache.james/groupId
+version0.2-SNAPSHOT/version
+  /parent
+  modelVersion4.0.0/modelVersion
+  artifactIdapache-james-mpt-app/artifactId
+  nameApache James MPT Application/name
+  descriptionApache James Mail Protocol Tester (MPT) is a library providing 
a framework for the 
+scriptable functional testing of ASCII based line protocols. This application 
provides easy executable
+interfaces to the MPT library./description
+  urlhttp://james.apache.org/mpt/app/url
+  scm
+
connectionscm:svn:http://svn.apache.org/repos/asf/james/mpt/trunk/app/connection
+
developerConnectionscm:svn:https://rdon...@svn.apache.org/repos/asf/james/mpt/trunk/app/developerConnection
+
urlhttp://svn.apache.org/viewcvs.cgi/james/mpt/trunk/app?root=Apache-SVN/url
+  /scm
+  build
+plugins
+  plugin
+artifactIdmaven-shade-plugin/artifactId
+executions
+  execution
+phasepackage/phase
+goals
+  goalshade/goal
+/goals
+  /execution
+/executions
+configuration
+  artifactSet
+includes
+  includecommons-logging:commons-logging/include
+  includecommons-cli:commons-cli/include
+  includejunit:junit/include
+  include${project.groupId}:apache-james-mpt-core/include
+/includes
+  /artifactSet
+/configuration
+  /plugin
+  plugin
+artifactIdmaven-jar-plugin/artifactId
+configuration
+  archive
+manifestEntries
+  Main-Classorg.apache.james.mpt.app.Main/Main-Class
+  Specification-TitleApache James MPT 
Application/Specification-Title
+  Specification-Version${project.version}/Specification-Version
+  Specification-VendorThe Apache Software 
Foundation/Specification-Vendor
+  Implementation-TitleApache James MPT 
Application/Implementation-Title
+  
Implementation-Version${project.version}/Implementation-Version
+  Implementation-VendorThe Apache Software 
Foundation/Implementation-Vendor
+  Implementation-Vendor

[jira] [Closed] (JAMES-1579) Enable JSIEVE manager mailet

2015-05-29 Thread Eric Charles (JIRA)

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

Eric Charles closed JAMES-1579.
---
   Resolution: Fixed
Fix Version/s: 2.3.3
 Assignee: Eric Charles

Committer, Thx

 Enable JSIEVE manager mailet
 

 Key: JAMES-1579
 URL: https://issues.apache.org/jira/browse/JAMES-1579
 Project: James Server
  Issue Type: Improvement
Reporter: Tellier Benoit
Assignee: Eric Charles
 Fix For: 2.3.3

 Attachments: 0001-JAMES-1579-Allow-to-use-SieveManagerMailet.patch


  -  correct and enable tests on Containers :: FylesystemAPI
  -  use latest version of SIEVE manager
  -  define injections for SIEVE FILE REPOSITORY
  -  Correct SieveFileRepository to inter operate with current LocalDelivery 
 mailet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (JAMES-1578) Problems compiling James

2015-05-29 Thread Eric Charles (JIRA)

[ 
https://issues.apache.org/jira/browse/JAMES-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14564504#comment-14564504
 ] 

Eric Charles commented on JAMES-1578:
-

Can you confirm it has to be applied on 
http://svn.apache.org/viewvc/james/server/trunk/ ?
Thx, Eric

 Problems compiling James
 

 Key: JAMES-1578
 URL: https://issues.apache.org/jira/browse/JAMES-1578
 Project: James Server
  Issue Type: Bug
Reporter: Tellier Benoit
 Attachments: 0001-JWC-111-Add-missing-directory.patch


 On modern JDK, James compilation fails if a directoy is not present in /app



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



svn commit: r1682406 - in /james/mpt/trunk/impl/imap-mailbox/core/src/main: java/org/apache/james/mpt/imapmailbox/suite/ resources/org/apache/james/imap/scripts/

2015-05-29 Thread eric
Author: eric
Date: Fri May 29 09:45:48 2015
New Revision: 1682406

URL: http://svn.apache.org/r1682406
Log:
Fix Subscription test, contributed by Benoit Tellier (MPT-10)

Modified:

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java

james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Subscribe.test

Modified: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java?rev=1682406r1=1682405r2=1682406view=diff
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java
 (original)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/AuthenticatedState.java
 Fri May 29 09:45:48 2015
@@ -26,7 +26,6 @@ import javax.inject.Inject;
 import org.apache.james.mailbox.model.MailboxPath;
 import org.apache.james.mpt.host.ImapHostSystem;
 import org.apache.james.mpt.imapmailbox.suite.base.BaseAuthenticatedState;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class AuthenticatedState extends BaseAuthenticatedState {
@@ -93,7 +92,6 @@ public class AuthenticatedState extends
 scriptTest(Status, Locale.US);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeUS() throws Exception {
 scriptTest(Subscribe, Locale.US);
@@ -184,7 +182,6 @@ public class AuthenticatedState extends
 scriptTest(Status, Locale.ITALY);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeITALY() throws Exception {
 scriptTest(Subscribe, Locale.ITALY);
@@ -275,7 +272,6 @@ public class AuthenticatedState extends
 scriptTest(Status, Locale.KOREA);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeKOREA() throws Exception {
 scriptTest(Subscribe, Locale.KOREA);

Modified: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java?rev=1682406r1=1682405r2=1682406view=diff
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java
 (original)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/java/org/apache/james/mpt/imapmailbox/suite/SelectedInbox.java
 Fri May 29 09:45:48 2015
@@ -25,7 +25,6 @@ import javax.inject.Inject;
 
 import org.apache.james.mpt.api.HostSystem;
 import org.apache.james.mpt.imapmailbox.suite.base.BaseSelectedInbox;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class SelectedInbox extends BaseSelectedInbox {
@@ -92,7 +91,6 @@ public class SelectedInbox extends BaseS
 scriptTest(StringArgs, Locale.US);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeUS() throws Exception {
 scriptTest(Subscribe, Locale.US);
@@ -163,7 +161,6 @@ public class SelectedInbox extends BaseS
 scriptTest(StringArgs, Locale.ITALY);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeITALY() throws Exception {
 scriptTest(Subscribe, Locale.ITALY);
@@ -234,7 +231,6 @@ public class SelectedInbox extends BaseS
 scriptTest(StringArgs, Locale.KOREA);
 }
 
-@Ignore(JWC-132 : MPT subscription related test do not pass)
 @Test
 public void testSubscribeKOREA() throws Exception {
 scriptTest(Subscribe, Locale.KOREA);

Modified: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Subscribe.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Subscribe.test?rev=1682406r1=1682405r2=1682406view=diff
==
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Subscribe.test
 (original)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Subscribe.test
 Fri May 29 09:45:48 2015
@@ -61,13 +61,17 @@ C: a08 UNSUBSCRIBE subscribetest
 S: a08 OK UNSUBSCRIBE completed.
 
 C: a09 LSUB  sub*
+SUB {
 S: \* LSUB

[jira] [Closed] (MPT-13) Provide end to end testing for Mailbox-11

2015-05-29 Thread Eric Charles (JIRA)

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

Eric Charles closed MPT-13.
---
   Resolution: Fixed
Fix Version/s: 0.2
 Assignee: Eric Charles

committed, thx.

 Provide end to end testing for Mailbox-11
 -

 Key: MPT-13
 URL: https://issues.apache.org/jira/browse/MPT-13
 Project: James MPT
  Issue Type: New Feature
Reporter: Tellier Benoit
Assignee: Eric Charles
 Fix For: 0.2

 Attachments: 
 0001-JWC-129-Create-tests-for-LIST-command-across-user-an.patch


 In new test methods, create mailboxes belonging to other namespace and users 
 before launching LIST scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Closed] (MPT-10) Subscription tests does not pass

2015-05-29 Thread Eric Charles (JIRA)

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

Eric Charles closed MPT-10.
---
   Resolution: Fixed
Fix Version/s: 0.2
 Assignee: Eric Charles

committed, thx.

 Subscription tests does not pass
 

 Key: MPT-10
 URL: https://issues.apache.org/jira/browse/MPT-10
 Project: James MPT
  Issue Type: Bug
Reporter: Tellier Benoit
Assignee: Eric Charles
 Fix For: 0.2

 Attachments: 
 0001-JWC-132-put-LSUB-responses-into-an-unordered-SUB-blo.patch


 All tests for subscriptions fails, whatever the backend used.
 For instance, using inMemory backend : 
 org.apache.james.mpt.protocol.ProtocolSession$InvalidServerResponseException: 
 Location: /org/apache/james/imap/scripts/Subscribe.test:61
 LastClientMsg: a09 LSUB  sub*
 Expected: '\* LSUB \(\) \\.\ \subscribetest\.subfolder\'
 Actual   : '* LSUB () . subscribetest1.subfolder1'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



  1   2   3   4   5   6   7   8   9   10   >