How can I disable or remove ClamAV and keep using Warden without anti-virus scanning?

To Disable Anti-virus Scanning in Amavis

  1. Go to Warden -> Settings -> Content Filter Settings -> Scanning Settings.
  2. Set the Scanner template and Scanner backup template to None.
  3. Press the Update button to save the changes.

Scanner Settings

To Disable the ClamAV Daemon

You can disable the ClamAV daemon if you want to free up memory (make sure that no other programs depend on it before disabling it).

Centos/RHEL/CloudLinux/AlmaLinux

systemctl stop clamd@scan
systemctl stop clamav-freshclam
systemctl disable clamd@scan
systemctl disable clamav-freshclam
systemctl mask clamd@scan
systemctl mask clamav-freshclam

Debian/Ubuntu

systemctl stop clamav-daemon
systemctl stop clamav-freshclam
systemctl disable clamav-daemon
systemctl disable clamav-freshclam
systemctl mask clamav-daemon
systemctl mask clamav-freshclam

To Uninstall the ClamAV Daemon Completely

You can uninstall the ClamAV daemon if you want plan to not use it in the future (make sure that no other programs depend on it before uninstalling it).

Centos/RHEL/CloudLinux/AlmaLinux/RockyLinux

Note: We add the --no-deps option otherwise removing the clamd packages will also remove the Amavis because of a soft dependency

rpm -e --nodeps clamav clamav-data clamav-filesystem clamav-lib clamav-update clamd

Debian/Ubuntu

apt-get remove clamav clamav-base clamav-daemon clamav-freshclam
  • disable, clamav, uninstall
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change the interface language of the extension?

You can change the interface language under Settings -> Application Settings -> Locale...

How can I disable admin email notifications in Amavis?

Amavis has different default options for controlling where virus, spam, banned file attachments,...

How can I whitelist or blacklist a mail server from greylisting?

To Whitelist a Mail Server From Greylisting Navigate to Warden -> Settings ->...

How can I enable third party anti-virus signatures within Warden to improve the ClamAV detection rate?

Warden supports enabling third party anti-virus signatures to improve the detection rate. These...

How can I setup a local caching DNS resolver to speed up DNS queries used by Amavis?

Run the following command to check if local DNS caching is enabled: host -tTXT...