[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] Commented: (JAMES-646) Error handling new connections
From:       "Guillermo Grandes (JIRA)" <server-dev () james ! apache ! org>
Date:       2006-09-30 19:19:22
Message-ID: 898909.1159643962345.JavaMail.root () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/JAMES-646?page=comments#action_12438919 ] 
            
Guillermo Grandes commented on JAMES-646:
-----------------------------------------

patch works, but...

in old logs:
[smtpserver] Connection from 10.1.1.8 (10.1.1.8)

new patched:
[smtpserver] Connection from unknown (10.1.1.8)

repatch?
-            remoteHost = "unknown";
+            remoteHost = remoteIP;

> -)

> Error handling new connections
> ------------------------------
> 
> Key: JAMES-646
> URL: http://issues.apache.org/jira/browse/JAMES-646
> Project: James
> Issue Type: Bug
> Affects Versions: Trunk
> Environment: James 3.0
> Reporter: Guillermo Grandes
> Assigned To: Norman Maurer
> Priority: Blocker
> 
> I try to connect remotely from 10.1.1.2 to 10.1.1.1 (James).
> # telnet 10.1.1.1 25
> Trying 10.1.1.1...
> Connected to 10.1.1.1.
> Escape character is '^]'.
> Connection closed by foreign host.
> # telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 ESMTP Server
> ^]
> telnet> q
> Connection closed.
> 2006-09-30 20:30:08,560 ERROR [connections] Error handling connection
> java.net.UnknownHostException: unknown address
> at org.xbill.DNS.Address.getHostName(Address.java:343)
> at org.apache.james.dnsserver.DNSServer.getHostName(DNSServer.java:539)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:134)
>  at $Proxy1.getHostName(Unknown Source)
> at org.apache.james.core.AbstractJamesHandler.initHandler(AbstractJamesHandler.java:136)
>  at org.apache.james.core.AbstractJamesHandler.handleConnection(AbstractJamesHandler.java:237)
>  at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:510)
>  at org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
>  at org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
> Related to JAMES-643?

-- 
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic