[
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
> -
>
>
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
[
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
>
[
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
>
[
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:
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
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
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 ]
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:
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:
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
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:
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:
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
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
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
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
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"
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
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
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:
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:
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:
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:
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
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
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:
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:
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
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
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:
31 matches
Mail list logo