This plugin allows the forwarding of uploaded files to an antivirus application. Use it to scan for viruses before uploading a file to Mattermost.
Currently the plugin supports ClamAV anti-virus software across browser, Desktop Apps and the Mobile Apps.
Supported Mattermost Server Versions: 5.2+
Go to the releases page of this Github repository and download the latest release for your Mattermost server.
Upload this file in the Mattermost System Console under System Console > Plugins > Management to install the plugin. To learn more about how to upload a plugin, see the documentation.
Install ClamAV (clamd) for virus scanning. One option is to install with docker:
docker run -d -p 3310:3310 mkodockx/docker-clamav
Once clamd is running, configure the plugin to make requests to your clamd instance. Go to System Console > Plugins > Antivirus and configure Clamav Host and Port to point at your clamd instance.
Activate the plugin at System Console > Plugins > Management.
You're all set! All file uploads on the system are now scanned for viruses by ClamAV.
To test your configuration is correct, create an EICAR test file and upload it. The file should be rejected.