Kaspersky Anti-Virus

MailCleaner Support
Added 4 months ago

Installation

Please contact MailCleaner support to have the Kaspersky add-on option installed.

Disable (and Remove)

If you no longer wish to use Kaspersky, you can remove it as follows.

First, disable it as a virus scanner on the master host:

echo 'delete from antivirus where scanners = "kaspersky";' | mc_mysql -m mc_config
echo 'update scanner set active = 0 where name = "kaspersky";' | mc_mysql -m mc_config

Then, stop the service on each host:

/usr/mailcleaner/etc/init.d/kaspersky stop

and restart MailScanner on each:

/usr/mailcleaner/etc/init.d/mailscanner restart

Next, if you would like to remove the package completely:

apt-get remove kaspersky-*

Remove unnecessary files if they still exist:

rm -rf /opt/kaspersky*