Antivirus plugin for scanning files uploaded to Mattermost
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4fb5bf7 Nov 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
server Updating to use latest sample template. Oct 16, 2018
.gitignore Inital framework Jul 25, 2018
.travis.yml add travis and update makefile Nov 1, 2018
LICENSE Inital framework Jul 25, 2018
Makefile add travis and update makefile Nov 1, 2018 add travis badge Nov 8, 2018
plugin.json Tweak description. Jul 26, 2018

Mattermost Antivirus Plugin (Beta) Build Status

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+


  1. Go to the releases page of this Github repository and download the latest release for your Mattermost server.

  2. 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.

  3. Install ClamAV (clamd) for virus scanning. One option is to install with docker:

    docker run -d -p 3310:3310 mkodockx/docker-clamav
  4. 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.

  5. 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.