This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit e0d4d5d096b09f4c9525cf8d5abaa69784571e49 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Wed Feb 12 14:10:02 2020 +0700 JAMES-3048 WebAdmin doc: reprocess mailRepository query params default The default behaviour being omitted is misleading. --- src/site/markdown/server/manage-webadmin.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/site/markdown/server/manage-webadmin.md b/src/site/markdown/server/manage-webadmin.md index 14a8120..ac0965a 100644 --- a/src/site/markdown/server/manage-webadmin.md +++ b/src/site/markdown/server/manage-webadmin.md @@ -2318,8 +2318,9 @@ curl -XPATCH http://ip:port/mailRepositories/var%2Fmail%2Ferror%2F/mails?action= ``` Additional query parameters are supported: - - `queue` allow you to target the mail queue you want to enqueue the mails in. - - `processor` allow you to overwrite the state of the reprocessing mails, and thus select the processors they will start their processing in. + - `queue` allows you to target the mail queue you want to enqueue the mails in. Defaults to `spool`. + - `processor` allows you to overwrite the state of the reprocessing mails, and thus select the processors they will start their processing in. + Defaults to the `state` field of each processed email. For instance: @@ -2366,8 +2367,9 @@ curl -XPATCH http://ip:port/mailRepositories/var%2Fmail%2Ferror%2F/mails/name1?a ``` Additional query parameters are supported: - - `queue` allow you to target the mail queue you want to enqueue the mails in. - - `processor` allow you to overwrite the state of the reprocessing mails, and thus select the processors they will start their processing in. + - `queue` allows you to target the mail queue you want to enqueue the mails in. Defaults to `spool`. + - `processor` allows you to overwrite the state of the reprocessing mails, and thus select the processors they will start their processing in. + Defaults to the `state` field of each processed email. While `processor` being an optional parameter, not specifying it will result reprocessing the mails in their current state ([see documentation about processors and state](https://james.apache.org/server/feature-mailetcontainer.html#Processors)). Consequently, only few cases will give a different result, definitively storing them out of the mail repository. --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org