> 20/04/04 00:37:12 INFO James.Mailet: SenderInFakeDomain: Cannot resolve address for www.deOliveira.dk.: unknown host
The code in James that generates that message is:
try
{
ip = org.xbill.DNS.Address.getByName(hostIP);
}
catch (java.net.UnknownHostException uhe)
{
log("Cannot resolve address for " + hostIP + ": " + uhe.getMessage());
}
I took that code, added a main, and it works fine.
$ java -cp .:path/to/dnsjava-1.6.2.jar IP www.deOliveira.dk.
www.deOliveira.dk. is at /80.62.45.38
I have received the same error on my server, but quite legitimately. I
received an e-mail from an @oldies1041.com address. The MX record for that
domain is:
oldies1041.com. 2403 IN MX 10 mx1.bungo.com.
but mx1.bungo.com does not resolve. Basically, they have a broken zone
file. However, this does not explain the problem you are encountering.
Please try the attached test program, which you must compile against
dnsjava, and let me know what happens.
--- Noel
IP.java
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
