And here is snippet of code from the mailet :

        try {
InetAddress ia = org.apache.james.dnsserver.DNSServer.getByName(host);

//this produces a valid hostname or an IP if there really is no hostname
            log("InetAddress hostname=\""+ia.getHostName()+"\"");

            //this line throws an exception every time
            hostname = Address.getHostName(ia).toLowerCase();

        }
        catch (Exception ex) {
            if (isDebug) {
                log("No hostname");
                log(ex.toString());
                logStackTrace(ex);
            }
        }

On Nov 10, 2006, at 4:59 PM, Michael Bryant wrote:

Here are a few to try:

10/11/06 16:39:32 INFO James.Mailet: ProcessRemoteAddrWhitelist: Remote Address="72.38.253.32" 10/11/06 16:39:32 INFO James.Mailet: ProcessRemoteAddrWhitelist: InetAddress hostname="d38-253-32.home1.cgocable.net"

10/11/06 16:43:42 INFO James.Mailet: ProcessRemoteAddrWhitelist: Remote Address="201.212.83.65" 10/11/06 16:43:42 INFO James.Mailet: ProcessRemoteAddrWhitelist: InetAddress hostname="201-212-83-65.cab.prima.net.ar"

10/11/06 16:44:09 INFO James.Mailet: ProcessRemoteAddrWhitelist: Remote Address="140.211.11.2" 10/11/06 16:44:09 INFO James.Mailet: ProcessRemoteAddrWhitelist: InetAddress hostname="hermes.apache.org"

10/11/06 16:54:42 INFO James.Mailet: ProcessRemoteAddrWhitelist: Remote Address="209.119.0.145" 10/11/06 16:54:42 INFO James.Mailet: ProcessRemoteAddrWhitelist: InetAddress hostname="lychee.ease.lsoft.com"

On Nov 10, 2006, at 4:18 PM, Noel J. Bergman wrote:

What host name?  I can try it from my end.

        --- Noel


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




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




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

Reply via email to