I get these errors in my log once in a while (maybe one day every 2
months?).   They're bad news because the messages that were being sent at
the time never get sent and the sender is unaware.

04/04/05 16:59:37 INFO  James.Mailet: RemoteDelivery: Unknown gateway host:
unknown host
04/04/05 16:59:37 INFO  James.Mailet: RemoteDelivery: This could be a DNS
server error or configuration error.
04/04/05 16:59:37 INFO  James.Mailet: RemoteDelivery: Exception caught in
RemoteDelivery.run()
java.lang.NullPointerException
        at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:409)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:93
2)
        at java.lang.Thread.run(Thread.java:536)


Of course it's possible I've misconfigured something but the majority of the
time my James works fine without this problem.

Indeed, when I spot this in the log (by an automatic monitor) I restart the
machine and the problem goes away.    (Restarting James alone is not usually
successful).


Is there a known problem in this area, and a fix I can implement?   

Thanks,

I'm running James 2.2.0 on Windows XP SP2.

>From my config:

   <dnsserver>
      <servers>
         <!--Enter ip address of your DNS server, one IP address per server
-->
         <!-- element. -->
                 <server>212.159.13.49</server>
                 <server>212.159.13.50</server>
                 <server>10.0.0.138</server>
      </servers>
      <!-- Change autodiscover to false if you would like to turn off
autodiscovery -->
      <!-- and set the DNS servers manually in the <servers> section -->
      <autodiscover>true</autodiscover>
      <authoritative>false</authoritative>
   </dnsserver>

John


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to