Mattermost-server: Document how to set the max file size in the clamav docker image.

Created on 30 Aug 2019  路  4Comments  路  Source: mattermost/mattermost-server

The default max file size for clamav is lower then the default max file size for Mattermost. This leads to a lot of reported issues where the antivirus plugin will reject files that are larger then 25MB, the default max size for clamav.

Documentation should be created and added to the installation process to increase the max file size in the clamav docker container to match the max file size in Mattermost. Ideally this would be as simple as possible.


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-18028

AreIntegrations Easy DocNeeded Help Wanted PR Exists TecDevOps

All 4 comments

@crspeller Should this be in the antivirus plugin repo because it requires changes there?

Yes but we have not setup easy paths to find them yet, so I think this is OK here for now.

I would like to be assigned this issue.
Thanks.

Mattermost supports a maximum of five (5) attached files per post. The default maximum file size is 50 MB, but this can be changed by the System Admin.

During installation the docker MaxFileSize parameter should be set to 50 MB.

docker run -e CLAMD_CONF_MaxFileSize=50M -d -p 3310:3310 mkodockx/docker-clamav

Was this page helpful?
0 / 5 - 0 ratings