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

When a Received header is invalid mail may be created with a null remote address and host name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0
    • Fix Version/s: 2.2.0, 2.3.0
    • Component/s: FetchMail
    • Labels:
      None

      Description

      When a Received header is invalid, mail may be created with a null remote address and host name. Some mailets and matchers will throw a NullPointerException when processing the injected mail!

      Future modifications may unwittingly cause the same problem.

      The solution is to ensure that at the point where the mail is created the mail always has the remote address and host name set. The default values used when a null value is encountered are:

      address: 127.0.0.1
      host name: localhost

        Attachments

          Activity

            People

            • Assignee:
              sbrewin@apache.org Steve Brewin
              Reporter:
              sbrewin@apache.org Steve Brewin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: