[jira] [Created] (JAMES-1868) Adding metrics to James

2016-11-23 Thread Tellier Benoit (JIRA)
Tellier Benoit created JAMES-1868: - Summary: Adding metrics to James Key: JAMES-1868 URL: https://issues.apache.org/jira/browse/JAMES-1868 Project: James Server Issue Type: Bug Comp

[jira] [Resolved] (JAMES-1854) Sanitize LocalDelivery mailet

2016-11-23 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit resolved JAMES-1854. --- Resolution: Fixed > Sanitize LocalDelivery mailet > - > >

[jira] [Closed] (JAMES-1854) Sanitize LocalDelivery mailet

2016-11-23 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit closed JAMES-1854. - > Sanitize LocalDelivery mailet > - > > Key: JAMES-1854 >

[jira] [Created] (JAMES-1867) Add a configuration option to disable attachment indexing

2016-11-23 Thread Laura Royet (JIRA)
Laura Royet created JAMES-1867: -- Summary: Add a configuration option to disable attachment indexing Key: JAMES-1867 URL: https://issues.apache.org/jira/browse/JAMES-1867 Project: James Server Is

[36/46] james-project git commit: JAMES-1854 Rework resourceLocator API

2016-11-23 Thread rouazana
JAMES-1854 Rework resourceLocator API - Simplify API by using mailAddresses - Merge interface and subclass as genericity is not needed Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/296bb643 Tree: http://gi

[35/46] james-project git commit: JAMES-1854 Use Strings for Sieve Message failure notification composition

2016-11-23 Thread rouazana
JAMES-1854 Use Strings for Sieve Message failure notification composition Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/da6d92ee Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/da6d92ee Diff:

[38/46] james-project git commit: JAMES-1854 In case of error, we should not enforce any special directory

2016-11-23 Thread rouazana
JAMES-1854 In case of error, we should not enforce any special directory We should let LocalDelivery and the like specify the folder Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/376eb6c5 Tree: http://git-wi

[44/46] james-project git commit: JAMES-1854 Remove unused imports and other eclipse warnings

2016-11-23 Thread rouazana
JAMES-1854 Remove unused imports and other eclipse warnings Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/83d60cbd Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/83d60cbd Diff: http://git-wip

[40/46] james-project git commit: JAMES-1854 Sieve should be handled as a separate mailet

2016-11-23 Thread rouazana
JAMES-1854 Sieve should be handled as a separate mailet Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/71accd66 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/71accd66 Diff: http://git-wip-us.

[45/46] james-project git commit: JAMES-1854 ToSender can use MailboxAppender

2016-11-23 Thread rouazana
JAMES-1854 ToSender can use MailboxAppender Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/3b995e9e Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/3b995e9e Diff: http://git-wip-us.apache.org/r

[39/46] james-project git commit: JAMES-1854 Sieve should be handled as a separate mailet

2016-11-23 Thread rouazana
http://git-wip-us.apache.org/repos/asf/james-project/blob/71accd66/server/mailet/mailets/src/test/java/org/apache/james/transport/mailets/delivery/SieveIntegrationTest.java -- diff --git a/server/mailet/mailets/src/test/java/org/a

[43/46] james-project git commit: JAMES-1854 SieveExecutor : improve logging

2016-11-23 Thread rouazana
JAMES-1854 SieveExecutor : improve logging Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ac530c04 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ac530c04 Diff: http://git-wip-us.apache.org/re

[37/46] james-project git commit: JAMES-1854 Mails with no more recipients should be GHOSTed

2016-11-23 Thread rouazana
JAMES-1854 Mails with no more recipients should be GHOSTed Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/830ced9a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/830ced9a Diff: http://git-wip-

[46/46] james-project git commit: Merge remote-tracking branch 'benoit/JAMES-1854'

2016-11-23 Thread rouazana
Merge remote-tracking branch 'benoit/JAMES-1854' Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/def450ba Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/def450ba Diff: http://git-wip-us.apache.

[33/46] james-project git commit: JAMES-1854 Improve mailStore API

2016-11-23 Thread rouazana
JAMES-1854 Improve mailStore API Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/27517fd8 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/27517fd8 Diff: http://git-wip-us.apache.org/repos/asf/ja

[27/46] james-project git commit: JAMES-1854 Split responsibility of class SieveMailet

2016-11-23 Thread rouazana
http://git-wip-us.apache.org/repos/asf/james-project/blob/ca85c529/server/mailet/mailets/src/test/java/org/apache/james/transport/mailets/delivery/SieveMailetTest.java -- diff --git a/server/mailet/mailets/src/test/java/org/apache

[34/46] james-project git commit: JAMES-1854 Refactor SievePoster

2016-11-23 Thread rouazana
JAMES-1854 Refactor SievePoster Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/6a2d1881 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/6a2d1881 Diff: http://git-wip-us.apache.org/repos/asf/jam

[23/46] james-project git commit: JAMES-1854 MailAddress prettyPrint should not rely on toString

2016-11-23 Thread rouazana
JAMES-1854 MailAddress prettyPrint should not rely on toString Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f719e2fe Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f719e2fe Diff: http://git-

[29/46] james-project git commit: JAMES-1854 Split responsibility of class SieveMailet

2016-11-23 Thread rouazana
JAMES-1854 Split responsibility of class SieveMailet - Customizing Mime Message before delivery - Delivering Mime message to someone INBOX - Extract pretty printing of MailAddresses JAMES-1854 DeliveryUtils test Project: http://git-wip-us.apache.org/repos/asf/james-project/repo C

[20/46] james-project git commit: JAMES-1854 Remove some IntelliJ warnings

2016-11-23 Thread rouazana
JAMES-1854 Remove some IntelliJ warnings - final variable not compulsory in SievePoster - unused field in SievePoster Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/4bd1cf7c Tree: http://git-wip-us.apache.o

[19/46] james-project git commit: JAMES-1854 Rename MailStorer into MailStore

2016-11-23 Thread rouazana
JAMES-1854 Rename MailStorer into MailStore Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/42800ae5 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/42800ae5 Diff: http://git-wip-us.apache.org/r

[42/46] james-project git commit: JAMES-1854 Only discard when Sieve script was executed successfully

2016-11-23 Thread rouazana
JAMES-1854 Only discard when Sieve script was executed successfully Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/92515034 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/92515034 Diff: http:/

[28/46] james-project git commit: JAMES-1854 Split responsibility of class SieveMailet

2016-11-23 Thread rouazana
http://git-wip-us.apache.org/repos/asf/james-project/blob/ca85c529/server/mailet/mailets/src/test/java/org/apache/james/transport/mailets/delivery/SieveIntegrationTest.java -- diff --git a/server/mailet/mailets/src/test/java/org/a

[25/46] james-project git commit: JAMES-1854 Use preconditions instead of if

2016-11-23 Thread rouazana
JAMES-1854 Use preconditions instead of if Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/6804799e Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/6804799e Diff: http://git-wip-us.apache.org/re

[30/46] james-project git commit: JAMES-1854 Rework SievePoster

2016-11-23 Thread rouazana
JAMES-1854 Rework SievePoster Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/135f8e1d Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/135f8e1d Diff: http://git-wip-us.apache.org/repos/asf/james

[26/46] james-project git commit: JAMES-1854 Rework MailDispatcher

2016-11-23 Thread rouazana
JAMES-1854 Rework MailDispatcher Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/58ef3d21 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/58ef3d21 Diff: http://git-wip-us.apache.org/repos/asf/ja

[32/46] james-project git commit: JAMES-1854 Mailets should not have to handle ghosted mails

2016-11-23 Thread rouazana
JAMES-1854 Mailets should not have to handle ghosted mails Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/dfb09fec Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/dfb09fec Diff: http://git-wip-

[41/46] james-project git commit: JAMES-1854 Improve exceptions for SieveFileRepository

2016-11-23 Thread rouazana
JAMES-1854 Improve exceptions for SieveFileRepository Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/98b2dbb9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/98b2dbb9 Diff: http://git-wip-us.ap

[31/46] james-project git commit: JAMES-1854 Use constructor injection rather than setter injection for delivery mailets

2016-11-23 Thread rouazana
JAMES-1854 Use constructor injection rather than setter injection for delivery mailets Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/55582f58 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/5

[21/46] james-project git commit: JAMES-1854 ResetReturnPath is always true

2016-11-23 Thread rouazana
JAMES-1854 ResetReturnPath is always true Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/e2550e2c Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/e2550e2c Diff: http://git-wip-us.apache.org/rep

[05/46] james-project git commit: JAMES-1852 Move mailets to the right package

2016-11-23 Thread rouazana
JAMES-1852 Move mailets to the right package It allows it to be addressed in mailetcontainer by name and not by FQDN Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/e9cba9cf Tree: http://git-wip-us.apache.org/

[14/46] james-project git commit: JAMES-1854 Extract error message upon Sieve parsing failure

2016-11-23 Thread rouazana
JAMES-1854 Extract error message upon Sieve parsing failure Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/43623383 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/43623383 Diff: http://git-wip

[22/46] james-project git commit: JAMES-1854 VirtualHosting should be managed by UsersRepository

2016-11-23 Thread rouazana
JAMES-1854 VirtualHosting should be managed by UsersRepository Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b4a31c76 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b4a31c76 Diff: http://git-

[15/46] james-project git commit: JAMES-1854 Use Optional to better write MailDispatcher Builder

2016-11-23 Thread rouazana
JAMES-1854 Use Optional to better write MailDispatcher Builder Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/09c522be Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/09c522be Diff: http://git-

[18/46] james-project git commit: JAMES-1854 Fields should be above methods in Local Delivery

2016-11-23 Thread rouazana
JAMES-1854 Fields should be above methods in Local Delivery Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/73fce64a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/73fce64a Diff: http://git-wip

[09/46] james-project git commit: JAMES-1854 Delivery header is always the same

2016-11-23 Thread rouazana
JAMES-1854 Delivery header is always the same Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/375ef686 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/375ef686 Diff: http://git-wip-us.apache.org

[03/46] james-project git commit: JAMES-1854 CommonsLoggingAdapter should directly wrap SLF4J Logger

2016-11-23 Thread rouazana
JAMES-1854 CommonsLoggingAdapter should directly wrap SLF4J Logger Thus, it will respect log levels Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/d703714b Tree: http://git-wip-us.apache.org/repos/asf/james-p

[24/46] james-project git commit: JAMES-1854 Rework Delivered-to header field customization

2016-11-23 Thread rouazana
JAMES-1854 Rework Delivered-to header field customization Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c85c6a84 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c85c6a84 Diff: http://git-wip-u

[13/46] james-project git commit: JAMES-1854 Responsibility of handling virtualHosting should be delegated to MailStorer

2016-11-23 Thread rouazana
JAMES-1854 Responsibility of handling virtualHosting should be delegated to MailStorer Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/2490351e Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/2

[04/46] james-project git commit: JAMES-1854 Provide tests for MailDispatcher

2016-11-23 Thread rouazana
JAMES-1854 Provide tests for MailDispatcher A bug was corrected : a ClassCastException was raised every time a mail with Header DeliveredTo was received Includes also a builder for sentMails (which was missing) Last test is maybe tricky, but I couldn't use Mockito as ArgumentCapture as mail pa

[11/46] james-project git commit: JAMES-1854 Test CommonsLoggingAdapter

2016-11-23 Thread rouazana
JAMES-1854 Test CommonsLoggingAdapter A bug existed in log level evaluation Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/abfa7a77 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/abfa7a77 Dif

[01/46] james-project git commit: JAMES-1854 Get a ride of one level of inheritance inside SieveMailet

2016-11-23 Thread rouazana
Repository: james-project Updated Branches: refs/heads/master 2a3076909 -> def450ba2 JAMES-1854 Get a ride of one level of inheritance inside SieveMailet Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c5bc

[06/46] james-project git commit: JAMES-1854 Sieve usage should be optional

2016-11-23 Thread rouazana
JAMES-1854 Sieve usage should be optional This is done threw extracting the "storing mail" capability, and includes a tested SimpleMailStorer Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/989d60e6 Tree: htt

[17/46] james-project git commit: JAMES-1854 Correct typo in log message

2016-11-23 Thread rouazana
JAMES-1854 Correct typo in log message (Detected by intelliJ) Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/9c031336 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/9c031336 Diff: http://git-

[02/46] james-project git commit: JAMES-1854 Move mailets related with local delivery in same package

2016-11-23 Thread rouazana
JAMES-1854 Move mailets related with local delivery in same package Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1559058a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1559058a Diff: http:/

[10/46] james-project git commit: JAMES-1854 Extract poster

2016-11-23 Thread rouazana
JAMES-1854 Extract poster Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/f4f044f2 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/f4f044f2 Diff: http://git-wip-us.apache.org/repos/asf/james-pro

[08/46] james-project git commit: JAMES-1854 Move Sieve related classes in SIEVE package

2016-11-23 Thread rouazana
JAMES-1854 Move Sieve related classes in SIEVE package Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/05b9040d Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/05b9040d Diff: http://git-wip-us.a

[16/46] james-project git commit: JAMES-1854 MailetContextLog is not needed

2016-11-23 Thread rouazana
JAMES-1854 MailetContextLog is not needed As MailetContext already expose its logger Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/9ac1ca71 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/9ac

[12/46] james-project git commit: JAMES-1854 Use parametrized tests for mailets

2016-11-23 Thread rouazana
JAMES-1854 Use parametrized tests for mailets So that : - SieveLocalDelivery and LocalDelivery pass the same subset of tests - Idem for ToRecipientFolder and SieveToRecipientFolder Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf

[07/46] james-project git commit: JAMES-1854 SieveMailet should have static parameters

2016-11-23 Thread rouazana
JAMES-1854 SieveMailet should have static parameters Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/7d311849 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/7d311849 Diff: http://git-wip-us.apa

[jira] [Commented] (JAMES-1866) sqlResources.xml need in bin directory otherwisewill error when start server

2016-11-23 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689285#comment-15689285 ] Tellier Benoit commented on JAMES-1866: --- Yes there is : IsInWhiteList which is a ma