Roundcube Community Forum

 

how to set attachment size limit

Started by boxyball, December 30, 2014, 01:49:59 PM

Previous topic - Next topic

boxyball

hello,

How do I set/change attachment size limit for all users?
And how would I make exceptions for certain users?

I currently DO NOT have sendmail limiting message size at all.
And I set php to 5mb as follows:
upload_max_filesize = 5M
Yet I still see a message that my limit is 2mb when I attempt to send a 3mb attachment in Roundcube.

Thanks in advance.

SKaero

Make sure the limit is being applied to to Roundcube by checking the phpinfo() in the Roundcube directory. You may also need to change the post_max_size to support larger uploads.

boxyball


boxyball

Is it possible to make exceptions and have higher limits for certain users?  If so how?

SKaero

You have to make a plugin that would set the php limits per-session.