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

mail list loop caused by using Return-Path

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: James Core, SMTPServer
    • Labels:
      None

      Description

      Related email thread:
      http://nagoya.apache.org/eyebrowse/ReadMsg?listName=james-dev@jakarta.apache.org&msgNo=11183

      Email lists managed by the current list mailets may cause a mail loop seriously affecting all list members.

      The reason is that the Return-Path header is not used according to its specification and in addition it is used inconsistently. In some cases it is used to determine the reverse path instead of using the reverse path stored along the email in the Mail class.

      The correct solution would be to eliminate the dependency on the Return-Path header. E.g. it should not be used to determine the reverse path, the smtp server should not add this header, but either LocalDelivery or a specific mailstore should.)

      I have a quick workaround which prevents the mail loop in the first email, the source code is in the first email of the above thread.

        Issue Links

          Activity

          Hide
          noel Noel J. Bergman added a comment -

          This should be fixed in CVS and 2.2.1 test build. The fix is a general fix to rely upon the reverse path, and remove the use of the Return-Path header (except during final local delivery).

          Show
          noel Noel J. Bergman added a comment - This should be fixed in CVS and 2.2.1 test build. The fix is a general fix to rely upon the reverse path, and remove the use of the Return-Path header (except during final local delivery).
          Hide
          danny@apache.org Danny Angus added a comment -

          Closing issue fixed in released version.

          Show
          danny@apache.org Danny Angus added a comment - Closing issue fixed in released version.

            People

            • Assignee:
              Unassigned
              Reporter:
              hontvari Hontvári József Levente
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development