Author Topic: Attachment size limit?  (Read 142658 times)

Offline merlynx

  • Newbie
  • *
  • Posts: 1
Attachment size limit?
« Reply #15 on: June 18, 2008, 07:22:56 AM »
I received the maximum upload of 2m exceeded error and googled it and it landed me here.

Maybe I missed something - but I made the standard changes to the vanilla install for config files, and the error went away...

a) edited /etc/httpd/conf.d/roundcube.conf
...
php_value       upload_max_filesize     12M #default is 2M
...

b) edited /etc/php.ini
...
; Maximum size of POST data that PHP will accept.
post_max_size = 12M #default is 8M
...
; Maximum allowed size for uploaded files.
upload_max_filesize = 12M #default is 2M

Running
  centOS 5.1 x86_64
  apache2, php 5, mysql etc.

I don't think this plays into this - but I am using imapproxy for roundcube - which makes the application a lot more "peppy."
(http://imapproxy.org)

As far as "spiraling out of control..." - is there a measurable threshold?  Like say 8-12M or something?  As up to 3MB its been smooth sailing for me so far.  I'll try some larger files - I wonder if postfix/sendmail MTAs have anything to do with the stability of the product?

Food for thought.

Offline tct

  • Newbie
  • *
  • Posts: 1
Attachment size limit?
« Reply #16 on: May 26, 2011, 02:28:30 AM »
Quote from: merlynx;12632
I received the maximum upload of 2m exceeded error and googled it and it landed me here.

Maybe I missed something - but I made the standard changes to the vanilla install for config files, and the error went away...

a) edited /etc/httpd/conf.d/roundcube.conf

b) edited /etc/php.ini

You forgot about local .htaccess in rouncube directory.