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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0, 3.0.0
    • 2.2.0, 2.3.0
    • FetchMail
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: