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

ValidSentAddresses not removed from recipients list on SendFailedException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0, 2.3.1
    • Fix Version/s: None
    • Component/s: Remote Delivery
    • Labels:
      None

      Description

      In the deliver() loop of RemoteDelivery, when a SendFailedException is received as a "452 Too Many Recipients" from a remote server, the processing continues to the next available server regardless of the ValidSentAddresses, and the whole list of original recipients is sent again to the next server of the domain, creating multiple duplicate emails in the recipients accounts.

      The typical example is Yahoo, which accepts a variable number of recipients per email from a specific server according to their internal business rules (bulk settings, SPF, reverse DNS, etc). For example, Yahoo servers receive a mail for 69 addresses, accepts the email for the first 30, then stops processing the mail and returns code=452 and the list of valid sent/unsent addresses. James logs the list of valid sent, and continues to the next mx record, sending the email to the 69 recipients again.

      Should the code 452 be treated as an error code, or RemoteDelivery remove the validSent from the list before 'continu'ing to the next server ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wilypop Jean Marc
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: