Benoit Tellier created JAMES-3880:
-------------------------------------
Summary: 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
Fix For: 3.8.0
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]