Limit File size for internal Uploads

Infos:

  • Used Zammad version: 6.5.2
  • Used Zammad installation type: package
  • Operating system: ubuntu 24.04
  • Browser + version:

Hi,

I can setup the maximal Mail size. That is fine.
But our agents often upload 10MB Files inside Zammad that take space forever.
Can I block this or give it a maximum of 1MB, as we are sharing bigger files with nextcloud?

I guess you’re using nginx?

In case of Zammad that would be in /etc/nginx/sites-enabled/zammad.conf

There I could change the MAX BODY SIZE.
But if I change that value to 1MB, would there be no other consequenses?

1MB is quite strict, I’d do about 3-5MB so users can still upload small excel files and stuff

Why is 10 MB such a big problem? I doubt that every ticket article will be sent with many “bigger” attachments…?

I wouldn’t go below a body size of 10 MB, keep in mind that it’s also relevant for the article body itself. Sometimes base64 encoded content might be sent via the body. Going too low will be an issue.

1 Like