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

Null pointer when starting James on machine without DNS server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Trunk
    • 3.0.0
    • DNSServer
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: