[jira] [Updated] (JAMES-2134) Introduce a MDN report parser

2017-08-31 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit updated JAMES-2134: -- Component/s: mdn > Introduce a MDN report parser > - > >

[jira] [Created] (JAMES-2134) Introduce a MDN report parser

2017-08-31 Thread Tellier Benoit (JIRA)
Tellier Benoit created JAMES-2134: - Summary: Introduce a MDN report parser Key: JAMES-2134 URL: https://issues.apache.org/jira/browse/JAMES-2134 Project: James Server Issue Type: Bug

[jira] [Updated] (JAMES-2134) Introduce a MDN report parser

2017-08-31 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit updated JAMES-2134: -- Issue Type: Improvement (was: Bug) > Introduce a MDN report parser >

[jira] [Resolved] (JAMES-2132) Refactor and match spec for MDN

2017-08-31 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit resolved JAMES-2132. --- Resolution: Fixed https://github.com/linagora/james-project/pull/951 solved the issue >

[jira] [Closed] (JAMES-2132) Refactor and match spec for MDN

2017-08-31 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit closed JAMES-2132. - > Refactor and match spec for MDN > --- > > Key:

[09/27] james-project git commit: JAMES-2132 adding MDN-Gateway field

2017-08-31 Thread btellier
JAMES-2132 adding MDN-Gateway field https://tools.ietf.org/html/rfc8098#section-3.2.2 states: The MDN-Gateway field indicates the name of the gateway or MTA that translated a foreign (non-Internet) message disposition notification into this MDN. This field MUST appear in any MDN that

[01/27] james-project git commit: JAMES-2132 MDN Original Message ID field is optional. Value is Compulsory

2017-08-31 Thread btellier
Repository: james-project Updated Branches: refs/heads/master 6553f4b50 -> 8d9287ff9 JAMES-2132 MDN Original Message ID field is optional. Value is Compulsory As stated in https://tools.ietf.org/html/rfc8098#section-3.2.5: The Original-Message-ID field indicates the message-ID of the

[19/27] james-project git commit: JAMES-2132 MultipleError fields can be added to a MDN report

2017-08-31 Thread btellier
JAMES-2132 MultipleError fields can be added to a MDN report https://tools.ietf.org/html/rfc8098#section-3.1 Describes the MDN structure as: disposition-notification-content = [ reporting-ua-field CRLF ] [ mdn-gateway-field CRLF ] [ original-recipient-field CRLF ]

[22/27] james-project git commit: JAMES-2132 Provide state of the art beans

2017-08-31 Thread btellier
JAMES-2132 Provide state of the art beans - toString, equals and hashcode - builder test - Edge case of constructors tested - Display of each field tested - value -> enum tested Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit:

[24/27] james-project git commit: JAMES-2132 Introduce a MDN top level object

2017-08-31 Thread btellier
JAMES-2132 Introduce a MDN top level object This also removes the dependency to mailet-base Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1f443cd1 Tree:

[18/27] james-project git commit: JAMES-2132 Add MDN support for extensions

2017-08-31 Thread btellier
JAMES-2132 Add MDN support for extensions https://tools.ietf.org/html/rfc8098#section-3.3 states: Additional MDN fields may be defined in the future by later revisions or extensions to this specification. MDN field names MUST be registered with the Internet Assigned Numbers Authority

[26/27] james-project git commit: JAMES-2132 Ease calling MDNReport builder

2017-08-31 Thread btellier
JAMES-2132 Ease calling MDNReport 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/7c8ecec6 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/7c8ecec6 Diff:

[15/27] james-project git commit: JAMES-2132 Address should be Text

2017-08-31 Thread btellier
JAMES-2132 Address should be Text Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/beae701a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/beae701a Diff:

[11/27] james-project git commit: JAMES-2132 Remove extra Disposition types

2017-08-31 Thread btellier
JAMES-2132 Remove extra Disposition types RFC defines them in https://tools.ietf.org/html/rfc8098#section-3.2.6.2 as: The following disposition-types are defined: "displayed" The message has been displayed by the MUA to someone reading the recipient's

[04/27] james-project git commit: JAMES-2132 support various Address type

2017-08-31 Thread btellier
JAMES-2132 support various Address type The address-type field indicates the type of the original recipient address. If the message originated within the Internet, the address- type field will normally be "rfc822", and the address will be according to the syntax specified in RFC-MSGFMT

[14/27] james-project git commit: JAMES-2132 Support arbitrary MDN Disposition modifier

2017-08-31 Thread btellier
JAMES-2132 Support arbitrary MDN Disposition modifier RFC defines them in https://tools.ietf.org/html/rfc8098#section-3.2.6.3 as: disposition-modifier = "error" / disposition-modifier-extension The following disposition-types are defined: disposition-modifier-extension

[20/27] james-project git commit: JAMES-2132 Reference in MDN data-model class relevant portions of RFC-8098

2017-08-31 Thread btellier
JAMES-2132 Reference in MDN data-model class relevant portions of RFC-8098 Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/879fe839 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/879fe839

[13/27] james-project git commit: JAMES-2132 Add error field

2017-08-31 Thread btellier
JAMES-2132 Add error field RFC defines them in https://tools.ietf.org/html/rfc8098#section-3.2.7 as: The Error field is used to supply additional information in the form of text messages when the "error" disposition modifier appears. The syntax is as follows: error-field = "Error"

[27/27] james-project git commit: JAMES-2132 Reject empty and folding white space values + trim where relevant

2017-08-31 Thread btellier
JAMES-2132 Reject empty and folding white space values + trim where relevant Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/8d9287ff Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/8d9287ff

[21/27] james-project git commit: JAMES-2132 Provide state of the art beans

2017-08-31 Thread btellier
http://git-wip-us.apache.org/repos/asf/james-project/blob/4020b750/mdn/src/test/java/org/apache/james/mdn/modifier/DispositionModifierTest.java -- diff --git

[08/27] james-project git commit: JAMES-2132 Rely on enumerations for MDN fields

2017-08-31 Thread btellier
JAMES-2132 Rely on enumerations for MDN fields Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/3d8120e9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/3d8120e9 Diff:

[16/27] james-project git commit: JAMES-2132 Fix typo s/Recepient/Recipient/g

2017-08-31 Thread btellier
JAMES-2132 Fix typo s/Recepient/Recipient/g Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ea2b452a Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ea2b452a Diff:

[17/27] james-project git commit: JAMES-2132 Extract field names into constants

2017-08-31 Thread btellier
JAMES-2132 Extract field names into constants Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/633d2eb5 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/633d2eb5 Diff:

[25/27] james-project git commit: JAMES-2132 More functional style on MDN reports formatting

2017-08-31 Thread btellier
JAMES-2132 More functional style on MDN reports formatting Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/599bec32 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/599bec32 Diff:

[10/27] james-project git commit: JAMES-2132 Reporting-UA field is optional, userAgentName is compulsory

2017-08-31 Thread btellier
JAMES-2132 Reporting-UA field is optional, userAgentName is compulsory https://tools.ietf.org/html/rfc8098#section-3.2.1 states: reporting-ua-field = "Reporting-UA" ":" OWS ua-name OWS [ ";" OWS ua-product OWS ] An MUA SHOULD send a "Reporting-UA" field unless

[02/27] james-project git commit: JAMES-2132 moving MDN to a separated project

2017-08-31 Thread btellier
http://git-wip-us.apache.org/repos/asf/james-project/blob/976a3037/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/mdn/ModifierExpired.java -- diff --git

[05/27] james-project git commit: JAMES-2132 Strong typing and builders for MDN reports

2017-08-31 Thread btellier
JAMES-2132 Strong typing and builders for MDN reports Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/13762596 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/13762596 Diff:

[07/27] james-project git commit: JAMES-2132 improve package structure

2017-08-31 Thread btellier
JAMES-2132 improve package structure Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/bbc0bfad Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/bbc0bfad Diff:

[12/27] james-project git commit: JAMES-2132 Correct MDN Disposition structure

2017-08-31 Thread btellier
JAMES-2132 Correct MDN Disposition structure https://tools.ietf.org/html/rfc8098#section-3.2.6 states: disposition-field = "Disposition" ":" OWS disposition-mode OWS ";" OWS disposition-type [ OWS "/" OWS disposition-modifier *( OWS "," OWS

[23/27] james-project git commit: JAMES-2132 Introduce a MDN top level object

2017-08-31 Thread btellier
http://git-wip-us.apache.org/repos/asf/james-project/blob/1f443cd1/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/jsieve/RejectAction.java -- diff --git

[06/27] james-project git commit: JAMES-2132 Add tests

2017-08-31 Thread btellier
JAMES-2132 Add tests Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/811b8478 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/811b8478 Diff: