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

Integration tests : SMTP out - retry back off leveraging MailRepositrories and reprocessing

    XMLWordPrintableJSON

Details

    Description

      Context

      Distributed James do not support MailQueue delays making it unusable as a MX server.

      However given a fixed network of suppliers to work with, delays are not an issues, SMTP error just need to be correctly handled.

      retrying without delay could enhance the situation by working around some transient remote server errors. It’s better than not retrying at all (or doing all the retries without delays).

      Given manual intervention, it is possible to correctly

      Requirements

      Such a solution should:

      • Attempt delivery a single time
      • Store transient and permanent failure in different mail repository
      • After a given number of tries, transient failures should be considered permanent

      Definition of done

      Write potentially failing mailet integration tests demonstrating the above proposed RemoteDelivery error handling.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: