Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3880

MailRepositories: add a way to count retries

    XMLWordPrintableJSON

Details

    Description

      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:

      curl -XPATCH 'http://127.0.0.1:8000/mailRepositories/var%2Fmail%2Ferror/mails?action=reprocess&processor=root&limit=5&maxRetries=5'
      
      • maxRetries being an option int (defaults to unlimited). maxRetries filtering happens first then limit.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m