You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2006/11/08 23:28:52 UTC

[jira] Updated: (JAMES-680) Null pointer when starting James on machine without DNS server

     [ http://issues.apache.org/jira/browse/JAMES-680?page=all ]

Robert Burrell Donkin updated JAMES-680:
----------------------------------------

    Attachment: james-dns.patch

This fix seems reasonable and works for my installation.

> Null pointer when starting James on machine without DNS server
> --------------------------------------------------------------
>
>                 Key: JAMES-680
>                 URL: http://issues.apache.org/jira/browse/JAMES-680
>             Project: James
>          Issue Type: Bug
>          Components: DNSServer
>    Affects Versions: Trunk
>         Environment: Linux box without DNS server running
>            Reporter: Robert Burrell Donkin
>         Attachments: james-dns.patch
>
>
> 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.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org