[
https://issues.apache.org/jira/browse/JAMES-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-3880.
---------------------------------
Resolution: Fixed
Merged.
Please note that one can easilymatch reprocessed emails within the mailet
container:
HasMailAttribute=mailRepository-reprocessing
> MailRepositories: add a way to count retries
> --------------------------------------------
>
> Key: JAMES-3880
> URL: https://issues.apache.org/jira/browse/JAMES-3880
> Project: James Server
> Issue Type: Improvement
> Components: MailStore & MailRepository, webadmin
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, mail repository reprocessing is unbounded. This is a pain as for
> instance a bug can cause processing to always fail. each failure will
> generate a bounce. combined with auto-reprocessing this set things up for
> flooding.
> Proposition: count reprocessing:
> {code:java}
> curl -XPATCH
> 'http://127.0.0.1:8000/mailRepositories/var%2Fmail%2Ferror/mails?action=reprocess&processor=root&limit=5&maxRetries=5'
> {code}
> - maxRetries being an option int (defaults to unlimited). maxRetries
> filtering happens first then limit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]