Re: attachment size limitation
From
Charles Williams
Jun 29, 2009 11:48 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
well, just finished a google search regarding this and it seems to be the same error/bug that was
first reported back in 2007. which impacts all mail whether imported into the archives or newly sent
messages.
this is also the same problem that I reported a while back. and am currently catching hell for here.
am wondering why a hardlimit was set at all. something like this should automatically be configurable.
http://www.subethamail.org/se/archive_msg.jsp?msgId=25608
ok. rant over. ;)
has been a rather crappy morning here.
chuck
Charles Williams wrote:
> almost forgot.
>
> am using the new 2.0 version of subetha. ;)
>
> why can't we have an attachment size limit setting in the subetha config? would make a bit more
> sense if you asked me.
>
> chuck
>
> Charles Williams wrote:
>> 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
>
> _______________________________________________
> SubEtha Users mailing list
> users@subethamail.org
> http://www.subethamail.org/se/list/users
> http://www.subethamail.org/se/archive_msg.jsp?msgId=50412
>
_______________________________________________
SubEtha Users mailing list
users@subethamail.org
http://www.subethamail.org/se/list/users
http://www.subethamail.org/se/archive_msg.jsp?msgId=50413
- --
- - --
//
// 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
iEYEARECAAYFAkpJtT8ACgkQ0RUDxJHrYt46WwCfbwo3gjl9b0rllg6RfMoKCYiD
mDQAoJO4TLD/ngp9+CT1J0OBZivc9kSR
=Pp9w
-----END PGP SIGNATURE-----
Thread History