How to limit attach file size on App Suite

Hi dear
I just want to limit attach size on App Suite form 100Mb to 10Mb
I edit UCR ox/cfg/attachment.properties/MAX_UPLOAD_SIZE and restart server but the limitation still 100Mb
Thank you
best regards

[quote=“khampasith”]Hi dear
I just want to limit attach size on App Suite form 100Mb to 10Mb
I edit UCR ox/cfg/attachment.properties/MAX_UPLOAD_SIZE and restart server but the limitation still 100Mb
[/quote]

So you are trying to limit mail attachments?

Enforcement for that should be done in first place on SMTP level probably. If you want it only for the webinterface it would need to be set via user configuration.
Check “changeuser --extendedoptions” which leads to --uploadfilesizelimit which is the setting used for mail attachments.

attachment.properties is meant for groupware object attachments only.

[quote=“woro”][quote=“khampasith”]Hi dear
I just want to limit attach size on App Suite form 100Mb to 10Mb
I edit UCR ox/cfg/attachment.properties/MAX_UPLOAD_SIZE and restart server but the limitation still 100Mb
[/quote]

So you are trying to limit mail attachments?

Enforcement for that should be done in first place on SMTP level probably. If you want it only for the webinterface it would need to be set via user configuration.
Check “changeuser --extendedoptions” which leads to --uploadfilesizelimit which is the setting used for mail attachments.

attachment.properties is meant for groupware object attachments only.[/quote]

I just edit server.properties in /opt/open-xchange/etc
And it work for me

Mastodon