attachment size limitation

Actions

From Charles Williams Jun 29, 2009 11:34 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey guys,

we are still having attachment size problems. we've tried with 4, 14 and 35 MB files and all are
dropped with the following error:

Exception in thread "org.subethamail.smtp.server.Session"
javax.ejb.TransactionRolledbackLocalException: java.lang.RuntimeException:
javax.mail.MessagingException: IOException;
  nested exception is:
	org.subethamail.common.io.LimitExceededException: Predicted size 10002432 exceeds limit 10000000
	at com.caucho.ejb3.xa.XAManager.commit(XAManager.java:247)
	at _ejb.Injector.InjectorBean__EJB$Injector__EJBLocal.inject(InjectorBean__EJB.java:268)
	at org.subethamail.core.smtp.OurDeliverer.deliver(OurDeliverer.java:34)
	at org.subethamail.core.smtp.SMTPHandler$Handler.data(SMTPHandler.java:140)
	at org.subethamail.smtp.command.DataCommand.execute(DataCommand.java:55)
	at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:72)
	at org.subethamail.smtp.server.Session.run(Session.java:114)
Caused by: com.caucho.transaction.RollbackExceptionWrapper: java.lang.RuntimeException:
javax.mail.MessagingException: IOException;
  nested exception is:
	org.subethamail.common.io.LimitExceededException: Predicted size 10002432 exceeds limit 10000000
	at com.caucho.transaction.TransactionImpl.commit(TransactionImpl.java:610)
	at com.caucho.transaction.TransactionManagerImpl.commit(TransactionManagerImpl.java:270)
	at com.caucho.jca.UserTransactionImpl.commit(UserTransactionImpl.java:437)
	at com.caucho.jca.UserTransactionProxy.commit(UserTransactionProxy.java:166)
	at com.caucho.ejb3.xa.XAManager.commit(XAManager.java:243)
	... 6 more
Caused by: java.lang.RuntimeException: javax.mail.MessagingException: IOException;
  nested exception is:
	org.subethamail.common.io.LimitExceededException: Predicted size 10002432 exceeds limit 10000000
	at org.subethamail.core.injector.InjectorBean.inject(InjectorBean.java:213)
	at _ejb.Injector.InjectorBean__EJB$Injector__EJBLocal.inject(InjectorBean__EJB.java:260)
	... 5 more
Caused by: javax.mail.MessagingException: IOException;
  nested exception is:
	org.subethamail.common.io.LimitExceededException: Predicted size 10002432 exceeds limit 10000000
	at javax.mail.internet.MimeMessage.parse(MimeMessage.java:340)
	at javax.mail.internet.MimeMessage.<init>(MimeMessage.java:209)
	at com.sun.mail.smtp.SMTPMessage.<init>(SMTPMessage.java:109)
	at org.subethamail.common.SubEthaMessage.<init>(SubEthaMessage.java:75)
	at org.subethamail.core.injector.InjectorBean.injectImpl(InjectorBean.java:258)
	at org.subethamail.core.injector.InjectorBean.inject(InjectorBean.java:190)
	... 6 more
Caused by: org.subethamail.common.io.LimitExceededException: Predicted size 10002432 exceeds limit
10000000
	at org.subethamail.common.io.LimitingInputStream.thresholdReached(LimitingInputStream.java:30)
	at org.subethamail.common.io.ThresholdingInputStream.checkThreshold(ThresholdingInputStream.java:146)
	at org.subethamail.common.io.ThresholdingInputStream.read(ThresholdingInputStream.java:93)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
	at com.sun.mail.util.ASCIIUtility.getBytes(ASCIIUtility.java:259)
	at javax.mail.internet.MimeMessage.parse(MimeMessage.java:338)
	... 11 more



chuck

- --
- - --
//
// IT- & Software-Systemhaus, Internet Service und Web Agentur
//
// Charles Williams, Sys/Sec Administrator, R&D, Proj. Man.
// PLANET IC GmbH, Haus 4, Hagenower Strasse 73, 19061 Schwerin
// Registergericht Schwerin HRB 6762, Geschäftsführer Andreas Scher
// Telefon 0385 30200 200, Telefax 0385 30200 190, Internet www.planet-ic.de
//
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpJseMACgkQ0RUDxJHrYt4wNACfTTeJYXDQxDqw67/Hs988ow4n
GyMAoLlZMsgsDdxbDFw7LmYMsDYRhpR+
=RZ4G
-----END PGP SIGNATURE-----

Thread History