You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/09/01 01:20:00 UTC
[jira] [Closed] (JAMES-2132) Refactor and match spec for MDN
[ 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
> URL: https://issues.apache.org/jira/browse/JAMES-2132
> Project: James Server
> Issue Type: Improvement
> Components: mdn
> Affects Versions: master
> Reporter: Tellier Benoit
> Fix For: master
>
>
> Code already exist for Message Delivery Notification. This code is specific to JSieve and is a bit "outdated".
> We should:
> - Extract it in a separate library. For now, we can simply do a submodule in **james-project**. Rationals: MDN is something useful and a separate library for using them adds some value.
> - We need to unit test it.
> - We need to refactor current code. We need to make the API immutable, and we have to rely on builders.
> - We need to match the specification: the builder should not allow building an invalid RFC-8098 MDN.
> Here is an overview of what needs to be done to be https://tools.ietf.org/html/rfc8098 compliant :
> - Typo Recepients -> Recipients
> - Most fields are optional
> - Most field values is compulsory
> - Additional Disposition types
> - Arbitrary Disposition modifiers
> - Missing MDN-Gateway field
> - Missing Errors fields
> - Missing user defined fields
> - Text can be multiline
> - Address types needs to be flexible
> I will also add minimal JavaDoc pointing to specific parts of the spec.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org