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

Null pointer when starting James on machine without DNS server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 3.0.0
    • Component/s: DNSServer
    • Labels:
      None
    • Environment:
      Linux box without DNS server running

      Description

      Simple coding bug in getHostName results in a NullPointerException and prevents James starting on a linux server without a DNS server running.

      (I know that it's a bad idea to run SMTP (and probably some other mail protocols as well) without DNS being correctly configured but I want to run IMAP only. Should be safe enough without mail records in DNS.)

        Attachments

        1. james-dns.patch
          0.9 kB
          Robert Burrell Donkin

          Activity

            People

            • Assignee:
              bago Stefano Bagnara
              Reporter:
              robertburrelldonkin Robert Burrell Donkin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: