Hi,
I've configured the size limit at 2MB. When I used a client mail to send a message 
with an attach file > 2M I received an exception in the SMTPserver log file:
...
1020757770037 [INFO   ] (smtpserver): Command received: DATA
1020757770047 [DEBUG  ] (smtpserver): Using SizeLimitedInputStream  with max message 
size: 2048000
1020757785289 [DEBUG  ] (smtpserver): Exception opening socket: Unable to retrieve the 
data: Message size exceeds fixed maximum message size.
java.lang.RuntimeException: Unable to retrieve the data: Message size exceeds fixed 
maximum message size.
        at 
org.apache.james.core.MimeMessageInputStreamSource.<init>(MimeMessageInputStreamSource.java:48)
        at org.apache.james.core.MailImpl.<init>(MailImpl.java:59)
        at org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:603)
        at org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:248)
        at 
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:163)
        at 
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connection.java:167)
        at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)

and the client lost the connexion with the server.

It worked fine with James 2.02a.
Anyone has an idea?
Thanks,
Conan.

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

Reply via email to