Roundcube Community Forum

 

Attachment size limit?

Started by hviid, December 16, 2007, 10:58:06 AM

Previous topic - Next topic

merlynx

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.

tct

Quote from: merlynx;12632I 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.