You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by ga...@shaw.ca on 2003/02/17 02:30:46 UTC

Socket Error --> No RemoteDelivery

Hopefully help is out there! 

Here’s the situation:  I can receive, but can’t send to addresses outside my mail server – I’m getting an SMTP Timeout error & write errors

The whole situation is very odd since I can telnet to the SMTP ports manually on the same mail-servers that James is trying to reach. Hopefully this is a 'simple' config issue.

Many thanks in advance,

Gareth
___________________________________________
My Configuration:
•	Running behind a Linksys Router - Ports opened for DNS, SMTP, POP3,  HTTP
•	Windows 2K 
•	Bind DNS Authoritative for my domain global-minds.com
•	Outgoing DNS appears to be working as I get a round-robin set of servers for xxx.com
•	Incoming DNS appears to be working as I get e-mail from external sources
•	Local mail works fine

___________________________________________
Mailet Log – timeout error

sylvanus.nssi.xxxxx.com. to addresses [Gareth.Clarke@xxxxx.com]
12/02/03 15:18:12 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045091248952-5-to-xxxxx.com) - 451 timeout (#4.4.2)

12/02/03 15:18:12 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1045091248952-5-to-xxxxx.com: javax.mail.MessagingException: 451 timeout (#4.4.2)

	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
	at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:820)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:322)
	at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:242)
	at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:593)
	at java.lang.Thread.run(Unknown Source)

___________________________________________
Mailet Log – timeout error

here’s a sample sent to foobar@hotmail.com

12/02/03 16:28:57 INFO  James.Mailet: RemoteDelivery: Remotely delivering mail Mail1045096137932-21
12/02/03 16:28:57 INFO  James.Mailet: RemoteDelivery: Sending mail to [foobar@hotmail.com] on host hotmail.com
12/02/03 16:28:58 INFO  James.Mailet: RemoteDelivery: Remote delivery thread (0) will process mail Mail1045096137932-21-to-hotmail.com
12/02/03 16:28:58 INFO  James.Mailet: RemoteDelivery: Attempting to deliver Mail1045096137932-21-to-hotmail.com
12/02/03 16:28:58 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx1.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:29:32 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:29:32 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx2.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:30:09 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:30:09 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx3.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:30:46 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:30:46 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx4.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:31:25 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:31:25 INFO  James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1045096137932-21-to-hotmail.com: javax.mail.MessagingException: Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:909)
	at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:897)
	at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:371)
	at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:245)
	at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:593)
	at java.lang.Thread.run(Unknown Source)

12/02/03 16:31:25 INFO  James.Mailet: RemoteDelivery: Storing message Mail1045096137932-21-to-hotmail.com into outgoing after 0 retries
12/02/03 16:33:25 INFO  James.Mailet: RemoteDelivery: Remote delivery thread (0) will process mail Mail1045096137932-21-to-hotmail.com
12/02/03 16:33:25 INFO  James.Mailet: RemoteDelivery: Attempting to deliver Mail1045096137932-21-to-hotmail.com
12/02/03 16:33:25 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx2.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:34:03 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:34:03 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx3.hotmail.com. to addresses [foobar@hotmail.com]
12/02/03 16:34:37 INFO  James.Mailet: RemoteDelivery: Exception delivering message (Mail1045096137932-21-to-hotmail.com) - Can't send command to SMTP host;
  nested exception is: 
	java.net.SocketException: Connection reset by peer: socket write error
12/02/03 16:34:37 INFO  James.Mailet: RemoteDelivery: Attempting delivery of Mail1045096137932-21-to-hotmail.com to host mx4.hotmail.com. to addresses [foobar@hotmail.com]





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


Re: Socket Error --> No RemoteDelivery

Posted by Serge Knystautas <se...@lokitech.com>.
gareth@shaw.ca wrote:
> Hopefully help is out there! 

Configure your DNS servers in config.xml.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. sergek@lokitech.com



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


RE: Socket Error --> No RemoteDelivery

Posted by "Noel J. Bergman" <no...@devtech.com>.
What happens if you:

  (a) connect directly without the Linksys?
  (b) disable all local anti-virus software?

Norton AV, for example, is known to foul things up.  They install in-line in
the TCP/IP stack, and connections time out while the stream is being
checked.

	--- Noel


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