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

Benoit Tellier commented on JAMES-3951:
---------------------------------------

Done in https://github.com/apache/james-project/pull/1751

>  [FILTER] Forward action
> ------------------------
>
>                 Key: JAMES-3951
>                 URL: https://issues.apache.org/jira/browse/JAMES-3951
>             Project: James Server
>          Issue Type: New Feature
>            Reporter: Benoit Tellier
>            Priority: Major
>
> h3. Why
> As a user I want to be more flexible than regular forwards eg only forward 
> mails from a given sender/topic.
> h3. How
> In order to do this, write a new JMAP filter action: fowardTo.
> Forward to can take the following form:
> {code:java}
> {
>     "addresses": ["rcord...@linagora.com", "hqtr...@linagora.com"],
>     "keepACopy": true
> }
> {code}
> A new mail will be submitted to the addresses mentioned (using 
> `MailetContext`), and the processing would either continue or be stopped 
> depending of "keepALocalCopy".
> h3. Steps
>  - [ ] Needs evolution on the Filter DTO object for storing filters in the 
> event store. We need to test and handle retro - compatibility - default to NO 
> forwardTo action. Unit test in `FilteringManagementContract`.
>  - [ ] Need to expose this through JMAP draft layers
>  - [ ] Need to expose that in the TMail backend extension
>  - [ ] Implement the action in `ActionApplier` for JMAPFiltering mailet and 
> unit test this (using `FakeMailetContext`)
>  - [ ] Write an integration test for forwardTo.
>  - [ ] Update tmail backend JMAP doc for filter
>  - [ ] Ping mobile team: https://github.com/linagora/tmail-flutter/issues/2084



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to