There is an error on the JAMES Server side.
You should look for logfiles in the <james>/apps/james/logs/ folder for
the smtpserver logs.
You should have something like:
"Unknown error occurred while processing DATA." and a stacktrace. We
need that stack trace.
Btw the problem seems to be related with the temporary location james
store messages while they are being received.
We use "File.createTempFile" for this, maybe you have problems with your
system temporary folder?
Here is the javadoc for the createTempFile:
----
The default temporary-file directory is specified by the system property
java.io.tmpdir. On UNIX systems the default value of this property is
typically "/tmp" or "/var/tmp"; on Microsoft Windows systems it is
typically "C:\\WINNT\\TEMP". A different value may be given to this
system property when the Java virtual machine is invoked, but
programmatic changes to this property are not guaranteed to have any
effect upon the temporary directory used by this method.
-----
Stefano
Hi, here's the stack trace:
---Start--------------------------------------------------------------------------------------------------------
INFO smtpserver: Connection from localhost (127.0.0.1)
ERROR smtpserver: Unknown error occurred while processing DATA.
javax.mail.MessagingException: Unable to retrieve the data: The system
cannot find the path
specified;
nested exception is:
java.io.IOException: The system cannot find the path
specified
at org.apache.james.core.MimeMessageInputStreamSource.<init>(
MimeMessageInputStreamSource.java:101)
at org.apache.james.core.MailImpl.<init>(MailImpl.java:181)
at
org.apache.james.smtpserver.DataCmdHandler.processMail(DataCmdHandler.java:266)
at
org.apache.james.smtpserver.DataCmdHandler.doDATA(DataCmdHandler.java:133)
at
org.apache.james.smtpserver.DataCmdHandler.onCommand(DataCmdHandler.java:81)
at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:393)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(
ServerConnection.java:432)
at
org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:
55)
at
org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at org.apache.james.core.MimeMessageInputStreamSource.<init>(
MimeMessageInputStreamSource.java:75)
... 8 more
---End--------------------------------------------------------------------------------------------------------
I'm using JRE 1.6.0 only. I have write access to my C:\WINDOWS\TEMP. Don't
know what i'm missing.
Please help. Thanks!
-Jacky
_________________________________________________________________
Find singles online in your area with MSN Dating and Match.com!
http://cp.intl.match.com/eng/msn/msnmy/wbc/wbc.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]