Hi Stefano, > this happens when the SMTP server receive a new mail from a remote > client. When the DATA command is received the SMTP server opens a > temporary file and start streaming the mail content to this file. > > The "Exception opening socket: null" probably happens because the > connection is no more available in the mean time Just a guess: Maybe the problem is that JAMES can't open the temporary file. Maybe somewhere files are left open until it hits some system limit?
Well, I tried delivering a mail manually with telnet. The connection is definately closed prematurely by JAMES. Here is what happened: *** snip *** # telnet localhost 10025 Trying 127.0.0.1... Connected to nospamv3.net4you.at. Escape character is '^]'. 220 nospamv3 SMTP Server (JAMES SMTP Server 2.3.1) ready Fri, 28 Sep 2007 09:50:02 +0200 (CEST) ehlo localhost 250-nospamv3 Hello localhost (nospamv3.net4you.at [127.0.0.1]) 250-PIPELINING 250 ENHANCEDSTATUSCODES mail from: <[EMAIL PROTECTED]> 250 2.1.0 Sender <[EMAIL PROTECTED]> OK rcpt to: <[EMAIL PROTECTED]> 250 2.1.5 Recipient <[EMAIL PROTECTED]> OK data 354 Ok Send data ending with <CRLF>.<CRLF> subject: testing 123 testing Connection closed by foreign host. *** snip *** > Often this kind of error is caused by something else going wrong, and it > is difficult to track if nothing else can be found. Well, i looked over the log files and couldn't find anything particularly interesting (besides the exception). I can send them over to you privately if you wanna analyze them yourself. > From your message I understand that once James Server starts throwing > this exception the only solution is to restart it because every > connection ends in this exception raised, right? Correct. After restarting everything is fine again. > Can you run a "netstat -n" and a "jstack <jamespid>" when it happens, to > understand what the server is doing and what are the active connections? Will do this next time when the problem happens. I'll report back to the list then. thanks, Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
